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.

<userInteraction>

Reflects a specific kind of user interaction with the content of this item.

Note
Usage note

Element expressing the number of times that end-users have interacted with content in the form of "Likes", votes, tweets and other metrics. If the element is used, it has two mandatory attributes:

  • interactions: the count of executed interactions (expressed as a non-negative integer)

  • interactiontype: a QCode indicating the type of interaction.

Datatype specifications ~~~~~~~~~

All XML data types of NewsML-G2 are defined by the NewsML-G2 Schema see how to get them in the The Full Set of Specification Documents section.

This section only adds for some data types' User Notes, Implementation Notes or recommended Controlled Vocabularies which are not in the NewsML-G2 XML Schema version 2.36.
Data types not having such additional information are not listed here.

Content model

No child elements.

Attributes

Attribute Type Use Description

Declared on this element

interactions

nonNegativeInteger

required

The count of executed interactions.

interactiontype

QCodeType

optional

The type of interaction which is reflected by this property - expressed by a QCode / either the interactiontype or the interactiontype uri attribute MUST be used

interactiontypeuri

IRIType

optional

The type of interaction which is reflected by this property - expressed by a URI / either the interactiontype or the interactiontype uri attribute MUST be used

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