code: def add_object(self, obj):
          
  
          # delegate to SchemaType object
          schema_generator = self._get_generator_for_object(obj)
          schema_generator.add_object(obj)
  
          # return self for easy method chaining
          return self
docs: Modify the schema to accommodate an object.
  
          arguments:
          * `obj` (required - `dict`):
            a JSON object to use in generating the schema.