30 lines
886 B
JSON
30 lines
886 B
JSON
{
|
|
"type": "object",
|
|
"description": "An object to hold a set of reusable objects for different aspects of the AsyncAPI Specification.",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"schemas": {
|
|
"$ref": "http://asyncapi.com/definitions/1.1.0/schemas.json"
|
|
},
|
|
"messages": {
|
|
"$ref": "http://asyncapi.com/definitions/1.1.0/messages.json"
|
|
},
|
|
"securitySchemes": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[a-zA-Z0-9\\.\\-_]+$": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "http://asyncapi.com/definitions/1.1.0/Reference.json"
|
|
},
|
|
{
|
|
"$ref": "http://asyncapi.com/definitions/1.1.0/SecurityScheme.json"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"id": "http://asyncapi.com/definitions/1.1.0/components.json"
|
|
} |