The ParentalRating class
A ParentalRating object describes a parental rating value for a programme or channel. The ParentalRating object identifies both the rating scheme in use, and the parental rating value within that scheme.
In case of a BCG the values of the properties in this object will be read from the ParentalGuidance element that is the child of a programme’s BCG description.
|readonly String name|
|The string representation of the parental rating value for the respective rating scheme denoted by property scheme. Valid strings include: · if the value of property scheme represents one of the parental rating classification scheme names identified by [MPEG-7]: the string representation of one of the parental rating values as defined by one of the <Name> elements. · if the value of property scheme is ”urn:oipf:GermanyFSKCS” , the string representation of one the values for the GermanyFSK rating scheme as defined in [OIPF_META2]. · if the value of property scheme is equal to “dvb-si”, this means that the scheme of a minimum recommended age encoded as per ratings 0x01 to 0x0f in the parental rating descriptor from [EN 300 468], which corresponds to rating_type 0 in [IEC62455]. NOTE: If the broadcaster defined range from 0x10 to 0xff is used then that would be a different parental rating scheme and not “dvb-si”. An example of a valid parental rating value is “PG-13”.|
|readonly String scheme|
|Unique name identifying the parental rating guidance scheme to which this parental rating value refers. Valid strings include: · the URI of one of the MPEG-7 classification schemes representing a parental rating scheme as defined by the “uri” attribute of one of the parental rating <ClassificationScheme> elements in [MPEG-7]. · the string value “urn:oipf:GermanyFSKCS” to represent the GermanyFSK rating scheme as defined in [OIPF_META2]. · the string value “dvb-si”: this means that the scheme of a minimum recommended age encoded as per [EN 300 468], is used to represent the parental rating values.|
|readonly Integer value|
|The parental rating value represented as an index into the set of values defined as part of the ParentalRatingScheme identified through property “scheme”. If an associated ParentalRatingScheme object can be found by calling method getParentalRatingScheme() on property parentalRatingSchemes of the application/oipfParentalControlManager object and the value of property scheme is not equal to “dvb-si”, then the value property SHALL represent the index of the parental rating value inside the ParentalRatingScheme object, or -1 if the value cannot be found. If the value of property scheme is equal to “dvb-si”, then this property SHALL be the integer representation of the string value of ParentalRating property name. If no associated ParentalRatingScheme object can be found by calling method getParentalRatingScheme on property parentalRatingSchemes of the application/oipfParentalControlManager object, then the value property SHALL have value undefined.|
|readonly String region|
|The region to which the parental rating value applies as an alpha-2 region code as defined in ISO 3166-1. Returns undefined if no specific region has been defined.|