Skip to content

Instantly share code, notes, and snippets.

@benoror
Created April 8, 2015 15:21
Show Gist options
  • Save benoror/213618f28cba18c19b0d to your computer and use it in GitHub Desktop.
Save benoror/213618f28cba18c19b0d to your computer and use it in GitHub Desktop.
"schema": {
"type": "object",
"title": "CONTROLS_Basic",
"properties": {
"Id": {
"title": "Id",
"type": "string",
"required": true,
"maxLength": 10,
"format": "",
"pattern": ""
},
"ShortTextField": {
"title": "Short Text Field",
"type": "string",
"maxLength": 255,
"format": "",
"pattern": ""
},
"IntegerReq": {
"title": "Integer Req",
"type": "integer",
"required": true,
"maxLength": 10,
"format": "",
"pattern": ""
},
"Float": {
"title": "Float",
"type": "number",
"format": "",
"pattern": ""
},
"Boolean": {
"title": "Boolean",
"type": "boolean",
"format": "",
"pattern": ""
},
"Money": {
"title": "Money",
"type": "number",
"maxLength": 15,
"format": "",
"pattern": ""
},
"Date": {
"title": "Date",
"type": "string",
"format": "date",
"pattern": ""
},
"LongText": {
"title": "Long Text",
"type": "string",
"maxLength": 2147483647,
"format": "",
"pattern": ""
}
}
},
"form": [
{
"type": "tabs",
"tabs": [
{
"title": "General",
"items": [
{
"key": "ShortTextField",
"type": "text",
"placeholder": " ",
"titleMap": [
],
"options": {
}
},
{
"key": "IntegerReq",
"type": "number",
"placeholder": " ",
"titleMap": [
],
"options": {
}
},
{
"key": "Float",
"type": "number",
"placeholder": " ",
"titleMap": [
],
"options": {
}
}
{
"key": "Boolean",
"type": "checkbox",
"placeholder": " ",
"titleMap": [
],
"options": {
}
}
]
},
{
"title": "Otros",
"items": [
{
"key": "Money",
"type": "number",
"placeholder": " ",
"titleMap": [
],
"options": {
}
},
{
"key": "Date",
"type": "datepicker",
"placeholder": " ",
"titleMap": [
],
"options": {
}
},
{
"key": "LongText",
"type": "textarea",
"placeholder": " ",
"titleMap": [
],
"options": {
}
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment