Skip to content

Instantly share code, notes, and snippets.

@timheuer
Last active July 10, 2023 22:52
Show Gist options
  • Save timheuer/aad4a8cf839fb786cc9f3bd15e8d011e to your computer and use it in GitHub Desktop.
Save timheuer/aad4a8cf839fb786cc9f3bd15e8d011e to your computer and use it in GitHub Desktop.
person.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"FirstName": {
"type": "string"
},
"LastName": {
"type": "string"
},
"Age": {
"type": "integer",
"minimum": 0
},
"Address": { "$ref": "https://gist.githubusercontent.com/timheuer/56ee85e69b065c5accdf6cf81e89bdb4/raw/bed19e2e387212617e157f278fc2051586740d9f/address.json" }
},
"required": [ "FirstName", "LastName", "Age", "Address" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment