bf51655a7b
Signed-off-by: Jacek J. Łakis <jacek.lakis@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
161 lines
2.7 KiB
JSON
161 lines
2.7 KiB
JSON
{
|
|
"definitions": {
|
|
"car": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"make": {
|
|
"type": "string"
|
|
},
|
|
"brand": {
|
|
"items": {
|
|
"$ref": "#/definitions/brand"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tag": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"brand": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"truck": {
|
|
"items": {
|
|
"$ref": "#/definitions/car"
|
|
}
|
|
},
|
|
"batch": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/definitions/brand"
|
|
}
|
|
}
|
|
},
|
|
"batch2": {
|
|
"items": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/brand"
|
|
}
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"allofBoth": {
|
|
"allOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/brand"
|
|
}
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"anyofBoth": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/brand"
|
|
}
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"oneofBoth": {
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/brand"
|
|
}
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"notSomething": {
|
|
"not": {
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
},
|
|
"withAdditional": {
|
|
"additionalProperties": {
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
},
|
|
"withPattern": {
|
|
"patternProperties": {
|
|
"^x-ab": {
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"withAdditionalItems": {
|
|
"additionalItems": {
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
},
|
|
"deps": {
|
|
"dependencies": {
|
|
"something": {
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defined": {
|
|
"definitions": {
|
|
"something": {
|
|
"items": {
|
|
"$ref": "#/definitions/tag"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|