Last active
December 22, 2015 23:09
-
-
Save ghalimi/6545350 to your computer and use it in GitHub Desktop.
Form Definition Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"copyright": "© Sutoiku, Inc. 2013", | |
"stc_schema": { | |
"title": "Form Definition Schema", | |
"type": "object", | |
"properties": { | |
"stc_default_tab": { | |
"stc_datatype": "stc_identifier", | |
"stc_name": "Default tab", | |
"stc_description": "Default tab displayed by the form.", | |
"stc_default": "stc_data", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 1 | |
}, | |
"stc_inherit": { | |
"stc_datatype": "stc_boolean", | |
"stc_name": "Inherit", | |
"stc_description": "Inherit layout of Bootstrap Form.", | |
"stc_default": true, | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 2 | |
}, | |
"stc_tabs": { | |
"type": "array", | |
"stc_name": "Tabs", | |
"stc_description": "Tabs defined by the form.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 3, | |
"items": { | |
"type": "object", | |
"properties": { | |
"stc_name": { | |
"stc_datatype": "stc_string", | |
"stc_name": "Name", | |
"stc_description": "Name of the tab.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1 | |
}, | |
"stc_identifier": { | |
"stc_datatype": "stc_identifier", | |
"stc_name": "Identifier", | |
"stc_description": "Identifier of the tab.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 2 | |
}, | |
"stc_icon": { | |
"stc_datatype": "stc_relationship", | |
"stc_name": "Icon", | |
"stc_description": "Icon of the tab.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 3, | |
"stc_options": { | |
"stc_target_object": "stc_icon", | |
"stc_identifier": true | |
} | |
}, | |
"stc_sections": { | |
"type": "array", | |
"stc_name": "Sections", | |
"stc_description": "Sections defined by the tab.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 4, | |
"items": { | |
"type": "object", | |
"properties": { | |
"stc_name": { | |
"stc_datatype": "stc_string", | |
"stc_name": "Name", | |
"stc_description": "Name of the section.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1 | |
}, | |
"stc_identifier": { | |
"stc_datatype": "stc_identifier", | |
"stc_name": "Identifier", | |
"stc_description": "Identifier of the section.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 2 | |
}, | |
"stc_hide_header": { | |
"stc_datatype": "stc_boolean", | |
"stc_name": "Hide header", | |
"stc_description": "Whether the section's header is hidden.", | |
"stc_default": false, | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 3 | |
}, | |
"stc_columns": { | |
"type": "array", | |
"stc_name": "Columns", | |
"stc_description": "Columns defined by the section.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 4, | |
"items": { | |
"type": "object", | |
"properties": { | |
"stc_identifier": { | |
"stc_datatype": "stc_identifier", | |
"stc_name": "Identifier", | |
"stc_description": "Identifier of the field displayed in the section.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1 | |
}, | |
"stc_hide_label": { | |
"stc_datatype": "stc_boolean", | |
"stc_name": "Hide label", | |
"stc_description": "Whether the field's label is hidden.", | |
"stc_default": false, | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 2 | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment