Created
September 13, 2013 19:03
-
-
Save ghalimi/6554718 to your computer and use it in GitHub Desktop.
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": "Chart Definition Schema", | |
"type": "object", | |
"properties": { | |
"dimensions": { | |
"type": "array", | |
"stc_name": "Dimensions", | |
"stc_description": "Dimensions of the chart.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1, | |
"items": { | |
"type": "object", | |
"properties": { | |
"stc_name": { | |
"stc_datatype": "stc_string", | |
"stc_name": "Name", | |
"stc_description": "Name of the dimension.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1 | |
}, | |
"stc_identifier": { | |
"stc_datatype": "stc_identifier", | |
"stc_name": "Identifier", | |
"stc_description": "Identifier of the dimension.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 2 | |
}, | |
"stc_datatype": { | |
"stc_datatype": "stc_relationship", | |
"stc_name": "Datatype", | |
"stc_description": "Datatype of the dimension.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 3, | |
"stc_options": { | |
"stc_target_object": "stc_datatype", | |
"stc_identifier": true | |
} | |
}, | |
"stc_family": { | |
"stc_datatype": "stc_relationship", | |
"stc_name": "Family", | |
"stc_description": "Family of the dimension.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 4, | |
"stc_options": { | |
"stc_target_object": "stc_family", | |
"stc_identifier": true | |
} | |
}, | |
"stc_required": { | |
"stc_datatype": "stc_boolean", | |
"stc_name": "Required", | |
"stc_description": "Whether the dimension is required by the perspective.", | |
"stc_default": false, | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 5 | |
}, | |
"stc_priority": { | |
"stc_datatype": "stc_number", | |
"stc_name": "Priority", | |
"stc_description": "Priority of the dimension.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 6 | |
} | |
} | |
} | |
}, | |
"parameters": { | |
"type": "array", | |
"stc_name": "Parameters", | |
"stc_description": "Parameters of the chart.", | |
"stc_required": false, | |
"stc_advanced": true, | |
"stc_position": 2, | |
"items": { | |
"type": "object", | |
"properties": { | |
"stc_name": { | |
"stc_datatype": "stc_string", | |
"stc_name": "Name", | |
"stc_description": "Name of the dimension.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1 | |
}, | |
"stc_identifier": { | |
"stc_datatype": "stc_identifier", | |
"stc_name": "Identifier", | |
"stc_description": "Identifier of the dimension.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 2 | |
}, | |
"stc_datatype": { | |
"stc_datatype": "stc_relationship", | |
"stc_name": "Datatype", | |
"stc_description": "Datatype of the dimension.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 3, | |
"stc_options": { | |
"stc_target_object": "stc_datatype", | |
"stc_identifier": true | |
} | |
}, | |
"stc_family": { | |
"stc_datatype": "stc_relationship", | |
"stc_name": "Family", | |
"stc_description": "Family of the dimension.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 4, | |
"stc_options": { | |
"stc_target_object": "stc_family", | |
"stc_identifier": true | |
} | |
}, | |
"stc_required": { | |
"stc_datatype": "stc_boolean", | |
"stc_name": "Required", | |
"stc_description": "Whether the dimension is required by the perspective.", | |
"stc_default": false, | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 5 | |
}, | |
"stc_default": { | |
"type": "any", | |
"stc_name": "Default", | |
"stc_description": "Default value of the parameter.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 6 | |
} | |
} | |
} | |
}, | |
"history": { | |
"type": "object", | |
"stc_name": "History", | |
"stc_description": "Definition of the chart's historical dual.", | |
"stc_required": false, | |
"stc_advanced": true, | |
"stc_position": 3, | |
"properties": { | |
"stc_widget": { | |
"stc_datatype": "stc_relationship", | |
"stc_name": "Widget", | |
"stc_description": "Widget used to display the historical dual.", | |
"stc_required": true, | |
"stc_advanced": false, | |
"stc_position": 1, | |
"stc_options": { | |
"stc_target_object": "stc_widget", | |
"stc_identifier": true | |
} | |
}, | |
"stc_parameters": { | |
"stc_datatype": "stc_json", | |
"stc_name": "Parameters", | |
"stc_description": "Parameters of the historical dual.", | |
"stc_required": false, | |
"stc_advanced": false, | |
"stc_position": 2 | |
} | |
} | |
}, | |
"title": { | |
"stc_datatype": "stc_string", | |
"stc_name": "Title", | |
"stc_description": "Title of the chart.", | |
"stc_required": false, | |
"stc_advanced": true, | |
"stc_position": 4 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment