inputEx.JsonSchema.Builder doesn't handle a json-schema without
a top-level type property. It builds a
form with a single textbox instead.
Adding a type property allows the
form to generate properly, but the "type" property is optional
according to the JSON-schema
spec.
The following schema exibits the problem when used with
JsonSchema.Builder.
{
"id": "Address",
"description": "Generic Address",
"properties": {
"address1": {
"type": "string",
"title": "Address"
},
"address2": {
"type": "string",
"optional": true,
"title": " "
},
"city": {
"type": "string",
"title": "City"
},
"state": {
"type": "string",
"title": "State",
"minLength": 2,
"maxLength": 2
},
"zip": {
"type": "string",
"title": "Zip Code"
}
}
}