{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appodeal/json-schema/appodeal-post-v20-s2-sinapps-app-web-appid-request-schema.json",
  "title": "PostV20S2SInappsAppWebAppidRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/appodeal-openapi-generated.yml#/components/schemas/PostV20S2SInappsAppWebAppidRequest",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "object",
      "description": "User identifier. Must contain at least one of customer_user_id or appsflyer_id."
    },
    "event_name": {
      "type": "string",
      "description": "Event name. 1–64 characters. Cannot contain @ = + - . Example: af_purchase"
    },
    "event_revenue": {
      "type": "number",
      "description": "Revenue amount for purchase or monetization events."
    },
    "event_revenue_currency": {
      "type": "string",
      "description": "Currency code for the revenue value. For example, USD or EUR."
    },
    "event_value": {
      "type": "object",
      "description": "Free-form event parameters. Supports a custom_parameters sub-object."
    },
    "event_url": {
      "type": "string",
      "description": "Page URL where the event occurred. Valid HTTP URL, max 4,096 characters."
    },
    "timestamp": {
      "type": "integer",
      "description": "Unix time in ms (UTC). If omitted, AppsFlyer uses the receive time."
    },
    "ip": {
      "type": "string",
      "description": "Device IP address (IPv4 or IPv6). Max 46 characters."
    },
    "user_agent": {
      "type": "string",
      "description": "Full user agent string from the browser. Max 1,024 characters."
    },
    "http_referrer": {
      "type": "string",
      "description": "Referrer URL of the current page."
    },
    "af_customer_event_id": {
      "type": "string",
      "description": "Your own unique ID for the event, used for deduplication. Max 256 characters."
    },
    "email_hashed": {
      "type": "string",
      "description": "SHA256 of normalized (lowercase, trimmed) email. 64‑character hex string."
    },
    "phone_number_hashed": {
      "type": "string",
      "description": "SHA256 of phone number. 64‑character hex string."
    },
    "phone_number_e164_hashed": {
      "type": "string",
      "description": "SHA256 of E.164 phone number. 64‑character hex string."
    },
    "first_name_hashed": {
      "type": "string",
      "description": "SHA256 of normalized first name. 64‑character hex string."
    },
    "last_name_hashed": {
      "type": "string",
      "description": "SHA256 of normalized last name. 64‑character hex string."
    }
  },
  "required": [
    "user_id",
    "event_name"
  ]
}