{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphabazaar-ai/json-schema/alphabazaar-ai-apple-oauth-request-schema.json",
  "title": "AppleOAuthRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphabazaar-ai-auth-api-openapi.yml#/components/schemas/AppleOAuthRequest",
  "properties": {
    "identity_token": {
      "type": "string",
      "title": "Identity Token"
    },
    "authorization_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Authorization Code"
    },
    "user": {
      "type": "string",
      "title": "User"
    },
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "full_name": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Full Name"
    },
    "is_signup": {
      "type": "boolean",
      "title": "Is Signup",
      "default": false
    },
    "referral_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Referral Code"
    }
  },
  "type": "object",
  "required": [
    "identity_token",
    "user"
  ]
}