diff --git a/definitions/3.0.0/channelMessages.json b/definitions/3.0.0/channelMessages.json index 737404e1..212ab610 100644 --- a/definitions/3.0.0/channelMessages.json +++ b/definitions/3.0.0/channelMessages.json @@ -6,7 +6,7 @@ "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" }, { - "$ref": "http://asyncapi.com/definitions/3.0.0/message.json" + "$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" } ] }, diff --git a/definitions/3.0.0/message.json b/definitions/3.0.0/message.json deleted file mode 100644 index d3fc8cd2..00000000 --- a/definitions/3.0.0/message.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "oneOf": [ - { - "type": "object", - "required": [ - "oneOf" - ], - "additionalProperties": false, - "properties": { - "oneOf": { - "type": "array", - "items": { - "$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" - } - } - } - }, - { - "$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" - } - ], - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "http://asyncapi.com/definitions/3.0.0/message.json" -} \ No newline at end of file diff --git a/definitions/3.0.0/messages.json b/definitions/3.0.0/messages.json index 2522b7a1..f244339e 100644 --- a/definitions/3.0.0/messages.json +++ b/definitions/3.0.0/messages.json @@ -6,7 +6,7 @@ "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" }, { - "$ref": "http://asyncapi.com/definitions/3.0.0/message.json" + "$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" } ] },