{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tracetail-io/json-schema/tracetail-io-identification-request-schema.json",
  "title": "IdentificationRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tracetail-io-openapi.json#/components/schemas/IdentificationRequest",
  "type": "object",
  "required": [
    "visitorId",
    "components"
  ],
  "properties": {
    "visitorId": {
      "type": "string",
      "pattern": "^(?:fp3_|(?:free_)?fp2_)[0-9a-f]{16}$",
      "description": "`fp3_` followed by 16 hex characters, computed by the TraceTail SDK (IDs from 2.x SDKs start with `fp2_`)."
    },
    "components": {
      "type": "object",
      "required": [
        "basic",
        "hardware",
        "canvas",
        "webgl",
        "fonts",
        "automation"
      ],
      "additionalProperties": true,
      "description": "Complete SDK v3 signals (at most 32 KB as UTF-8 JSON). Generate with the SDK; the server recomputes visitorId. Legacy v2 requests are accepted without verification."
    },
    "confidence": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "deprecated": true,
      "description": "Ignored; the server computes signal quality."
    },
    "requestToken": {
      "type": "string",
      "format": "uuid",
      "description": "SDK-generated retry token. Reuse only for the same logical request. Receipts last for the API log retention period."
    }
  }
}