Function to convert a form definition into an JSON-Schema object
Pretty simple. I need to export a form def as a JSON-Schema object.
Started working on this already and it is a static method on the Hazaar\Forms\Model
class that converts a form def stdClass
object into a JSON-Schema stdClass
object.