rating

Expresses the rating of the content of this item by a party.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
creator QCodeType optional
If the attribute is empty, specifies which entity (person, organisation or system) will edit the property - expressed by a QCode. If the attribute is non-empty, specifies which entity (person, organisation or system) has edited the property.
creatoruri IRIType optional
If the attribute is empty, specifies which entity (person, organisation or system) will edit the property - expressed by a URI. If the attribute is non-empty, specifies which entity (person, organisation or system) has edited the property.
custom xs:boolean optional
If set to true the corresponding property was added to the G2 Item for a specific customer or group of customers only. The default value of this property is false which applies when this attribute is not used with the property.
how QCodeType optional
Indicates by which means the value was extracted from the content - expressed by a QCode
howuri IRIType optional
Indicates by which means the value was extracted from the content - expressed by a URI
id xs:ID optional
The local identifier of the property.
modified DateOptTimeType optional
The date (and, optionally, the time) when the property was last modified. The initial value is the date (and, optionally, the time) of creation of the property.
pubconstraint QCodeListType optional
One or many constraints that apply to publishing the value of the property - expressed by a QCode. Each constraint applies to all descendant elements.
pubconstrainturi IRIListType optional
One or many constraints that apply to publishing the value of the property - expressed by a URI. Each constraint applies to all descendant elements.
raters xs:nonNegativeInteger optional
The number of parties acting as raters.
ratertype QCodeType optional
The type of the rating parties - expressed by a QCode
ratertypeuri IRIType optional
The type of the rating parties - expressed by a URI
ratingtype QCodeType optional
Full definition of the rating - expressed by a QCode
ratingtypeuri IRIType optional
Full definition of the rating - expressed by a URI
scalemax xs:decimal required
Indicates the value of the rating scale used for the highest/best rating.
scalemin xs:decimal required
Indicates the value of the rating scale used for the lowest/worst rating.
scaleunit QCodeType optional
The units which apply to the rating scale - expressed by a QCode / either the scaleunit or the scaleunituri attribute MUST be used
scaleunituri IRIType optional
The units which apply to the rating scale - expressed by a URI / either the scaleunit or the scaleunituri attribute MUST be used
valcalctype QCodeType optional
Indicates how the value was calculated (by methods like median, average ...) - expressed by a QCode
valcalctypeuri IRIType optional
Indicates how the value was calculated (by methods like median, average ...) - expressed by a URI
value xs:decimal required
The rating of the content expressed as decimal value from a scale.
why QCodeType optional
Why the metadata has been included - expressed by a QCode
whyuri IRIType optional
Why the metadata has been included - expressed by a URI
Wildcard: ANY attribute from ANY namespace OTHER than 'http://iptc.org/std/nar/2006-10-01/'

Used By

Source

<xs:element name="rating">
  <xs:annotation>
    <xs:documentation>Expresses the rating of the content of this item by a party.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attributeGroup ref="commonPowerAttributes"/>
    <xs:attribute name="value" type="xs:decimal" use="required">
      <xs:annotation>
        <xs:documentation>The rating of the content expressed as decimal value from a scale.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="valcalctype" type="QCodeType" use="optional">
      <xs:annotation>
        <xs:documentation>Indicates how the value was calculated (by methods like median, average ...) - expressed by a QCode</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="valcalctypeuri" type="IRIType" use="optional">
      <xs:annotation>
        <xs:documentation>Indicates how the value was calculated (by methods like median, average ...) - expressed by a URI</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="scalemin" type="xs:decimal" use="required">
      <xs:annotation>
        <xs:documentation>Indicates the value of the rating scale used for the lowest/worst rating.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="scalemax" type="xs:decimal" use="required">
      <xs:annotation>
        <xs:documentation>Indicates the value of the rating scale used for the highest/best rating.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="scaleunit" type="QCodeType">
      <xs:annotation>
        <xs:documentation>The units which apply to the rating scale - expressed by a QCode / either the scaleunit or the scaleunituri attribute MUST be used</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="scaleunituri" type="IRIType">
      <xs:annotation>
        <xs:documentation>The units which apply to the rating scale - expressed by a URI / either the scaleunit or the scaleunituri attribute MUST be used</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="raters" type="xs:nonNegativeInteger" use="optional">
      <xs:annotation>
        <xs:documentation>The number of parties acting as raters.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ratertype" type="QCodeType" use="optional">
      <xs:annotation>
        <xs:documentation>The type of the rating parties - expressed by a QCode</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ratertypeuri" type="IRIType" use="optional">
      <xs:annotation>
        <xs:documentation>The type of the rating parties - expressed by a URI</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ratingtype" type="QCodeType">
      <xs:annotation>
        <xs:documentation>Full definition of the rating - expressed by a QCode</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ratingtypeuri" type="IRIType">
      <xs:annotation>
        <xs:documentation>Full definition of the rating - expressed by a URI</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>
</xs:element>

Sample