{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coldrig-dev/json-schema/coldrig-dev-contact-operator-input-schema.json",
  "title": "ContactOperatorInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coldrig-dev-messages-api-openapi.yml#/components/schemas/ContactOperatorInput",
  "type": "object",
  "required": [
    "body"
  ],
  "properties": {
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "urgency": {
      "type": "string",
      "enum": [
        "normal",
        "needs_human"
      ],
      "default": "normal",
      "description": "Flags the ops alert/ticket for triage, and `needs_human` also bypasses the ~10-minute ops-email throttle so an urgent message is PUSHED rather than left in the pull-only digest (still bounded by the 5-calls/hour cap). It is part of the dedup identity: the same body re-sent at a higher urgency is an escalation and files a new ticket, not a replay.\n"
    }
  }
}