{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linkbreakers-com/json-schema/linkbreakers-com-claim-agent-workspace-request-schema.json",
  "title": "Request to claim an agent's workspace",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linkbreakers-com-agent-identity-api-openapi.yml#/components/schemas/ClaimAgentWorkspaceRequest",
  "properties": {
    "claimAttemptToken": {
      "title": "The claim_attempt_token from the link the agent handed over",
      "type": "string"
    },
    "firebaseToken": {
      "description": "A Firebase ID token from Google or Microsoft sign-in, for the claim email. Set this or password.",
      "type": "string"
    },
    "password": {
      "description": "A password for the claim email. Set this or firebase_token.",
      "type": "string"
    },
    "userCode": {
      "title": "The 6-digit code from the claim email",
      "type": "string"
    }
  },
  "type": "object"
}