Skip to content

Commit e609fc2

Browse files
authored
fix: update ros2 related schemas (#611)
1 parent efb1be6 commit e609fc2

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

bindings/ros2/0.1.0/operation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
},
8282
"patternProperties": {
8383
"^x-[\\w\\d\\.\\x2d_]+$": {
84-
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
84+
"$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json"
8585
}
8686
},
8787
"additionalProperties": false
88-
}
88+
}

bindings/ros2/0.1.0/server.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
}
1010
],
1111
"type": "object",
12-
"required": [ "host", "protocol" ],
1312
"properties": {
1413
"bindingVersion": {
1514
"description": "The version of this binding. If omitted, 'latest' MUST be assumed.",
@@ -29,7 +28,7 @@
2928
},
3029
"patternProperties": {
3130
"^x-[\\w\\d\\.\\x2d_]+$": {
32-
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
31+
"$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json"
3332
}
3433
}
35-
}
34+
}

schemas/3.1.0-without-$id.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8606,10 +8606,6 @@
86068606
}
86078607
],
86088608
"type": "object",
8609-
"required": [
8610-
"host",
8611-
"protocol"
8612-
],
86138609
"properties": {
86148610
"bindingVersion": {
86158611
"description": "The version of this binding. If omitted, 'latest' MUST be assumed.",

schemas/3.1.0.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6281,7 +6281,7 @@
62816281
},
62826282
"patternProperties": {
62836283
"^x-[\\w\\d\\.\\x2d_]+$": {
6284-
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
6284+
"$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json"
62856285
}
62866286
},
62876287
"additionalProperties": false
@@ -8868,10 +8868,6 @@
88688868
}
88698869
],
88708870
"type": "object",
8871-
"required": [
8872-
"host",
8873-
"protocol"
8874-
],
88758871
"properties": {
88768872
"bindingVersion": {
88778873
"description": "The version of this binding. If omitted, 'latest' MUST be assumed.",
@@ -8893,7 +8889,7 @@
88938889
},
88948890
"patternProperties": {
88958891
"^x-[\\w\\d\\.\\x2d_]+$": {
8896-
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json"
8892+
"$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json"
88978893
}
88988894
}
88998895
},

schemas/all.schema-store.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,20 @@
186186
"$ref": "http://asyncapi.com/schema-store/3.0.0-without-$id.json"
187187
}
188188
]
189+
},
190+
{
191+
"allOf": [
192+
{
193+
"properties": {
194+
"asyncapi": {
195+
"const": "3.1.0"
196+
}
197+
}
198+
},
199+
{
200+
"$ref": "http://asyncapi.com/schema-store/3.1.0-without-$id.json"
201+
}
202+
]
189203
}
190204
]
191205
}

0 commit comments

Comments
 (0)