code: def object_to_schema(obj, **options):
      
      (typemap, strict) = _process_options(**options)
  
      props = dict((k, gen_schema(v, **options)) for k, v in obj.items())
      scm = dict(type=typemap[dict], properties=props)
      if strict:
          scm["required"] = sorted(props.keys())
  
      return scm
docs: Generate a node represents JSON schema object with type annotation added
      for given object node.
  
      :param obj: mapping object such like a dict
      :param options: Other keyword options such as:
  
          - ac_schema_strict: True if more strict (precise) schema is needed
          - ac_schema_typemap: Type to JSON schema type mappings
  
      :yield: Another mapping objects represents JSON schema of object