{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-sender-identity-object-schema.json",
  "title": "senderIdentityObject",
  "description": "Information about a sender.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-sender-identities-api-openapi.yml#/components/schemas/senderIdentityObject",
  "x-scalar-ignore": true,
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The identifier of a sender."
    },
    "deduplicate_id": {
      "$ref": "#/$defs/deduplicate_id"
    },
    "name": {
      "type": "string",
      "description": "The name of the sender."
    },
    "email": {
      "type": "string",
      "description": "The email address of the sender."
    },
    "address": {
      "type": "string",
      "description": "The sender name and email address in the format `name <name@example.com>`."
    },
    "template_type": {
      "type": "string",
      "enum": [
        "email",
        "phone"
      ],
      "description": "The type of sender."
    },
    "auto_generated": {
      "type": "boolean",
      "description": "If true, the sender is automatically generated by Customer.io."
    },
    "phone": {
      "type": "string",
      "description": "The phone number of the sender, used for SMS senders."
    },
    "hidden": {
      "type": "boolean",
      "description": "If true, the sender is hidden in the Customer.io UI."
    }
  },
  "$defs": {
    "deduplicate_id": {
      "x-scalar-ignore": true,
      "type": "string",
      "readOnly": true,
      "description": "An identifier in the format `id:timestamp` where the id is for the object you're working with (Automations, Deliveries, Exports, Identities, One-time sends, Segments, and Templates), and the timestamp is the last time the object was updated."
    }
  }
}