Last active
August 30, 2018 12:13
-
-
Save NicCOConnor/ea83849c5c3dd0d384e8697cdf6b4f3a 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
"{ | |
"required": [ | |
"palette", | |
"element_type", | |
"mixins", | |
"name", | |
"icon" | |
], | |
"type": "object", | |
"properties": { | |
"palette": { | |
"type": "string", | |
"format": "uuid", | |
"title": "Palette", | |
"widget": { | |
"id": "string" | |
} | |
}, | |
"element_type": { | |
"title": "Element type", | |
"type": "string", | |
"enum": [ | |
"Topology", | |
"Node" | |
], | |
"widget": { | |
"id": "string" | |
} | |
}, | |
"mixins": { | |
"description": "Mixin classes that provide validation and context for a Stencil.", | |
"title": "mixins", | |
"type": "array", | |
"items": { | |
"type": "string", | |
"enum": [ | |
"VirtualMachine", | |
"VirtualNetwork", | |
"NetworkingTopology", | |
"Windows", | |
"Ubuntu", | |
"Alpine", | |
"FreeBSD", | |
"Linux", | |
"STEP" | |
], | |
"widget": { | |
"id": "string" | |
} | |
}, | |
"widget": { | |
"id": "array" | |
} | |
}, | |
"name": { | |
"title": "Name", | |
"description": "Stencil name", | |
"type": "string", | |
"maxLength": 100, | |
"minLength": 1, | |
"widget": { | |
"id": "string" | |
} | |
}, | |
"icon": { | |
"title": "Icon", | |
"description": "URL to icon to display for Stencil and associated graph elements", | |
"type": "string", | |
"format": "uri", | |
"maxLength": 200, | |
"minLength": 1, | |
"widget": { | |
"id": "string" | |
} | |
}, | |
"hidden": { | |
"title": "Hidden", | |
"description": "True if Stencil should not be visible in Palette", | |
"type": "boolean", | |
"widget": { | |
"id": "boolean" | |
} | |
} | |
} | |
}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment