Last active
November 22, 2017 13:27
-
-
Save fletcher/cd2aebedb2e337188a83ac7b00002b86 to your computer and use it in GitHub Desktop.
JSON Schema to validate an expansion file for MultiMarkdown Composer
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
{ | |
"comment" : "JSON Schema to validate an expansions file for MultiMarkdown Composer", | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "expansions", | |
"type": "object", | |
"properties" : { | |
"comment" : { "type" : "string" }, | |
"expansions" : { | |
"type" : "array", | |
"items" : { | |
"type" : "object", | |
"properties" : { | |
"comment" : { "type" : "string" }, | |
"key" : { "type" : "string" }, | |
"expansion" : { "type" : "string" } | |
}, | |
"additionalProperties" : false, | |
"required": [ | |
"key", | |
"expansion" | |
] | |
} | |
} | |
}, | |
"required": [ | |
"expansions" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment