{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cross-deck-com/json-schema/cross-deck-com-post-v1-identity-alias-request-schema.json",
  "title": "PostV1IdentityAliasRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/cross-deck-com-openapi-generated.yml#/components/schemas/PostV1IdentityAliasRequest",
  "type": "object",
  "properties": {
    "userId": {
      "type": "string",
      "description": "1–256 chars"
    },
    "anonymousId": {
      "type": "string",
      "description": "1–128 chars"
    },
    "email": {
      "type": "string"
    },
    "idToken": {
      "type": "string"
    },
    "appAccountToken": {
      "type": "string",
      "description": "lowercase RFC 4122 UUID"
    },
    "traits": {
      "type": "object",
      "description": "≤32 keys, primitive values only"
    }
  },
  "required": [
    "userId",
    "anonymousId"
  ]
}