{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:orbiplex:schema:dator.dispatch-entry-deactivation-result:v1",
  "title": "Dator Dispatch Entry Deactivation Result v1",
  "description": "Exact idempotent result of synchronously deactivating one Dator dispatch entry.",
  "x-dia-workflow": "project",
  "x-dia-status": "accepted",
  "x-dia-basis": ["doc/project/40-proposals/085-operator-sovereign-extensibility-and-experiment-packages.md"],
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema",
    "schema/v",
    "event/ref",
    "entry/ref",
    "entry/revision",
    "entry/digest",
    "activation/generation",
    "status",
    "recorded-at"
  ],
  "properties": {
    "schema": { "const": "dator.dispatch-entry-deactivation-result.v1" },
    "schema/v": { "const": 1 },
    "event/ref": { "type": "string", "pattern": "^dator-dispatch-event:[A-Za-z0-9._-]{1,128}$" },
    "entry/ref": { "type": "string", "pattern": "^dator-dispatch:[A-Za-z0-9._-]{1,128}$" },
    "entry/revision": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
    "entry/digest": { "type": "string", "pattern": "^sha256:[A-Za-z0-9_-]{43}$" },
    "activation/generation": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
    "status": { "const": "deactivated" },
    "recorded-at": { "type": "string", "format": "date-time" }
  }
}
