{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "update_queue_type",
  "type": "object",
  "properties": {
    "unset": {
      "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[a-z][a-z0-9_-]*$"
      }
    },
    "name": {
      "type": "string"
    },
    "new_name": {
      "type": "string"
    },
    "cake_flowmode": {
      "type": "string"
    },
    "cake_nat": {
      "type": "boolean"
    },
    "cake_overhead": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "cake_mpu": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "cake_diffserv": {
      "type": "string"
    },
    "cake_ack_filter": {
      "type": "string"
    },
    "cake_rtt": {
      "type": "string"
    },
    "cake_wash": {
      "type": "boolean"
    },
    "cake_overhead_scheme": {
      "type": "string"
    },
    "cake_bandwidth": {
      "type": "string"
    },
    "cake_atm": {
      "type": "string"
    },
    "cake_autorate_ingress": {
      "type": "boolean"
    },
    "cake_memlimit": {
      "type": "string"
    },
    "pcq_rate": {
      "type": "string"
    },
    "pcq_limit": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "pcq_classifier": {
      "type": "string"
    },
    "pcq_total_limit": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "pcq_burst_rate": {
      "type": "string"
    },
    "pcq_burst_threshold": {
      "type": "string"
    },
    "pcq_burst_time": {
      "type": "string"
    },
    "pcq_src_address_mask": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "pcq_dst_address_mask": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "pcq_src_address6_mask": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "pcq_dst_address6_mask": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    }
  },
  "required": ["name"],
  "additionalProperties": false
}
