-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17de8e2
commit a1e6abd
Showing
1 changed file
with
73 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,75 @@ | ||
{ | ||
"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" | ||
} | ||
"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" | ||
}, | ||
"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": { | ||
"$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" | ||
} | ||
{ | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/externalDocs.json" | ||
} | ||
] | ||
}, | ||
"bindings": { | ||
"$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" | ||
} |