{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://asyncapi.com/definitions/3.1.0/messages.json",
  "description": "JSON objects describing the messages being consumed and produced by the API.",
  "type": "object",
  "additionalProperties": {
    "oneOf": [
      {
        "$ref": "http://asyncapi.com/definitions/3.1.0/Reference.json"
      },
      {
        "$ref": "http://asyncapi.com/definitions/3.1.0/messageObject.json"
      }
    ]
  }
}
