Skip to content

Instantly share code, notes, and snippets.

@ghalimi
Last active January 2, 2016 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghalimi/8320731 to your computer and use it in GitHub Desktop.
Save ghalimi/8320731 to your computer and use it in GitHub Desktop.
{
"stc_schema": {
"title": "Controller Schema",
"type": "object",
"properties": {
"stc_model": {
"stc_datatype": "stc_json",
"stc_name": "Model",
"stc_description": "Model of the page.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 1,
"stc_options": {
"stc_schema": {
"title": "Property Schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"stc_name": {
"stc_datatype": "stc_string",
"stc_name": "Name",
"stc_description": "Name of the scope property.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 1
},
"stc_identifier": {
"stc_datatype": "stc_identifier",
"stc_name": "Identifier",
"stc_description": "Identifier of the scope property.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 2
},
"stc_description": {
"stc_datatype": "stc_string",
"stc_name": "Description",
"stc_description": "Description of the scope property.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 3
},
"stc_expression": {
"stc_datatype": "stc_formula",
"stc_name": "Expression",
"stc_description": "Expression for the scope property.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 4
}
}
}
}
}
},
"stc_event_handlers": {
"stc_datatype": "stc_json",
"stc_name": "Event Handlers",
"stc_description": "Event handlers for the page.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 1,
"stc_options": {
"stc_schema": {
"title": "Event Handler Schema",
"type": "array",
"items": {
"type": "object",
"properties": {
"stc_name": {
"stc_datatype": "stc_string",
"stc_name": "Name",
"stc_description": "Name of the event handler.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 1
},
"stc_identifier": {
"stc_datatype": "stc_identifier",
"stc_name": "Identifier",
"stc_description": "Identifier of the event handler.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 2
},
"stc_description": {
"stc_datatype": "stc_string",
"stc_name": "Description",
"stc_description": "Description of the event handler.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 3
},
"stc_input_schema": {
"stc_datatype": "stc_json",
"stc_name": "Input schema",
"stc_description": "Schema for the input of the event handler.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 4,
"stc_options": {
"stc_schema_reference": "FIELD('stc_setting', 'b2b35134-39b9-466d-9ba7-d9a953d86976', 'stc_value')"
}
},
"stc_actions": {
"type": "array",
"stc_name": "Actions",
"stc_description": "Actions executed by the event handler.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 5,
"items": {
"type": "object",
"properties": {
"stc_name": {
"stc_datatype": "stc_string",
"stc_name": "Name",
"stc_description": "Name of the action.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 1
},
"stc_identifier": {
"stc_datatype": "stc_identifier",
"stc_name": "Identifier",
"stc_description": "Identifier of the action.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 2
},
"stc_description": {
"stc_datatype": "stc_string",
"stc_name": "Description",
"stc_description": "Description of the action.",
"stc_required": false,
"stc_advanced": false,
"stc_position": 3
},
"stc_expression": {
"stc_datatype": "stc_formula",
"stc_name": "Expression",
"stc_description": "Expression for the action.",
"stc_required": true,
"stc_advanced": false,
"stc_position": 4
}
}
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment