-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
channel.json
82 lines (82 loc) · 2.54 KB
/
channel.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"type": "object",
"description": "Describes a shared communication channel.",
"additionalProperties": false,
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
}
},
"properties": {
"address": {
"type": ["string", "null"],
"description": "An optional string representation of this channel's address. The address is typically the \"topic name\", \"routing key\", \"event type\", or \"path\". When `null` or absent, it MUST be interpreted as unknown. This is useful when the address is generated dynamically at runtime or can't be known upfront. It MAY contain Channel Address Expressions."
},
"messages": {
"$ref": "http://asyncapi.com/definitions/3.0.0/channelMessages.json"
},
"parameters": {
"$ref": "http://asyncapi.com/definitions/3.0.0/parameters.json"
},
"title": {
"type": "string",
"description": "A human-friendly title for the channel."
},
"summary": {
"type": "string",
"description": "A brief summary of the channel."
},
"description": {
"type": "string",
"description": "A longer description of the channel. CommonMark is allowed."
},
"servers": {
"type": "array",
"description": "The references of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.",
"items": {
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
"uniqueItems": true
},
"tags": {
"type": "array",
"description": "A list of tags for logical grouping of channels.",
"items": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/tag.json"
}
]
},
"uniqueItems": true
},
"externalDocs": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json"
}
]
},
"bindings": {
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/channelBindingsObject.json"
}
]
}
},
"example": {
"$ref": "http://asyncapi.com/examples/3.0.0/channel.json"
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.0.0/channel.json"
}