{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apphud/main/json-schema/apphud-get-v1-customers-response-schema.json",
  "title": "GetV1CustomersResponse",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/apphud-openapi-generated.yml#/components/schemas/GetV1CustomersResponse",
  "type": "object",
  "properties": {
    "data.results": {
      "type": "object",
      "description": "User object containing profile fields, subscriptions, devices, attribution, etc."
    },
    "data.results.created_at": {
      "type": "string",
      "description": "Timestamp when the user was created."
    },
    "data.results.user_id": {
      "type": "string",
      "description": "User ID."
    },
    "data.results.total_spent": {
      "type": "number",
      "description": "Total amount spent by the user."
    },
    "data.results.payments_count": {
      "type": "integer",
      "description": "Number of payments made."
    },
    "data.results.ip": {
      "type": "string",
      "description": "IP address of the user."
    },
    "data.results.uid": {
      "type": "string",
      "description": "Internal UID."
    },
    "data.results.country_iso_code": {
      "type": "string",
      "description": "Country ISO code."
    },
    "data.results.time_zone": {
      "type": "string",
      "description": "User's time zone."
    },
    "data.results.language": {
      "type": "string",
      "description": "User's language."
    },
    "data.results.partner_attribution": {
      "type": "object",
      "description": "Partner attribution data."
    },
    "data.results.internal_attribution": {
      "type": "object",
      "description": "Internal attribution data."
    },
    "data.results.idfv": {
      "type": "string",
      "description": "Identifier for Vendor."
    },
    "data.results.variations": {
      "type": "array",
      "description": "Variations array."
    },
    "data.results.paying": {
      "type": "boolean",
      "description": "Whether the user is a paying subscriber."
    },
    "data.results.currency_country_code": {
      "type": "string",
      "description": "Currency country code."
    },
    "data.results.email": {
      "type": "string",
      "description": "User email."
    },
    "data.results.phone": {
      "type": "string",
      "description": "User phone."
    },
    "data.results.name": {
      "type": "string",
      "description": "User name."
    },
    "data.results.age": {
      "type": "string",
      "description": "User age."
    },
    "data.results.gender": {
      "type": "string",
      "description": "User gender."
    },
    "data.results.properties": {
      "type": "array",
      "description": "Custom user properties."
    },
    "data.results.attribution": {
      "type": "object",
      "description": "Attribution data."
    },
    "data.results.subscriptions": {
      "type": "array",
      "description": "List of subscription records."
    },
    "data.results.devices": {
      "type": "array",
      "description": "List of device records."
    },
    "meta": {
      "type": "string",
      "description": "Meta information (null in example)."
    },
    "errors": {
      "type": "string",
      "description": "Error information (null in example)."
    }
  }
}