diff --git a/bindings/ros2/0.1.0/operation.json b/bindings/ros2/0.1.0/operation.json index f58b66ed..5200ebb5 100644 --- a/bindings/ros2/0.1.0/operation.json +++ b/bindings/ros2/0.1.0/operation.json @@ -81,8 +81,8 @@ }, "patternProperties": { "^x-[\\w\\d\\.\\x2d_]+$": { - "$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" + "$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json" } }, "additionalProperties": false -} \ No newline at end of file +} diff --git a/bindings/ros2/0.1.0/server.json b/bindings/ros2/0.1.0/server.json index 4fedfa15..c0dc8c18 100644 --- a/bindings/ros2/0.1.0/server.json +++ b/bindings/ros2/0.1.0/server.json @@ -9,7 +9,6 @@ } ], "type": "object", - "required": [ "host", "protocol" ], "properties": { "bindingVersion": { "description": "The version of this binding. If omitted, 'latest' MUST be assumed.", @@ -29,7 +28,7 @@ }, "patternProperties": { "^x-[\\w\\d\\.\\x2d_]+$": { - "$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" + "$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json" } } -} \ No newline at end of file +} diff --git a/schemas/3.1.0-without-$id.json b/schemas/3.1.0-without-$id.json index 4551e16c..4261a27c 100644 --- a/schemas/3.1.0-without-$id.json +++ b/schemas/3.1.0-without-$id.json @@ -8606,10 +8606,6 @@ } ], "type": "object", - "required": [ - "host", - "protocol" - ], "properties": { "bindingVersion": { "description": "The version of this binding. If omitted, 'latest' MUST be assumed.", diff --git a/schemas/3.1.0.json b/schemas/3.1.0.json index 327ea1e0..068d96ee 100644 --- a/schemas/3.1.0.json +++ b/schemas/3.1.0.json @@ -6281,7 +6281,7 @@ }, "patternProperties": { "^x-[\\w\\d\\.\\x2d_]+$": { - "$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" + "$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json" } }, "additionalProperties": false @@ -8868,10 +8868,6 @@ } ], "type": "object", - "required": [ - "host", - "protocol" - ], "properties": { "bindingVersion": { "description": "The version of this binding. If omitted, 'latest' MUST be assumed.", @@ -8893,7 +8889,7 @@ }, "patternProperties": { "^x-[\\w\\d\\.\\x2d_]+$": { - "$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" + "$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json" } } }, diff --git a/schemas/all.schema-store.json b/schemas/all.schema-store.json index c8241a9e..759b0eb8 100644 --- a/schemas/all.schema-store.json +++ b/schemas/all.schema-store.json @@ -186,6 +186,20 @@ "$ref": "http://asyncapi.com/schema-store/3.0.0-without-$id.json" } ] + }, + { + "allOf": [ + { + "properties": { + "asyncapi": { + "const": "3.1.0" + } + } + }, + { + "$ref": "http://asyncapi.com/schema-store/3.1.0-without-$id.json" + } + ] } ] }