{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/istreamplanet/json-schema/istreamplanet-deprecated-get-program-response-body-schema.json",
  "title": "DeprecatedGetProgramResponseBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/istreamplanet-deprecated-live2vod-api-openapi.yml#/components/schemas/DeprecatedGetProgramResponseBody",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "clear_segment_config": {
      "$ref": "#/$defs/ClearSegmentConfig"
    },
    "description": {
      "description": "description of the program",
      "type": "string"
    },
    "file_count": {
      "description": "total number off files for the program",
      "format": "int64",
      "type": "integer"
    },
    "last_published": {
      "description": "date last published",
      "format": "date-time",
      "type": "string"
    },
    "progid": {
      "description": "id for the program",
      "type": "string"
    },
    "pub_clip_id": {
      "description": "clip id",
      "format": "int64",
      "type": "integer"
    },
    "pub_vod_id": {
      "description": "vod id",
      "format": "int64",
      "type": "integer"
    },
    "retention_days": {
      "description": "number of days to retain",
      "format": "int64",
      "type": "integer"
    },
    "total_bytes": {
      "description": "total bytes in the program",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "progid",
    "description",
    "total_bytes",
    "file_count",
    "last_published",
    "pub_vod_id",
    "pub_clip_id",
    "retention_days",
    "clear_segment_config"
  ],
  "type": "object",
  "$defs": {
    "ClearSegmentConfig": {
      "additionalProperties": false,
      "properties": {
        "first_published": {
          "description": "date first published",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "store": {
          "description": "store location",
          "type": "string"
        },
        "store_prefix": {
          "description": "prefix of the store",
          "type": "string"
        }
      },
      "required": [
        "store",
        "store_prefix",
        "first_published"
      ],
      "type": "object"
    }
  }
}