{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-customer-identifiers-schema.json",
  "title": "customer_identifiers",
  "description": "Identifiers for the person in a response—`id`, `cio_id`, and `email`. Unset `id` or `email` values are `null`. We recommend this object over the less descriptive `customer_id`. This object doesn't include `phone`, even if your workspace uses phone numbers as an identifier; look for the person's `phone` attribute instead.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-customers-api-openapi.yml#/components/schemas/customer_identifiers",
  "x-scalar-ignore": true,
  "type": "object",
  "required": [
    "email",
    "id",
    "cio_id"
  ],
  "properties": {
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email",
      "description": "A person's email address, if set."
    },
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "A person's unique ID, if set. This is the same as the `customer_id` if present."
    },
    "cio_id": {
      "$ref": "#/$defs/cio_id"
    }
  },
  "$defs": {
    "cio_id": {
      "x-scalar-ignore": true,
      "type": "string",
      "description": "A unique identifier set by Customer.io, used to reference a person if you want to update their identifiers."
    }
  }
}