74 lines
No EOL
1.3 KiB
JSON
74 lines
No EOL
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Internal",
|
|
"anyOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"typeProperty": {
|
|
"type": "string",
|
|
"enum": [
|
|
"UnitOne"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"typeProperty"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"typeProperty": {
|
|
"type": "string",
|
|
"enum": [
|
|
"StringMap"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"typeProperty"
|
|
],
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"bar": {
|
|
"type": "boolean"
|
|
},
|
|
"foo": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"typeProperty": {
|
|
"type": "string",
|
|
"enum": [
|
|
"Struct"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"bar",
|
|
"foo",
|
|
"typeProperty"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"typeProperty": {
|
|
"type": "string",
|
|
"enum": [
|
|
"UnitTwo"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"typeProperty"
|
|
]
|
|
}
|
|
]
|
|
} |