Definition Type: Element
Name: hash
Namespace: http://iptc.org/std/nar/2006-10-01/
Type: string:http://www.w3.org/2001/XMLSchema
Containing Schema: NewsML-G2_2.23-spec-All-Core.xsd
Abstract
Documentation:
Hash value of parts of an item as defined by the hashscope attribute
Collapse XSD Schema Diagram:
Drilldown into scopeuri in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into scope in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into hashtypeuri in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into hashtype in schema newsml-g2_2_23-spec-all-core_xsdXSD Diagram of hash in schema newsml-g2_2_23-spec-all-core_xsd (News Markup Language (NewsML) - Core)
Collapse XSD Schema Code:
<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:extension>
        </xs:simpleContent>
    </xs:complexType>
</xs:element>
Collapse Child Attributes:
Name Type Default Value Use
hashtype nsB:hashtype (Optional)
hashtypeuri nsB:hashtypeuri (Optional)
scope nsB:scope (Optional)
scopeuri nsB:scopeuri (Optional)