{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-confirm-account-request-schema.json",
  "title": "ConfirmAccountRequest",
  "description": "Request body for `POST /api/auth/confirm`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-auth-api-openapi.yml#/components/schemas/ConfirmAccountRequest",
  "type": "object",
  "required": [
    "email",
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "The six-digit code from the confirmation email."
    },
    "email": {
      "type": "string",
      "description": "The address the account was registered under."
    },
    "preview_token": {
      "type": [
        "string",
        "null"
      ],
      "description": "The `preview_token` of the check the visitor ran on this address before signing up: that check becomes the\naccount's first job."
    }
  }
}