{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "/studio/schemas/identity-link-row-1.0.0.json",
  "title": "Identity link row (one line of identity_links.ndjson)",
  "description": "One way the club recognises an exported fan. The key value is never exported. Synthetic data.",
  "type": "object",
  "required": ["fan_id", "key_type", "key_class", "source", "verified"],
  "additionalProperties": false,
  "properties": {
    "fan_id": { "type": "string" },
    "key_type": { "type": "string" },
    "key_class": { "type": "string", "enum": ["first_party", "ad_delivery", "cross_site_link"] },
    "source": { "type": "string" },
    "verified": { "type": "boolean" }
  }
}
