Definition Type: ComplexType
Name: QuantityType
Namespace: urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2
Type: decimal:http://www.w3.org/2001/XMLSchema
Containing Schema: CCTS_CCT_SchemaModule-2.0.xsd
Abstract
Documentation:
UNDT000018 CCT Quantity. Type 1.0 A counted number of non-monetary units possibly including fractions. Quantity decimal
Collapse XSD Schema Diagram:
Drilldown into unitCodeListAgencyName in schema ccts_cct_schemamodule-2_0_xsd Drilldown into unitCodeListAgencyID in schema ccts_cct_schemamodule-2_0_xsd Drilldown into unitCodeListID in schema ccts_cct_schemamodule-2_0_xsd Drilldown into unitCode in schema ccts_cct_schemamodule-2_0_xsdXSD Diagram of QuantityType in schema ccts_cct_schemamodule-2_0_xsd (OASIS Universal Business Language (UBL) TC)
Collapse XSD Schema Code:
<xsd:complexType name="QuantityType">
    <xsd:annotation>
        <xsd:documentation xml:lang="en">
            <ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2">UNDT000018</ccts:UniqueID>
            <ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2">CCT</ccts:CategoryCode>
            <ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity. Type</ccts:DictionaryEntryName>
            <ccts:VersionID xmlns:ccts="urn:un:unece:uncefact:documentation:2">1.0</ccts:VersionID>
            <ccts:Definition xmlns:ccts="urn:un:unece:uncefact:documentation:2">A counted number of non-monetary units possibly including fractions.</ccts:Definition>
            <ccts:RepresentationTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity</ccts:RepresentationTermName>
            <ccts:PrimitiveType xmlns:ccts="urn:un:unece:uncefact:documentation:2">decimal</ccts:PrimitiveType>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="xsd:decimal">
            <xsd:attribute name="unitCode" type="xsd:normalizedString" use="optional">
                <xsd:annotation>
                    <xsd:documentation xml:lang="en">
                        <ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2">UNDT000018-SC2</ccts:UniqueID>
                        <ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2">SC</ccts:CategoryCode>
                        <ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity. Unit. Code</ccts:DictionaryEntryName>
                        <ccts:Definition xmlns:ccts="urn:un:unece:uncefact:documentation:2">The unit of the quantity</ccts:Definition>
                        <ccts:ObjectClass xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity</ccts:ObjectClass>
                        <ccts:PropertyTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Unit Code</ccts:PropertyTermName>
                        <ccts:RepresentationTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Code</ccts:RepresentationTermName>
                        <ccts:PrimitiveType xmlns:ccts="urn:un:unece:uncefact:documentation:2">string</ccts:PrimitiveType>
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="unitCodeListID" type="xsd:normalizedString" use="optional">
                <xsd:annotation>
                    <xsd:documentation xml:lang="en">
                        <ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2">UNDT000018-SC3</ccts:UniqueID>
                        <ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2">SC</ccts:CategoryCode>
                        <ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity Unit. Code List. Identifier</ccts:DictionaryEntryName>
                        <ccts:Definition xmlns:ccts="urn:un:unece:uncefact:documentation:2">The quantity unit code list.</ccts:Definition>
                        <ccts:ObjectClass xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity Unit</ccts:ObjectClass>
                        <ccts:PropertyTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Code List</ccts:PropertyTermName>
                        <ccts:RepresentationTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Identifier</ccts:RepresentationTermName>
                        <ccts:PrimitiveType xmlns:ccts="urn:un:unece:uncefact:documentation:2">string</ccts:PrimitiveType>
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="unitCodeListAgencyID" type="xsd:normalizedString" use="optional">
                <xsd:annotation>
                    <xsd:documentation xml:lang="en">
                        <ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2">UNDT000018-SC4</ccts:UniqueID>
                        <ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2">SC</ccts:CategoryCode>
                        <ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity Unit. Code List Agency. Identifier</ccts:DictionaryEntryName>
                        <ccts:Definition xmlns:ccts="urn:un:unece:uncefact:documentation:2">The identification of the agency that maintains the quantity unit code list</ccts:Definition>
                        <ccts:ObjectClass xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity Unit</ccts:ObjectClass>
                        <ccts:PropertyTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Code List Agency</ccts:PropertyTermName>
                        <ccts:RepresentationTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Identifier</ccts:RepresentationTermName>
                        <ccts:PrimitiveType xmlns:ccts="urn:un:unece:uncefact:documentation:2">string</ccts:PrimitiveType>
                        <ccts:UsageRule xmlns:ccts="urn:un:unece:uncefact:documentation:2">Defaults to the UN/EDIFACT data element 3055 code list.</ccts:UsageRule>
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="unitCodeListAgencyName" type="xsd:string" use="optional">
                <xsd:annotation>
                    <xsd:documentation xml:lang="en">
                        <ccts:UniqueID xmlns:ccts="urn:un:unece:uncefact:documentation:2">UNDT000018-SC5</ccts:UniqueID>
                        <ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:2">SC</ccts:CategoryCode>
                        <ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity Unit. Code List Agency Name. Text</ccts:DictionaryEntryName>
                        <ccts:Definition xmlns:ccts="urn:un:unece:uncefact:documentation:2">The name of the agency which maintains the quantity unit code list.</ccts:Definition>
                        <ccts:ObjectClass xmlns:ccts="urn:un:unece:uncefact:documentation:2">Quantity Unit</ccts:ObjectClass>
                        <ccts:PropertyTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Code List Agency Name</ccts:PropertyTermName>
                        <ccts:RepresentationTermName xmlns:ccts="urn:un:unece:uncefact:documentation:2">Text</ccts:RepresentationTermName>
                        <ccts:PrimitiveType xmlns:ccts="urn:un:unece:uncefact:documentation:2">string</ccts:PrimitiveType>
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
unitCode cct:unitCode Optional
unitCodeListID cct:unitCodeListID Optional
unitCodeListAgencyID cct:unitCodeListAgencyID Optional
unitCodeListAgencyName cct:unitCodeListAgencyName Optional