code: func (p Property) GetJSONPrimitiveType() string {
  
  	if p.IsPrimitive() {
  		return convertTypeToJSON(p.PrimitiveType)
  	}
  
  	if p.IsMap() && p.IsMapOfPrimitives() {
  		return convertTypeToJSON(p.PrimitiveItemType)
  	}
  
  	if p.IsList() && p.IsListOfPrimitives() {
  		return convertTypeToJSON(p.PrimitiveItemType)
  	}
  
  	return "unknown"
  
  }
docs: // GetJSONPrimitiveType returns the correct primitive property type for a JSON Schema.
  // If the property is a list/map, then it will return the type of the items.