Created
December 21, 2017 12:02
-
-
Save orasik/303ab1d7a6ee62ab9974ba25607e5b8c to your computer and use it in GitHub Desktop.
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
{ | |
"title": "Person", | |
"type": "object", | |
"properties": { | |
"firstName": { | |
"type": "string" | |
}, | |
"lastName": { | |
"type": "string" | |
}, | |
"age": { | |
"description": "Age in years", | |
"type": "integer", | |
"minimum": 0 | |
} | |
}, | |
"required": ["firstName", "lastName"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment