183 lines
No EOL
3.8 KiB
JSON
183 lines
No EOL
3.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Schema",
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchemaRef"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchemaObject"
|
|
}
|
|
],
|
|
"definitions": {
|
|
"InstanceType": {
|
|
"enum": [
|
|
"null",
|
|
"boolean",
|
|
"object",
|
|
"array",
|
|
"number",
|
|
"string",
|
|
"integer"
|
|
]
|
|
},
|
|
"Schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchemaRef"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchemaObject"
|
|
}
|
|
]
|
|
},
|
|
"SchemaObject": {
|
|
"type": "object",
|
|
"properties": {
|
|
"$id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"$schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"allOf": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"anyOf": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"definitions": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"enum": {
|
|
"type": "array",
|
|
"items": {},
|
|
"nullable": true
|
|
},
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Schema"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
}
|
|
}
|
|
],
|
|
"nullable": true
|
|
},
|
|
"not": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchemaRef"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchemaObject"
|
|
}
|
|
],
|
|
"nullable": true
|
|
},
|
|
"oneOf": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"properties": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
}
|
|
},
|
|
"required": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/InstanceType"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/InstanceType"
|
|
}
|
|
}
|
|
],
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"SchemaRef": {
|
|
"type": "object",
|
|
"properties": {
|
|
"$ref": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"SingleOrVec_For_InstanceType": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/InstanceType"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/InstanceType"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"SingleOrVec_For_Schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Schema"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Schema"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |