// ======================================================================
// ===== CCTS Core Component Type Schema Module =====
// ======================================================================
// Module of Core Component Type
// Agency: UN/CEFACT
// VersionID: 1.1
// Last change: 14 January 2005
//
//
//
// Copyright (C) UN/CEFACT (2006). All Rights Reserved.
// This document and translations of it may be copied and furnished to others,
// and derivative works that comment on or otherwise explain it or assist
// in its implementation may be prepared, copied, published and distributed,
// in whole or in part, without restriction of any kind, provided that the
// above copyright notice and this paragraph are included on all such copies
// and derivative works. However, this document itself may not be modified in
// any way, such as by removing the copyright notice or references to
// UN/CEFACT, except as needed for the purpose of developing UN/CEFACT
// specifications, in which case the procedures for copyrights defined in the
// UN/CEFACT Intellectual Property Rights document must be followed, or as
//
//
// required to translate it into languages other than English.
// The limited permissions granted above are perpetual and will not be revoked
//
//
//
// by UN/CEFACT or its successors or assigns.
// This document and the information contained herein is provided on an "AS IS"
// basis and UN/CEFACT DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
// BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL
// NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
// FITNESS FOR A PARTICULAR PURPOSE.
schema urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2 (elementFormDefault=qualified)
ns cct = urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2
ns ccts = urn:un:unece:uncefact:documentation:2
// ===== Type Definitions =====
// ===================================================================
// ===== CCT: AmountType =====
// ===================================================================
type AmountType extends xsd:decimal
@currencyID : xsd:normalizedString
// The currency of the amount.
@currencyCodeListVersionID : xsd:normalizedString
// The VersionID of the UN/ECE Rec9 code list.
// ===== CCT: BinaryObjectType =====
// ===================================================================
type BinaryObjectType extends xsd:base64Binary
@format : xsd:string
// The format of the binary content.
@mimeCode : xsd:normalizedString
// The mime type of the binary object.
@encodingCode : xsd:normalizedString
// Specifies the decoding algorithm of the binary object.
@characterSetCode : xsd:normalizedString
// The character set of the binary object if the mime type is text.
@uri : xsd:anyURI
// The Uniform Resource Identifier that identifies where the binary object is located.
@filename : xsd:string
// The filename of the binary object.
// ===== CCT: CodeType =====
// ===================================================================
type CodeType extends xsd:normalizedString
@listID : xsd:normalizedString
// The identification of a list of codes.
@listAgencyID : xsd:normalizedString
// An agency that maintains one or more lists of codes.
@listAgencyName : xsd:string
// The name of the agency that maintains the list of codes.
@listName : xsd:string
// The name of a list of codes.
@listVersionID : xsd:normalizedString
// The version of the list of codes.
@name : xsd:string
// The textual equivalent of the code content component.
@languageID : xsd:language
// The identifier of the language used in the code name.
@listURI : xsd:anyURI
// The Uniform Resource Identifier that identifies where the code list is located.
@listSchemeURI : xsd:anyURI
// The Uniform Resource Identifier that identifies where the code list scheme is located.
// ===== CCT: DateTimeType =====
// ===================================================================
type DateTimeType extends xsd:string
@format : xsd:string
// The format of the date time content
// ===== CCT: IdentifierType =====
// ===================================================================
type IdentifierType extends xsd:normalizedString
@schemeID : xsd:normalizedString
// The identification of the identification scheme.
@schemeName : xsd:string
// The name of the identification scheme.
@schemeAgencyID : xsd:normalizedString
// The identification of the agency that maintains the identification scheme.
@schemeAgencyName : xsd:string
// The name of the agency that maintains the identification scheme.
@schemeVersionID : xsd:normalizedString
// The version of the identification scheme.
@schemeDataURI : xsd:anyURI
// The Uniform Resource Identifier that identifies where the identification scheme data is located.
@schemeURI : xsd:anyURI
// The Uniform Resource Identifier that identifies where the identification scheme is located.
// ===== CCT: IndicatorType =====
// ===================================================================
type IndicatorType extends xsd:string
@format : xsd:string
// Whether the indicator is numeric, textual or binary.
// ===== CCT: MeasureType =====
// ===================================================================
type MeasureType extends xsd:decimal
@unitCode : xsd:normalizedString
// The type of unit of measure.
@unitCodeListVersionID : xsd:normalizedString
// The version of the measure unit code list.
// ===== CCT: NumericType =====
// ===================================================================
type NumericType extends xsd:decimal
@format : xsd:string
// Whether the number is an integer, decimal, real number or percentage.
// ===== CCT: QuantityType =====
// ===================================================================
type QuantityType extends xsd:decimal
@unitCode : xsd:normalizedString
// The unit of the quantity
@unitCodeListID : xsd:normalizedString
// The quantity unit code list.
@unitCodeListAgencyID : xsd:normalizedString
// The identification of the agency that maintains the quantity unit code list
@unitCodeListAgencyName : xsd:string
// The name of the agency which maintains the quantity unit code list.
// ===== CCT: TextType =====
// ===================================================================
type TextType extends xsd:string
@languageID : xsd:language
// The identifier of the language used in the content component.
@languageLocaleID : xsd:normalizedString
// The identification of the locale of the language.