{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Idempotency and retry budgets evaluation inputs",
  "description": "Change the key state and fingerprint to see when work is replayed, held or rejected.",
  "type": "object",
  "required": [
    "ledger_state",
    "request_fingerprint",
    "stored_fingerprint",
    "destination_limited"
  ],
  "properties": {
    "ledger_state": {
      "type": "string",
      "description": "Durable state for this action key.",
      "enum": [
        "absent",
        "in_progress",
        "completed"
      ]
    },
    "request_fingerprint": {
      "type": "string",
      "description": "Fingerprint of the submitted meaningful input."
    },
    "stored_fingerprint": {
      "type": "string",
      "description": "Fingerprint reserved with the action key."
    },
    "destination_limited": {
      "type": "boolean",
      "description": "Whether the provider is currently rate limiting this operation."
    }
  },
  "additionalProperties": false
}