Last active
August 29, 2015 14:23
-
-
Save romanlehnert/382cca3e19aa16d068ca to your computer and use it in GitHub Desktop.
json schema snippets for vim (utilizing snipmate)
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
snippet khv | |
"${1}": { | |
${2} | |
} | |
snippet kv | |
"${1}": "${2}" | |
snippet s | |
"${1}": { | |
"type": "string" | |
} | |
snippet t | |
"${1}": { | |
"type": "time" | |
} | |
snippet a | |
"${1}": { | |
"type": "array" | |
} | |
snippet object | |
"${1}": { | |
"type": "object", | |
"properties": { | |
${2} | |
} | |
} | |
snippet oarray | |
"${1}": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
${2} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment