Skip to content

Instantly share code, notes, and snippets.

@scudelletti
Created October 12, 2021 07:55
Show Gist options
  • Save scudelletti/3bbaa30c447863af1f56a28770c09280 to your computer and use it in GitHub Desktop.
Save scudelletti/3bbaa30c447863af1f56a28770c09280 to your computer and use it in GitHub Desktop.
child.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "child.json",
"type": "integer"
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "parent.json",
"type": "object",
"properties": {
"version": {
"$ref": "child.json"
}
},
"additionalProperties": false,
"required": [
"version"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment