code: func (t *Type) postProcess(name string, apiDef *APIDefinition) error {
  	t.Name = name
  	t._apiDef = apiDef
  
  	if t.IsJSONType() {
  		return t.postProcessJSONSchema()
  	}
  
  	// process type in properties
  	for name := range t.Properties {
  		t.parseOptionalProperty(name)
  		t.createTypeFromPropProperty(name, apiDef)
  		t.createTypeFromPropItems(name, apiDef)
  	}
  	return nil
  }
docs: // see if the 'Type' field is a JSON schema