Definition Type: Element
Name: scheme
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NewsML-G2_2.23-spec-All-Core.xsd
MinOccurs (1)
MaxOccurs unbounded
Abstract
Documentation:
A scheme alias-to-URI mapping.
Collapse XSD Schema Diagram:
Drilldown into sameAs in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into note in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into definition in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into name in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into sameAsScheme in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into authority in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into uri in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into alias in schema newsml-g2_2_23-spec-all-core_xsdXSD Diagram of scheme in schema newsml-g2_2_23-spec-all-core_xsd (News Markup Language (NewsML) - Core)
Collapse XSD Schema Code:
<xs:element name="scheme" maxOccurs="unbounded">
    <xs:annotation>
        <xs:documentation>A scheme alias-to-URI mapping.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element ref="sameAsScheme" />
            <xs:element ref="name">
                <xs:annotation>
                    <xs:documentation>A natural language name for the scheme.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element ref="definition">
                <xs:annotation>
                    <xs:documentation>A natural language definition of the semantics of the scheme. This definition is normative only for the scope of the use of this scheme.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element ref="note">
                <xs:annotation>
                    <xs:documentation>Additional natural language information about the scheme.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="sameAs">
                <xs:annotation>
                    <xs:documentation>Use is DEPRECATED - use sameAsScheme instead. (A URI which identifies another scheme with concepts that use the same codes and are semantically equivalent to the concepts of this scheme)</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="IRIType">
                            <xs:attribute name="g2flag" type="xs:string" use="optional" fixed="DEPR-SCH">
                                <xs:annotation>
                                    <xs:documentation>DO NOT USE this attribute, for G2 internal maintenance purposes only.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
        </xs:choice>
        <xs:attribute name="alias" type="xs:NCName" use="required">
            <xs:annotation>
                <xs:documentation>A short string used by the provider as a replacement for a scheme URI.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="uri" type="IRIType" use="required">
            <xs:annotation>
                <xs:documentation>The URI which identifies the scheme.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="authority" type="IRIType">
            <xs:annotation>
                <xs:documentation>Defines the authority controlling this scheme</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="##other" processContents="lax" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
sameAsScheme nsB:sameAsScheme (1) (1)
name nsB:name (1) (1)
definition nsB:definition (1) (1)
note nsB:note (1) (1)
sameAs nsB:sameAs (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
alias nsB:alias Required
uri nsB:uri Required
authority nsB:authority (Optional)
<anyAttribute> Allowed namespace: '##other'