Created by
Armin Engesser
| {
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://siobra.de/formgen/form#",
"type": "object",
"required": [
"id",
"title",
"properties"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"properties": {
"type": "array",
"items": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/property"
}
]
}
}
},
"definitions": {
"property": {
"type": "object",
"required": [
"id",
"title",
"type"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"row": {
"type": "integer"
},
"column": {
"type": "integer"
},
"maxLength": {
"type": "integer",
"minimum": 0
},
"placeholder": {
"type": "string"
},
"validationMessage": {
"type": "string"
},
"readOnly": {
"type": "boolean"
},
"validationRules": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
|