Representing transmission data

Transmissions usually represent the bulk of data being transferred between systems.

Importantly for a transmission the figures are calculated across the non-interval aspect of the programme - therefore the viewing figures are not affected by those that skip the breaks within it.

<transmission
  channel="A channel name"
  date="2019-01-01"
  startTime="06:00:00"
  endTime="06:58:52"
  totalDurationInSeconds="3532"
  nonIntervalDurationInSeconds="3219"
  >
  <title language="en-US">Sample programme</title>
  <title language="es-BR">Programa de muestra</title>
  <figure
    demo="Adults"
    audience="300"
    share="3.2"
    tvr="0.4"
  />
  <figure
    demo="Women"
    audience="200"
    share="2.2"
    tvr="0.4"
  />
</transmission>
{
  "channel": "A channel name",
  "date": "2019-01-01",;
  "startTime": "06:00:00",
  "endTime": "06:58:52",
  "totalDurationInSeconds": 3532,
  "nonIntervalDurationInSeconds": 3219,
  "titles": [
    { "language": "en-US", "title": "Sample programme" },
    { "language": "es-BR", "title": "Programa de muestra" }
  ],
  "figures": [ 
    {
      "demo": "Adults",
      "audience": 300,
      "share": 3.2,
      "tvr": 0.4
    },
    {
      "demo": "Women",
      "audience": 200,
      "share": 2.2,
      "tvr": 0.4
    }
  ]
}

A common problem within TV data systems is how to represent programmes that span the broadcast day. In our experience few systems deal with this correctly.

It is also common to have programmes that contain other programmes - an example is what is commonly known as a ‘magazine’ show. We have designed the schemas to represent this in the same way that we allow intervals to be represented within transmissions.

<transmission
  channel="A channel name"
  date="2019-01-01"
  startTime="06:00:00"
  endTime="06:58:52"
  totalDurationInSeconds="3532"
  nonIntervalDurationInSeconds="3219"
  >
  <title language="en-US">Sample programme</title>
  <title language="es-BR">Programa de muestra</title>
  <figure
    demo="Adults"
    audience="300"
    share="3.2"
    tvr="0.4"
  />
  <figure
    demo="Women"
    audience="200"
    share="2.2"
    tvr="0.4"
  />
  <transmission
    startTime="06:20:10"
    endTime="06:30:10"
  >
    <title>Inner programme</title>
  </transmission>
</transmission>
{
  "channel": "A channel name",
  "date": "2019-01-01",;
  "startTime": "06:00:00",
  "endTime": "06:58:52",
  "totalDurationInSeconds": 3532,
  "nonIntervalDurationInSeconds": 3219,
  "titles": [
    { "language": "en-US", "title": "Sample programme" },
    { "language": "es-BR", "title": "Programa de muestra" }
  ],
  "figures": [ 
    {
      "demo": "Adults",
      "audience": 300,
      "share": 3.2,
      "tvr": 0.4
    },
    {
      "demo": "Women",
      "audience": 200,
      "share": 2.2,
      "tvr": 0.4
    }
  ],
  "transmissions": [
    {
      "startTime": "06:20:10",
      "endTime": "06:30:10",
      "title": "Inner programme"
    }
  ]
}

The example above shows how transmissions can be nested.