OpenTV ENTera & OpenTV Platform Documentation

images XML format (child of contentGroup)

images
XML Element Type Required Description
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.