Skip to content

Instantly share code, notes, and snippets.

@toandv
Created August 19, 2020 14:34
Show Gist options
  • Save toandv/c7dd536f46f1ca73a28ab41921de2da6 to your computer and use it in GitHub Desktop.
Save toandv/c7dd536f46f1ca73a28ab41921de2da6 to your computer and use it in GitHub Desktop.
{
"oneOf": [
{
"properties": {
"type": {"enum": [A]},
...
},
"required": ["otherProperties"]
},
{
"properties": {
"type": {"enum": [...]},
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment