Inheritance
It is possible that a property will occur at multiple levels of the Simply.TV metadata hierarchy, with values specific to that level. For example, Simply.TV may supply:
- A synopsis that describes a series as a whole.
- A synopsis that includes the story development specific to a single season.
- A synopsis that includes the story development specific to a single episode.
- A season document will include the synopses for the relevant season and the synopses for its parent series.
- An event document will include the synopses for the relevant program, its parent season and its grandparent series.
"searchableTextItems": [
{
"hierarchyLevel": "program",
"type": "synopsis",
"value": {
"en": "Jimmy Carr hosts this extended version of the topical comedy panel game. He is joined by team captains Sean Lock and Jon Richardson and a host of guests including Alex Jones, Tinchy Stryder, David O'Doherty and Katherine Ryan"
}
},
{
"hierarchyLevel": "season",
"type": "synopsis",
"value": {
"en": "The sixteenth series of the popular comedy panel game hosted by comedian Jimmy Carr"
}
},
{
"hierarchyLevel": "series",
"type": "synopsis",
"value": {
"en": "Topical British comedy panel game hosted by comedian Jimmy Carr, in which panellists answer questions based on public opinion."
}
}
]
This applies not only to synopses but also to titles, images, tags etc.
Several simple properties such as seasonId, seasonNumber and numberOfEpisodes (in season) are also copied down the program hierarchy. These properties only really apply to one specific level. Their name alone should make clear which level that is.