<reponame>yangas/bindings
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://asyncapi.com/bindings/nats/operation.json",
  "title": "Operation Schema",
  "description": "This object contains information about the operation representation in NATS.",
  "type": "object",
  "additionalProperties": false,
  "patternProperties": {
    "^x-[\\w\\d\\.\\-\\_]+$": {
      "$ref": "https://raw.githubusercontent.com/asyncapi/asyncapi-node/v2.7.7/schemas/2.0.0.json#/definitions/specificationExtension"
    }
  },
  "properties": {
    "queue": {
      "type": "string",
      "description": "Defines the name of the queue to use. It MUST NOT exceed 255 characters.",
      "maxLength": 255
    },
    "bindingVersion": {
      "type": "string",
      "enum": [
        "0.1.0"
      ],
      "description": "The version of this binding. If omitted, 'latest' MUST be assumed."
    }
  },
  "examples": [
    {
      "queue": "MyCustomQueue",
      "bindingVersion": "0.1.0"
    }
  ]
}
