@asyncapi/specs
Version:
AsyncAPI schema versions
28 lines (27 loc) • 932 B
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.1.0/operationReplyAddress.json",
"description": "An object that specifies where an operation has to send the reply",
"type": "object",
"required": [ "location" ],
"properties": {
"description": {
"description": "An optional description of the address. CommonMark is allowed.",
"type": "string"
},
"location": {
"description": "A runtime expression that specifies the location of the reply address.",
"type": "string",
"pattern": "^\\$message\\.(header|payload)#(\\/(([^\\/~])|(~[01]))*)*"
}
},
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json"
}
},
"additionalProperties": false,
"example": {
"$ref": "http://asyncapi.com/examples/3.1.0/operationReplyAddress.json"
}
}