{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beel-es/json-schema/beel-es-claim-token-result-schema.json",
  "title": "ClaimTokenResult",
  "description": "A freshly issued claim token. `claim_token` is shown **once** and cannot be read back; any token issued earlier for this account is now invalid.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beel-es-accounts-api-openapi.yml#/components/schemas/ClaimTokenResult",
  "type": "object",
  "required": [
    "person_id",
    "claim_token",
    "claim_url",
    "expires_at"
  ],
  "properties": {
    "person_id": {
      "type": "string",
      "format": "uuid",
      "description": "The account holder — created by this call if the account had none."
    },
    "claim_token": {
      "type": "string",
      "description": "Single-use claim token. Deliver it to the holder; it is never returned again."
    },
    "claim_url": {
      "type": "string",
      "format": "uri",
      "description": "Ready-to-use claim link built by BeeL. for the current environment."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the token stops working (30 days from issue). Issue a new one to replace it."
    }
  }
}