{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-segments-content-state-schema.json",
  "title": "Multi-step tracker",
  "description": "Dynamic fields for the multi-step tracker template. `notification_type`: `io.customer.livenotifications.segments`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/customer-io-live-notifications-api-openapi.yml#/components/schemas/SegmentsContentState",
  "x-scalar-ignore": true,
  "type": "object",
  "required": [
    "status",
    "segmentsTotal",
    "segmentsComplete"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Primary status line, like `Out for delivery`."
    },
    "substatus": {
      "type": "string",
      "description": "Secondary line under the status."
    },
    "segmentsTotal": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "description": "The total number of segments in the progress bar. Values above 20 are capped at 20."
    },
    "segmentsComplete": {
      "type": "integer",
      "description": "How many segments are filled; the remainder render as incomplete. Values above segmentsTotal are capped at segmentsTotal."
    },
    "trailingText": {
      "type": "string",
      "description": "Short text on the Dynamic Island trailing edge, e.g. \\\"5 min\\\". Keep it brief; the trailing region is narrow."
    }
  }
}