{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nice/json-schema/nice-segments-response-schema.json",
  "title": "SegmentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nice-platform-analytics-openapi.yml#/components/schemas/SegmentsResponse",
  "type": "object",
  "required": [
    "data"
  ],
  "properties": {
    "nextPageToken": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pagination cursor for the next page of results.\nNull if this is the last page.\nPass this value as the `pageToken` query parameter for the next request.\n"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SegmentItem"
      },
      "description": "Array of segment ID objects"
    }
  },
  "$defs": {
    "SegmentItem": {
      "type": "object",
      "required": [
        "segmentId"
      ],
      "properties": {
        "segmentId": {
          "type": "string",
          "description": "Unique segment identifier (UUID)"
        }
      }
    }
  }
}