Last active
April 10, 2020 02:15
-
-
Save nogic1008/a8f29e83b18dbf1be4ffe81edf6bcf19 to your computer and use it in GitHub Desktop.
Vetur Framework Support JSON Schema
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"patternProperties": { | |
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*(/([a-z][a-z0-9]*)(-[a-z0-9]+)*)?$": { | |
"type": "object", | |
"properties": { | |
"options": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
}, | |
"uniqueItems": true | |
}, | |
"description": { | |
"type": ["string", "object"], | |
"properties": { | |
"kind": { | |
"type": "string", | |
"enum": ["plaintext", "markdown"] | |
}, | |
"value": { | |
"type": "string" | |
} | |
}, | |
"required": ["kind", "value"] | |
} | |
} | |
} | |
}, | |
"additionalProperties": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment