NewsML-G2 2.36

Preview. Generated from the NewsML-G2 2.36 XML Schema by tools/xsdref. This layout is a harness for reviewing structure and content — it is not the published site.

<rating>

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

Note
Usage note

User Note: On the raters attribute:

  1. If raters is not present the number of raters defaults to 1

  2. raters does not require that the count indicates distinct persons.

Implementation Note: on valcalctype:

A CV for the calculation type should include: mean, median, sum, unknown

Content model

No child elements.

Attributes

Attribute Type Use Description

Declared on this element

value

decimal

required

The rating of the content expressed as decimal value from a scale.

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

scalemin

decimal

required

Indicates the value of the rating scale used for the lowest/worst rating.

scalemax

decimal

required

Indicates the value of the rating scale used for the highest/best 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

raters

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

From commonPowerAttributes

id

ID

optional

The local identifier of the property.

creator

QCodeType

optional

If the property value is not defined, specifies which entity (person, organisation or system) will edit the property value - expressed by a QCode. If the property value is defined, specifies which entity (person, organisation or system) has edited the property value.

creatoruri

IRIType

optional

If the property value is not defined, specifies which entity (person, organisation or system) will edit the property - expressed by a URI. If the property value is defined, specifies which entity (person, organisation or system) has edited 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.

custom

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

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

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.

This element is an extension point: properties from other XML namespaces may be added.

Used by