{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cross-deck-com/json-schema/cross-deck-com-post-v1-migration-users-request-schema.json",
  "title": "PostV1MigrationUsersRequest",
  "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/PostV1MigrationUsersRequest",
  "type": "object",
  "properties": {
    "users": {
      "type": "array",
      "description": "1–1000 rows per request"
    },
    "developerUserId": {
      "type": "string",
      "description": "required, ≤256 chars"
    },
    "email": {
      "type": "string",
      "description": "stored, never used to merge"
    },
    "displayName": {
      "type": "string"
    },
    "stripeCustomerId": {
      "type": "string"
    },
    "appleOriginalTransactionId": {
      "type": "string"
    },
    "appleAppAccountToken": {
      "type": "string"
    },
    "googlePurchaseToken": {
      "type": "string"
    },
    "googleObfuscatedAccountId": {
      "type": "string"
    },
    "traits": {
      "type": "object"
    },
    "entitlements": {
      "type": "object",
      "description": "truthy keys become migration grants"
    }
  },
  "required": [
    "users",
    "developerUserId"
  ]
}