Skip to content

Commit

Permalink
update definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed May 13, 2024
1 parent a67a301 commit c544890
Show file tree
Hide file tree
Showing 19 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion bindings/kafka/0.4.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
},
{
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
],
"description": "The message key."
Expand Down
2 changes: 1 addition & 1 deletion common/avroSchema_v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/avroSchema_v1.json",
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
2 changes: 1 addition & 1 deletion common/openapiSchema_3_0.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/openapiSchema_3_0.json",
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.0.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -223,7 +223,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.1.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -246,7 +246,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.2.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -249,7 +249,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.3.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -252,7 +252,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.4.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -258,7 +258,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.5.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -255,7 +255,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/2.6.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -263,7 +263,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions definitions/3.0.0/multiFormatSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
]
}
Expand Down Expand Up @@ -188,7 +188,7 @@
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions schemas/2.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -1069,7 +1069,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down Expand Up @@ -1185,8 +1185,8 @@
}
}
},
"http://asyncapi.com/definitions/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/definitions/openapiSchema_3_0.json",
"http://asyncapi.com/common/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down Expand Up @@ -1472,8 +1472,8 @@
},
"additionalProperties": false
},
"http://asyncapi.com/definitions/avroSchema_v1.json": {
"$id": "http://asyncapi.com/definitions/avroSchema_v1.json",
"http://asyncapi.com/common/avroSchema_v1.json": {
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
12 changes: 6 additions & 6 deletions schemas/2.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -1093,7 +1093,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down Expand Up @@ -1236,8 +1236,8 @@
}
}
},
"http://asyncapi.com/definitions/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/definitions/openapiSchema_3_0.json",
"http://asyncapi.com/common/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down Expand Up @@ -1523,8 +1523,8 @@
},
"additionalProperties": false
},
"http://asyncapi.com/definitions/avroSchema_v1.json": {
"$id": "http://asyncapi.com/definitions/avroSchema_v1.json",
"http://asyncapi.com/common/avroSchema_v1.json": {
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
12 changes: 6 additions & 6 deletions schemas/2.2.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -1105,7 +1105,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down Expand Up @@ -1221,8 +1221,8 @@
}
}
},
"http://asyncapi.com/definitions/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/definitions/openapiSchema_3_0.json",
"http://asyncapi.com/common/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down Expand Up @@ -1508,8 +1508,8 @@
},
"additionalProperties": false
},
"http://asyncapi.com/definitions/avroSchema_v1.json": {
"$id": "http://asyncapi.com/definitions/avroSchema_v1.json",
"http://asyncapi.com/common/avroSchema_v1.json": {
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
12 changes: 6 additions & 6 deletions schemas/2.3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -1121,7 +1121,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down Expand Up @@ -1237,8 +1237,8 @@
}
}
},
"http://asyncapi.com/definitions/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/definitions/openapiSchema_3_0.json",
"http://asyncapi.com/common/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down Expand Up @@ -1524,8 +1524,8 @@
},
"additionalProperties": false
},
"http://asyncapi.com/definitions/avroSchema_v1.json": {
"$id": "http://asyncapi.com/definitions/avroSchema_v1.json",
"http://asyncapi.com/common/avroSchema_v1.json": {
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
12 changes: 6 additions & 6 deletions schemas/2.4.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/openapiSchema_3_0.json"
"$ref": "http://asyncapi.com/common/openapiSchema_3_0.json"
}
}
}
Expand All @@ -1139,7 +1139,7 @@
"then": {
"properties": {
"payload": {
"$ref": "http://asyncapi.com/definitions/avroSchema_v1.json"
"$ref": "http://asyncapi.com/common/avroSchema_v1.json"
}
}
}
Expand Down Expand Up @@ -1258,8 +1258,8 @@
}
}
},
"http://asyncapi.com/definitions/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/definitions/openapiSchema_3_0.json",
"http://asyncapi.com/common/openapiSchema_3_0.json": {
"$id": "http://asyncapi.com/common/openapiSchema_3_0.json",
"type": "object",
"definitions": {
"ExternalDocumentation": {
Expand Down Expand Up @@ -1545,8 +1545,8 @@
},
"additionalProperties": false
},
"http://asyncapi.com/definitions/avroSchema_v1.json": {
"$id": "http://asyncapi.com/definitions/avroSchema_v1.json",
"http://asyncapi.com/common/avroSchema_v1.json": {
"$id": "http://asyncapi.com/common/avroSchema_v1.json",
"definitions": {
"avroSchema": {
"title": "Avro Schema",
Expand Down
Loading

0 comments on commit c544890

Please sign in to comment.