{
  "type": "object",
  "additionalProperties": false,
  "patternProperties": {
    "^x-[\\w\\d\\.\\x2d_]+$": {
      "$ref": "http://asyncapi.com/definitions/2.2.0/specificationExtension.json"
    }
  },
  "properties": {
    "traits": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "http://asyncapi.com/definitions/2.2.0/Reference.json"
          },
          {
            "$ref": "http://asyncapi.com/definitions/2.2.0/operationTrait.json"
          },
          {
            "type": "array",
            "items": [
              {
                "oneOf": [
                  {
                    "$ref": "http://asyncapi.com/definitions/2.2.0/Reference.json"
                  },
                  {
                    "$ref": "http://asyncapi.com/definitions/2.2.0/operationTrait.json"
                  }
                ]
              },
              {
                "type": "object",
                "additionalItems": true
              }
            ]
          }
        ]
      }
    },
    "summary": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "http://asyncapi.com/definitions/2.2.0/tag.json"
      },
      "uniqueItems": true
    },
    "externalDocs": {
      "$ref": "http://asyncapi.com/definitions/2.2.0/externalDocs.json"
    },
    "operationId": {
      "type": "string"
    },
    "bindings": {
      "$ref": "http://asyncapi.com/definitions/2.2.0/bindingsObject.json"
    },
    "message": {
      "$ref": "http://asyncapi.com/definitions/2.2.0/message.json"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://asyncapi.com/definitions/2.2.0/operation.json"
}