diff --git a/bindings/kafka/0.4.0/message.json b/bindings/kafka/0.4.0/message.json index 88227378..34b53b9c 100644 --- a/bindings/kafka/0.4.0/message.json +++ b/bindings/kafka/0.4.0/message.json @@ -11,7 +11,14 @@ }, "properties": { "key": { - "$ref": "http://asyncapi.com/definitions/3.0.0/schema.json", + "oneOf": [ + { + "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" + }, + { + "$ref": "http://asyncapi.com/definitions/3.0.0/schema.json", + } + ] "description": "The message key." }, "schemaIdLocation": {