{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "update_simple_queue",
  "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"
    },
    "target": {
      "description": "IP/CIDR or interface e.g. \"192.168.1.0/24\" or \"ether1\"",
      "type": "string"
    },
    "dst": {
      "type": "string"
    },
    "max_limit": {
      "description": "Upload/download bandwidth as \"UL/DL\" e.g. \"10M/10M\", or single value e.g. \"10M\"",
      "type": "string"
    },
    "limit_at": {
      "description": "Upload/download bandwidth as \"UL/DL\" e.g. \"10M/10M\", or single value e.g. \"10M\"",
      "type": "string"
    },
    "burst_limit": {
      "description": "Upload/download bandwidth as \"UL/DL\" e.g. \"10M/10M\", or single value e.g. \"10M\"",
      "type": "string"
    },
    "burst_threshold": {
      "description": "Upload/download bandwidth as \"UL/DL\" e.g. \"10M/10M\", or single value e.g. \"10M\"",
      "type": "string"
    },
    "burst_time": {
      "description": "Duration e.g. \"8s\"",
      "type": "string"
    },
    "bucket_size": {
      "type": "string"
    },
    "queue": {
      "type": "string"
    },
    "parent": {
      "type": "string"
    },
    "priority": {
      "description": "1 (highest) – 8 (lowest)",
      "type": "string"
    },
    "packet_marks": {
      "type": "string"
    },
    "time": {
      "description": "Active time/days e.g. \"0s-1d,sun,mon,tue,wed,thu,fri,sat\"",
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "disabled": {
      "type": "boolean"
    }
  },
  "required": ["name"],
  "additionalProperties": false
}
