Skip to content

Commit

Permalink
chore(release): v6.0.0-next-major-spec.9
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot committed Oct 7, 2023
1 parent e6e0841 commit 3e3ee81
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 59 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/specs",
"version": "6.0.0-next-major-spec.8",
"version": "6.0.0-next-major-spec.9",
"description": "AsyncAPI schema versions",
"main": "index.js",
"types": "index.d.ts",
Expand Down
51 changes: 24 additions & 27 deletions schemas/3.0.0-without-$id.json
Original file line number Diff line number Diff line change
Expand Up @@ -3271,7 +3271,7 @@
"properties": {
"bindingVersion": {
"enum": [
"0.1.0"
"0.2.0"
]
}
},
Expand All @@ -3286,7 +3286,7 @@
}
},
"then": {
"$ref": "#/definitions/bindings-googlepubsub-0.1.0-message"
"$ref": "#/definitions/bindings-googlepubsub-0.2.0-message"
}
},
{
Expand All @@ -3296,12 +3296,12 @@
],
"properties": {
"bindingVersion": {
"const": "0.1.0"
"const": "0.2.0"
}
}
},
"then": {
"$ref": "#/definitions/bindings-googlepubsub-0.1.0-message"
"$ref": "#/definitions/bindings-googlepubsub-0.2.0-message"
}
}
]
Expand Down Expand Up @@ -3419,7 +3419,14 @@
},
"properties": {
"key": {
"$ref": "#/definitions/schema",
"oneOf": [
{
"$ref": "#/definitions/Reference"
},
{
"$ref": "#/definitions/schema"
}
],
"description": "The message key."
},
"schemaIdLocation": {
Expand Down Expand Up @@ -3695,7 +3702,7 @@
}
]
},
"bindings-googlepubsub-0.1.0-message": {
"bindings-googlepubsub-0.2.0-message": {
"title": "Cloud Pub/Sub Channel Schema",
"description": "This object contains information about the message representation for Google Cloud Pub/Sub.",
"type": "object",
Expand All @@ -3709,7 +3716,7 @@
"bindingVersion": {
"type": "string",
"enum": [
"0.1.0"
"0.2.0"
],
"description": "The version of this binding."
},
Expand All @@ -3725,28 +3732,22 @@
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type"
"name"
]
}
},
"examples": [
{
"schema": {
"name": "projects/your-project-id/schemas/your-avro-schema-id",
"type": "avro"
"name": "projects/your-project-id/schemas/your-avro-schema-id"
}
},
{
"schema": {
"name": "projects/your-project-id/schemas/your-protobuf-schema-id",
"type": "protobuf"
"name": "projects/your-project-id/schemas/your-protobuf-schema-id"
}
}
]
Expand Down Expand Up @@ -4120,7 +4121,7 @@
"properties": {
"bindingVersion": {
"enum": [
"0.1.0"
"0.2.0"
]
}
},
Expand All @@ -4135,7 +4136,7 @@
}
},
"then": {
"$ref": "#/definitions/bindings-googlepubsub-0.1.0-channel"
"$ref": "#/definitions/bindings-googlepubsub-0.2.0-channel"
}
},
{
Expand All @@ -4145,12 +4146,12 @@
],
"properties": {
"bindingVersion": {
"const": "0.1.0"
"const": "0.2.0"
}
}
},
"then": {
"$ref": "#/definitions/bindings-googlepubsub-0.1.0-channel"
"$ref": "#/definitions/bindings-googlepubsub-0.2.0-channel"
}
}
]
Expand Down Expand Up @@ -4679,7 +4680,7 @@
}
]
},
"bindings-googlepubsub-0.1.0-channel": {
"bindings-googlepubsub-0.2.0-channel": {
"title": "Cloud Pub/Sub Channel Schema",
"description": "This object contains information about the channel representation for Google Cloud Pub/Sub.",
"type": "object",
Expand All @@ -4693,7 +4694,7 @@
"bindingVersion": {
"type": "string",
"enum": [
"0.1.0"
"0.2.0"
],
"description": "The version of this binding."
},
Expand Down Expand Up @@ -4736,14 +4737,10 @@
"encoding",
"name"
]
},
"topic": {
"type": "string"
}
},
"required": [
"schemaSettings",
"topic"
"schemaSettings"
],
"examples": [
{
Expand Down
55 changes: 26 additions & 29 deletions schemas/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3324,7 +3324,7 @@
"properties": {
"bindingVersion": {
"enum": [
"0.1.0"
"0.2.0"
]
}
},
Expand All @@ -3339,7 +3339,7 @@
}
},
"then": {
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.1.0/message.json"
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.2.0/message.json"
}
},
{
Expand All @@ -3349,12 +3349,12 @@
],
"properties": {
"bindingVersion": {
"const": "0.1.0"
"const": "0.2.0"
}
}
},
"then": {
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.1.0/message.json"
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.2.0/message.json"
}
}
]
Expand Down Expand Up @@ -3476,7 +3476,14 @@
},
"properties": {
"key": {
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json",
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
}
],
"description": "The message key."
},
"schemaIdLocation": {
Expand Down Expand Up @@ -3756,8 +3763,8 @@
}
]
},
"http://asyncapi.com/bindings/googlepubsub/0.1.0/message.json": {
"$id": "http://asyncapi.com/bindings/googlepubsub/0.1.0/message.json",
"http://asyncapi.com/bindings/googlepubsub/0.2.0/message.json": {
"$id": "http://asyncapi.com/bindings/googlepubsub/0.2.0/message.json",
"title": "Cloud Pub/Sub Channel Schema",
"description": "This object contains information about the message representation for Google Cloud Pub/Sub.",
"type": "object",
Expand All @@ -3771,7 +3778,7 @@
"bindingVersion": {
"type": "string",
"enum": [
"0.1.0"
"0.2.0"
],
"description": "The version of this binding."
},
Expand All @@ -3787,28 +3794,22 @@
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"name",
"type"
"name"
]
}
},
"examples": [
{
"schema": {
"name": "projects/your-project-id/schemas/your-avro-schema-id",
"type": "avro"
"name": "projects/your-project-id/schemas/your-avro-schema-id"
}
},
{
"schema": {
"name": "projects/your-project-id/schemas/your-protobuf-schema-id",
"type": "protobuf"
"name": "projects/your-project-id/schemas/your-protobuf-schema-id"
}
}
]
Expand Down Expand Up @@ -4186,7 +4187,7 @@
"properties": {
"bindingVersion": {
"enum": [
"0.1.0"
"0.2.0"
]
}
},
Expand All @@ -4201,7 +4202,7 @@
}
},
"then": {
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.1.0/channel.json"
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.2.0/channel.json"
}
},
{
Expand All @@ -4211,12 +4212,12 @@
],
"properties": {
"bindingVersion": {
"const": "0.1.0"
"const": "0.2.0"
}
}
},
"then": {
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.1.0/channel.json"
"$ref": "http://asyncapi.com/bindings/googlepubsub/0.2.0/channel.json"
}
}
]
Expand Down Expand Up @@ -4751,8 +4752,8 @@
}
]
},
"http://asyncapi.com/bindings/googlepubsub/0.1.0/channel.json": {
"$id": "http://asyncapi.com/bindings/googlepubsub/0.1.0/channel.json",
"http://asyncapi.com/bindings/googlepubsub/0.2.0/channel.json": {
"$id": "http://asyncapi.com/bindings/googlepubsub/0.2.0/channel.json",
"title": "Cloud Pub/Sub Channel Schema",
"description": "This object contains information about the channel representation for Google Cloud Pub/Sub.",
"type": "object",
Expand All @@ -4766,7 +4767,7 @@
"bindingVersion": {
"type": "string",
"enum": [
"0.1.0"
"0.2.0"
],
"description": "The version of this binding."
},
Expand Down Expand Up @@ -4809,14 +4810,10 @@
"encoding",
"name"
]
},
"topic": {
"type": "string"
}
},
"required": [
"schemaSettings",
"topic"
"schemaSettings"
],
"examples": [
{
Expand Down

0 comments on commit 3e3ee81

Please sign in to comment.