{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coldrig-dev/json-schema/coldrig-dev-contact-operator-result-schema.json",
  "title": "ContactOperatorResult",
  "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/ContactOperatorResult",
  "type": "object",
  "required": [
    "ticketId",
    "note",
    "deduplicated"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "note": {
      "type": "string",
      "description": "Tells the caller where Coldrig's reply will surface (list_messages / infrastructure_status.messages[])."
    },
    "deduplicated": {
      "type": "boolean",
      "description": "true means no new ticket was filed and no new alert was sent — `ticketId` is from an earlier call whose body AND urgency were IDENTICAL, within the last hour. This is a text match, not an intent match: a genuinely new message with the same wording collapses just as silently, so treat `true` as \"this exact text was already sent\", not as \"nothing new happened\".\n"
    }
  }
}