diff --git a/package-lock.json b/package-lock.json index 425b5c61..55d4077d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@asyncapi/specs", - "version": "6.1.0", + "version": "6.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@asyncapi/specs", - "version": "6.1.0", + "version": "6.2.0", "license": "Apache-2.0", "dependencies": { "@types/json-schema": "^7.0.11" diff --git a/package.json b/package.json index 65a74b9d..2e7ac9c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/specs", - "version": "6.1.0", + "version": "6.2.0", "description": "AsyncAPI schema versions", "main": "index.js", "types": "index.d.ts", diff --git a/schemas/3.0.0-without-$id.json b/schemas/3.0.0-without-$id.json index 09cbacd8..7bbbbfdf 100644 --- a/schemas/3.0.0-without-$id.json +++ b/schemas/3.0.0-without-$id.json @@ -3958,12 +3958,15 @@ }, "properties": { "key": { - "oneOf": [ + "anyOf": [ { "$ref": "#/definitions/Reference" }, { "$ref": "#/definitions/schema" + }, + { + "$ref": "#/definitions/avroSchema_v1" } ], "description": "The message key." diff --git a/schemas/3.0.0.json b/schemas/3.0.0.json index 94ec627e..27ca6e78 100644 --- a/schemas/3.0.0.json +++ b/schemas/3.0.0.json @@ -4015,12 +4015,15 @@ }, "properties": { "key": { - "oneOf": [ + "anyOf": [ { "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" }, { "$ref": "http://asyncapi.com/definitions/3.0.0/schema.json" + }, + { + "$ref": "http://asyncapi.com/definitions/3.0.0/avroSchema_v1.json" } ], "description": "The message key."