51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"patternProperties": {
|
|
"^x-[\\w\\d\\.\\x2d_]+$": {
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/specificationExtension.json"
|
|
}
|
|
},
|
|
"properties": {
|
|
"traits": {
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/Reference.json"
|
|
},
|
|
{
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/operationTrait.json"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"summary": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/tag.json"
|
|
},
|
|
"uniqueItems": true
|
|
},
|
|
"externalDocs": {
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/externalDocs.json"
|
|
},
|
|
"operationId": {
|
|
"type": "string"
|
|
},
|
|
"bindings": {
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/bindingsObject.json"
|
|
},
|
|
"message": {
|
|
"$ref": "http://asyncapi.com/definitions/2.1.0/message.json"
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "http://asyncapi.com/definitions/2.1.0/operation.json"
|
|
} |