{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/istreamplanet/json-schema/istreamplanet-list-content-segment-history-response-body-schema.json",
  "title": "ListContentSegmentHistoryResponseBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/istreamplanet-transcoder-telemetry-api-openapi.yml#/components/schemas/ListContentSegmentHistoryResponseBody",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "content_segments": {
      "items": {
        "$ref": "#/$defs/TranscoderContentSegment"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "TranscoderContentSegment": {
      "additionalProperties": false,
      "properties": {
        "end": {
          "description": "end is the timestamp when the content segment ended.",
          "format": "date-time",
          "type": "string"
        },
        "header": {
          "$ref": "#/$defs/TranscoderHeader",
          "description": "header is required for all transcoder events."
        },
        "segment_id": {
          "description": "segment_id is a unique id assigned by the transcoder",
          "format": "int64",
          "type": "integer"
        },
        "start": {
          "description": "start is the timestamp when the content segment started.",
          "format": "date-time",
          "type": "string"
        },
        "type": {
          "description": "type is the type of content segment. Example: PROGRAM, CHAPTER, or BREAK.",
          "enum": [
            "SPLICE_INSERT",
            "CONTENT_ID",
            "PROGRAM",
            "PROGRAM_BLACKOUT_OVERRIDE",
            "PROGRAM_BREAKAWAY",
            "CHAPTER",
            "BREAK",
            "OPENING_CREDIT",
            "CLOSING_CREDIT",
            "PROVIDER_PLACEMENT_OP",
            "DISTRIBUTOR_PLACEMENT_OP",
            "PROVIDER_OVERLAY_OP",
            "DISTRIBUTOR_OVERLAY_OP",
            "PROVIDER_AD",
            "DISTRIBUTOR_AD",
            "UNSCHEDULED_EVENT",
            "NETWORK",
            "SLATE",
            "NOT_INDICATED",
            "TIMED_METADATA",
            "TIMED_METADATA_MARKER_OVER_SLATE"
          ],
          "type": "string"
        },
        "upids": {
          "items": {
            "$ref": "#/$defs/TranscoderUPID"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "TranscoderHeader": {
      "additionalProperties": false,
      "properties": {
        "run_id": {
          "format": "int64",
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "TranscoderUPID": {
      "additionalProperties": false,
      "properties": {
        "id": {
          "contentEncoding": "base64",
          "type": "string"
        },
        "type": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}