{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Resource identifier returned by the operation."
    },
    "state": {
      "type": "string",
      "enum": [
        "queued",
        "dispatched",
        "succeeded",
        "failed",
        "reconciliation_required",
        "cancelled"
      ],
      "description": "Saved lifecycle or evidence state, as enumerated for this record."
    },
    "reason": {
      "description": "Recorded explanation; null when no explanation applies.",
      "anyOf": [
        {
          "type": "string",
          "description": "Recorded explanation; null when no explanation applies."
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "state"
  ],
  "additionalProperties": {}
}
