hash

Hash value of parts of an item as defined by the hashscope attribute

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.
hashtype QCodeType optional
The hash algorithm used for creating the hash value - expressed by a QCode / either the hashtype or the hashtypeuri attribute MUST be used
hashtypeuri IRIType optional
The hash algorithm used for creating the hash value - expressed by a URI / either the hashtype or the hashtypeuri attribute MUST be used
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.
scope QCodeType optional
The scope of a G2 item's content which is the reference for creating the hash value - expressed by a QCode. If the attribute is omitted http://cv.iptc.org/newscodes/hashscope/content is the default value.
scopeuri IRIType optional
The scope of a G2 item's content which is the reference for creating the hash value - expressed by a URI. If the attribute is omitted http://cv.iptc.org/newscodes/hashscope/content is the default value.
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

Used By

Element Group ItemManagementGroup
Complex Type RemoteContentPropType

Source

<xs:element name="hash">
  <xs:annotation>
    <xs:documentation>Hash value of parts of an item as defined by the hashscope attribute</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="hashtype" type="QCodeType">
          <xs:annotation>
            <xs:documentation>The hash algorithm used for creating the hash value - expressed by a QCode / either the hashtype or the hashtypeuri attribute MUST be used</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="hashtypeuri" type="IRIType">
          <xs:annotation>
            <xs:documentation>The hash algorithm used for creating the hash value - expressed by a URI / either the hashtype or the hashtypeuri attribute MUST be used</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="scope" type="QCodeType">
          <xs:annotation>
            <xs:documentation>The scope of a G2 item's content which is the reference for creating the hash value - expressed by a QCode. If the attribute is omitted http://cv.iptc.org/newscodes/hashscope/content is the default value.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="scopeuri" type="IRIType">
          <xs:annotation>
            <xs:documentation>The scope of a G2 item's content which is the reference for creating the hash value - expressed by a URI. If the attribute is omitted http://cv.iptc.org/newscodes/hashscope/content is the default value.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attributeGroup ref="commonPowerAttributes"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

Sample