Last active
November 10, 2016 03:39
-
-
Save chyyran/59e8e2167da48bed40ae2b54c1ee999a to your computer and use it in GitHub Desktop.
Snowflake Configuration Schema
This file contains hidden or 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
{ | |
"MyConfig": { | |
"values": { | |
"BooleanValue": { | |
"value": true, | |
"guid": "0000-0000-0000-0000" | |
}, | |
"StringValue": { | |
"value": "String", | |
"guid": "0000-0000-0000-0000" | |
}, | |
"PathValue": { | |
"value": "C:\\Some\\Path.rom", | |
"guid": "0000-0000-0000-0000" | |
}, | |
"IntValue": { | |
"value": 10, | |
"guid": "0000-0000-0000-0000" | |
}, | |
"DoubleValue": { | |
"value": "String", | |
"guid": "0000-0000-0000-0000" | |
}, | |
"SelectionValue": { | |
"value": 3, | |
"guid": "0000-0000-0000-0000" | |
} | |
}, | |
"options": { | |
"BooleanValue": { | |
"Default": true, | |
"DisplayName": "Some Stirng Value", | |
"Description": "Some Boolean Value", | |
"Simple": true, | |
"CustomMetadata": { | |
"metadata": "value" | |
}, | |
"Type": "boolean" | |
}, | |
"StringValue": { | |
"Default": "Some String", | |
"DisplayName": "String Value", | |
"Description": "String Value", | |
"Simple": false, | |
"CustomMetadata": { | |
"metadata": "value" | |
}, | |
"Type": "string" | |
}, | |
"PathValue": { | |
"Default": "approot:\\Some\\Path", | |
"Description": "Some Path", | |
"Simple": false, | |
"CustomMetadata": { | |
"metadata": "value" | |
}, | |
"Type": "path" | |
}, | |
"DoubleValue": { | |
"Default": 1, | |
"DisplayName": "Some Double", | |
"Description": "Some Path", | |
"Simple": false, | |
"Max": 10, | |
"Min": 1, | |
"Increment": 0.1, | |
"CustomMetadata": { | |
"metadata": "value" | |
}, | |
"Type": "double" | |
}, | |
"IntValue": { | |
"Default": 1, | |
"DisplayName": "Some Int", | |
"Description": "Some Path", | |
"Simple": true, | |
"Max": 10, | |
"Min": 1, | |
"Increment": 1, | |
"CustomMetadata": { | |
"metadata": "value" | |
}, | |
"Type": "integer" | |
}, | |
"SelectionValue": { | |
"Default": 0, | |
"DisplayName": "Some Enum Value", | |
"Description": "Some Path", | |
"Simple": true, | |
"CustomMetadata": { | |
"metadata": "value" | |
}, | |
"Type": "selection" | |
} | |
}, | |
"selections": { | |
"SelectionValue": [{ | |
"DisplayName": "ValueOne", | |
"Private": false | |
}, { | |
"DisplayName": "ValueTwo", | |
"Private": true | |
}, { | |
"DisplayName": "ValueThree", | |
"Private": false | |
}] | |
} | |
} | |
} |
This file contains hidden or 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
values: | |
BooleanValue: | |
value: true | |
guid: 0000-0000-0000-0000 | |
StringValue: | |
value: "String" | |
guid: 0000-0000-0000-0000 | |
PathValue: | |
value: "C:\\Some\\Path.rom" | |
guid: 0000-0000-0000-0000 | |
IntValue: | |
value: 10 | |
guid: 0000-0000-0000-0000 | |
DoubleValue: | |
value: "String" | |
guid: 0000-0000-0000-0000 | |
SelectionValue: | |
value: 3 #EnumValue.3 | |
guid: 0000-0000-0000-0000 | |
options: | |
BooleanValue: | |
Default: true | |
DisplayName: "Some Stirng Value" | |
Description: "Some Boolean Value" | |
Simple: true | |
CustomMetadata: | |
metadata: "value" | |
Type: "boolean" | |
StringValue: | |
Default: "Some String" | |
DisplayName: "String Value" | |
Description: "String Value" | |
Simple: false | |
CustomMetadata: | |
metadata: "value" | |
Type: "string" | |
PathValue: | |
Default: "approot:\\Some\\Path" | |
Description: "Some Path" | |
Simple: false | |
CustomMetadata: | |
metadata: "value" | |
Type: "path" | |
DoubleValue: | |
Default: 1.0 | |
DisplayName: "Some Double" | |
Description: "Some Path" | |
Simple: false | |
Max: 10.0 | |
Min: 1.0 | |
Increment: 0.1 | |
CustomMetadata: | |
metadata: "value" | |
Type: "double" | |
IntValue: | |
Default: 1 | |
DisplayName: "Some Int" | |
Description: "Some Path" | |
Simple: true | |
Max: 10 | |
Min: 1 | |
Increment: 1 | |
CustomMetadata: | |
metadata: "value" | |
Type: "integer" | |
SelectionValue: | |
Default: 0 | |
DisplayName: "Some Enum Value" | |
Description: "Some Path" | |
Simple: true | |
CustomMetadata: | |
metadata: "value" | |
Type: "selection" | |
selections: | |
SelectionValue: | |
- DisplayName: "ValueOne" | |
Private: false | |
- DisplayName: "ValueTwo" | |
Private: true | |
- DisplayName: "ValueThree" | |
Private: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment