@asyncapi/specs
Version:
AsyncAPI schema versions
17 lines (16 loc) • 615 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.1.0/channelMessages.json",
"description": "A map of the messages that will be sent to this channel by any application at any time. **Every message sent to this channel MUST be valid against one, and only one, of the message objects defined in this map.**",
"type": "object",
"additionalProperties": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.1.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.1.0/messageObject.json"
}
]
}
}