schemars/schemars/tests/expected/schema_with-enum-internal.json
Graham Esau 5ddd44a9e5 Regenerate all test expected outputs
Properties are now in a different order due to the preserve_order feature flag
2020-09-24 20:47:46 +01:00

41 lines
No EOL
679 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Internal",
"anyOf": [
{
"type": "object",
"required": [
"foo",
"typeProperty"
],
"properties": {
"typeProperty": {
"type": "string",
"enum": [
"Struct"
]
},
"foo": {
"type": "boolean"
}
}
},
{
"type": [
"boolean",
"object"
],
"required": [
"typeProperty"
],
"properties": {
"typeProperty": {
"type": "string",
"enum": [
"NewType"
]
}
}
}
]
}