{
  "$id": "urn:mars:schema:v1:anchor-state",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Registry-managed lifecycle of an anchor intent or entry projection.",
  "oneOf": [
    {
      "const": "unanchored",
      "description": "No anchor has been requested for the current entry snapshot.",
      "type": "string"
    },
    {
      "const": "pending",
      "description": "Durable work exists and is ready for a worker.",
      "type": "string"
    },
    {
      "const": "submitted",
      "description": "A provider accepted the submission but has not confirmed it.",
      "type": "string"
    },
    {
      "const": "confirmed",
      "description": "The provider reported final confirmation.",
      "type": "string"
    },
    {
      "const": "failed",
      "description": "The latest attempt failed and is eligible for a bounded retry.",
      "type": "string"
    },
    {
      "const": "abandoned",
      "description": "Retry policy or an administrator ended processing permanently.",
      "type": "string"
    }
  ],
  "title": "AnchorState"
}
