Definition Type: Element
Name: rating
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NewsML-G2_2.22-spec-All-Power.xsd
Abstract
Documentation:
Expresses the rating of the content of this item by a party.
Collapse XSD Schema Diagram:
Drilldown into ratingtypeuri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into ratingtype in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into ratertypeuri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into ratertype in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into raters in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into scaleunituri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into scaleunit in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into scalemax in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into scalemin in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into valcalctypeuri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into valcalctype in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into value in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into pubconstrainturi in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into pubconstraint in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into whyuri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into why in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into howuri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into how in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into custom in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into modified in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into creatoruri in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into creator in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into id in schema newsml-g2_2_22-spec-all-power_xsd Drilldown into commonPowerAttributes in schema newsml-g2_2_22-spec-all-power_xsdXSD Diagram of rating in schema newsml-g2_2_22-spec-all-power_xsd (SportsML)
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
id nsA:id Optional
creator nsA:creator Optional
creatoruri nsA:creatoruri Optional
modified nsA:modified Optional
custom nsA:custom Optional
how nsA:how Optional
howuri nsA:howuri Optional
why nsA:why Optional
whyuri nsA:whyuri Optional
pubconstraint nsA:pubconstraint Optional
pubconstrainturi nsA:pubconstrainturi Optional
value nsA:value Required
valcalctype nsA:valcalctype Optional
valcalctypeuri nsA:valcalctypeuri Optional
scalemin nsA:scalemin Required
scalemax nsA:scalemax Required
scaleunit nsA:scaleunit (Optional)
scaleunituri nsA:scaleunituri (Optional)
raters nsA:raters Optional
ratertype nsA:ratertype Optional
ratertypeuri nsA:ratertypeuri Optional
ratingtype nsA:ratingtype (Optional)
ratingtypeuri nsA:ratingtypeuri (Optional)
<anyAttribute> Allowed namespace: '##other'