Last active
May 18, 2022 16:13
-
-
Save diegodlh/62a05060e68e83628123fd13f858738f to your computer and use it in GitHub Desktop.
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
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"type": "object", | |
"properties": { | |
"selections": { | |
"type": "array", | |
"items": { | |
"oneOf": [ | |
{ | |
"type": "string" | |
}, | |
{ | |
"$ref": "#/definitions/objectDef" | |
} | |
] | |
} | |
}, | |
"other": { | |
"type": "array", | |
"items": { | |
"$ref": "#/definitions/objectDef" | |
} | |
} | |
}, | |
"required": ["selections"], | |
"definitions": { | |
"objectDef": { | |
"type": "object", | |
"properties": { | |
"value": { "type": "string" } | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment