OpenTV ENTera & OpenTV Platform Documentation

persons (common for re-use)


7f9d20f3e23c5ce8db7d06394c6ee1c1.png

Elements and attributes

persons
XML Element Type Required Description
person [PersonType]
  • Occurrence1..unbounded
Required <dl><dt>id</dt><dd>Unique identifier of the person</dd><dt>dateOfBirth</dt><dd>Date of birth of the person in 'YYYY-MM-DD' format</dd><dt>type</dt><dd>The type of person, restricted to cast or persona</dd></dl>
PersonType / names [NamesType]
  • Occurrence0..unbounded
Optional Defines the locale specific name of the person<dl><dt>locale</dt><dd>Language-country code in which the name is written.It must be conformed to ISO-639 and ISO 3166-1.</dd></dl>
NamesType / name string
  • Whitespacepreserve
  • Occurrence0..1
Optional locale specific name of the person
PersonType / details [DetailsType]
  • Occurrence0..unbounded
Optional Defines the locale specific bio data of the person<dl><dt>locale</dt><dd>Language-country code in which the bio data is written.It must be conformed to ISO-639 and ISO 3166-1.</dd></dl>
DetailsType / bio string
  • Whitespacepreserve
  • Occurrence0..1
Optional locale specific bio data of the person
PersonType / roles string
  • Whitespacepreserve
  • Occurrence0..1
Optional One more roles played by the person for this program, semi colon separated. For example writer, director, actor
PersonType / images [ImageSetType]
  • Occurrence0..1
Optional
ImageSetType / image [ImageType]
  • Occurrence1..unbounded
Required <dl><dt>id</dt><dd>unique identifier of the image</dd><dt>uri</dt><dd>Uri of the image for download</dd><dt>status</dt><dd>The Status of the image, could be either active or inactive</dd><dt>locale</dt><dd>Language-country code in which the name is written.It must be conformed to ISO-639 and ISO 3166-1.</dd></dl>
ImageType / height integer
  • Pattern[\-+]?[0-9]+
  • Whitespacecollapse
  • Occurrence0..1
Optional image height
ImageType / width integer
  • Pattern[\-+]?[0-9]+
  • Whitespacecollapse
  • Occurrence0..1
Optional image width
ImageType / orientation string
  • Whitespacepreserve
  • Occurrence0..1
Optional image orientation, for example, landscape or portrait
ImageType / aspect string
  • Whitespacepreserve
  • Occurrence0..1
Optional Aspect ratio of the Image, for example, 16x9
ImageType / category string
  • Whitespacepreserve
  • Occurrence0..1
Optional Category of the Image
ImageType / text [ImageTextEnumType]
  • Whitespacepreserve
  • Enumeration
    • yes
    • no
  • Occurrence0..1
Optional Indicates if the filter for image types is with or without text. It is a fixed value, could be either yes or no
ImageType / primary boolean
  • Whitespacecollapse
  • Occurrence0..1
Optional Indicates if the image is primary or not
ImageType / preferred boolean
  • Whitespacecollapse
  • Occurrence0..1
Optional Indicates if the image is preferred or not
ImageType / captions [CaptionsType]
  • Occurrence0..unbounded
Optional Set of locale specific image titles<dl><dt>locale</dt><dd>Language-country code in which the caption title is written. It must conform to ISO-639 and ISO 3166-1.</dd></dl>
CaptionsType / title string
  • Whitespacepreserve
  • Occurrence0..1
Optional Locale specific name of the image
ImageType / externalId [ExternalIdType]
  • Occurrence0..1
Optional Source information of the image
ExternalIdType / externalSource [ExternalSourceType]
  • Occurrence1
Required <dl><dt>sourceName</dt><dd>Name of the external source, for example, gracenote, imdb etc., </dd><dt>resourceId</dt><dd>Identifier of the resource(person or image) in the external source</dd></dl>
ImageType / locale string
  • Whitespacepreserve
  • Occurrence0..unbounded
Optional Language-country code in which the name is written.It must be conformed to ISO-639 and ISO 3166-1.
PersonType / externalIds [ExternalIdsType]
  • Occurrence0..1
Optional Source information of the person
ExternalIdsType / externalSource [ExternalSourceType]
  • Occurrence1..unbounded
Required <dl><dt>sourceName</dt><dd>Name of the external source, for example, gracenote, imdb etc., </dd><dt>resourceId</dt><dd>Identifier of the resource(person or image) in the external source</dd></dl>