code: func ParseSchemaWithRegistry(rawSchema string, schemas map[string]Schema) (Schema, error) {
  	var schema interface{}
  	if err := json.Unmarshal([]byte(rawSchema), &schema); err != nil {
  		schema = rawSchema
  	}
  
  	return schemaByType(schema, schemas, "")
  }
docs: // ParseSchemaWithRegistry parses a given schema using the provided registry for type lookup.
  // Registry will be filled up during parsing.
  // May return an error if schema is not parsable or has insufficient information about any type.