Cover Pages Logo SEARCH
Advanced Search
ABOUT
Site Map
CP RSS Channel
Contact Us
Sponsoring CP
About Our Sponsors

NEWS
Cover Stories
Articles & Papers
Press Releases

CORE STANDARDS
XML
SGML
Schemas
XSL/XSLT/XPath
XLink
XML Query
CSS
SVG

TECHNOLOGY REPORTS
XML Applications
General Apps
Government Apps
Academic Apps

EVENTS
LIBRARY
Introductions
FAQs
Bibliography
Technology and Society
Semantics
Tech Topics
Software
Related Standards
Historic

UBL CoreComponentTypes 2002-03


From http://oasis-open.org/committees/ubl/lcsc/doc/UBL_LCSC_0p64.zip. See the news item "UBL Library Content Subcommittee Releases Draft UBL Library of Reusable Types."

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Claus von Riegen (SAP AG ZL II Postst. TECHDEV BPT) -->
<!--Generated by XML Authority. Conforms to w3c http://www.w3.org/2001/XMLSchema-->
<xs:schema targetNamespace="CoreComponentTypes.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cct="CoreComponentTypes.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:simpleType name="AmountContentType" id="000106">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A number of monetary units specified in a currency is explicit or implied,</xs:documentation>
		</xs:annotation>
		<xs:restriction base="decimal"/>
	</xs:simpleType>
	<xs:simpleType name="AmountCurrencyIdentificationCodeType" id="000107">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The currency of the amount.Reference ISO 4217</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="CodeContentType" id="000091">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A character string (letters, figures or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="CodeListAgencyIdentifierType" id="000093">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">An agency that maintains one or more code lists.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="CodeListIdentifierType" id="000092">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The name of a list of codes. Can be used to identify the URL of a source that defines the set of currently approved permitted values</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="CodeListVersionIdentifierType" id="000099">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The version of the code list.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="CodeNameType" id="000100">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The textual equivalent of the code content. If no code content exists, the code name can be used on its own.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="string"/>
	</xs:simpleType>
	<xs:simpleType name="DateTimeContentType" id="000067">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The particular point in the progression of time.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="string"/>
	</xs:simpleType>
	<xs:simpleType name="DateTimeFormatTextType" id="000068">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The format of the date/time content. Reference ISO 8601</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="GraphicContentType" id="000202">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A diagram, graph, mathematical curves, or similar representation.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="base64Binary"/>
	</xs:simpleType>
	<xs:simpleType name="GraphicFormatTextType" id="000203">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The format of the graphic content</xs:documentation>
		</xs:annotation>
		<xs:restriction base="ID"/>
	</xs:simpleType>
	<xs:simpleType name="IdentificationSchemeAgencyNameType" id="000104">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The agency that maintains the identification scheme.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="IdentificationSchemeNameType" id="000103">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The name of the identification scheme.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="IdentifierContentType" id="000102">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects within the same scheme.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="string"/>
	</xs:simpleType>
	<xs:simpleType name="IndicatorContentType" id="000181">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The value of the indicator. For example on, off, true, false.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="IndicatorFormatTextType">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">Whether the indicator is numeric, textual or binary.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="LanguageCodeType" id="000075">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The identifier of the language used in the corresponding text string.
Reference ISO 639: 1998</xs:documentation>
		</xs:annotation>
		<xs:restriction base="language"/>
	</xs:simpleType>
	<xs:simpleType name="MeasureContentType" id="000153">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The size, volume, mass, amount or scope derived by performing a physical measure.
For example, 20 kilograms (20 is the measure content).</xs:documentation>
		</xs:annotation>
		<xs:restriction base="decimal"/>
	</xs:simpleType>
	<xs:simpleType name="MeasureUnitCodeType" id="000154">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The type of unit of measure. Reference UN/ECE Recommendation #20 and X12 355. For example, for $10/100 km use CCT quantity type and for a measured distance of 20 kilometres use CCT measure type:</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="NumericContentType" id="000183">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The representation of a number. May be decimal.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="decimal"/>
	</xs:simpleType>
	<xs:simpleType name="NumericFormatTextType" id="000204">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">Whether the number is an integer, decimal, real number or percentage.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="PictureContentType" id="000205">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A visual representation of a person, object, or scene.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="base64Binary"/>
	</xs:simpleType>
	<xs:simpleType name="PictureFormatTextType" id="000206">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The acronym of the coding scheme used to record the picture.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="ID"/>
	</xs:simpleType>
	<xs:simpleType name="QuantityContentType" id="000109">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A number of non-monetary units.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="QuantityUnitCodeType" id="000110">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The unit of the quantity. May use UN/ECE Recommendation #20 and X12 355, but for actual measurements use the CCT measure type. For example, for $10/100 km use CCT quantity type and for a measured distance of 20 kilometers use CCT measure type.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="QuantityUnitCodeListAgencyIdentifierType" id="000112">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The agency which maintains the quantity unit code list.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="QuantityUnitCodeListIdentifierType" id="000111">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The quantity unit code list.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="token"/>
	</xs:simpleType>
	<xs:simpleType name="TextContentType" id="000094">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A character string generally in the form of words.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="string"/>
	</xs:simpleType>
	<xs:complexType name="AmountType" id="000105">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A number of monetary units specified in a currency where the unit of currency is explicit or implied.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:AmountContentType">
				<xs:attribute name="AmountCurrencyIdentificationCode" type="cct:AmountCurrencyIdentificationCodeType">
					<xs:annotation>
						<xs:documentation source=" V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="CodeType" id="000089">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A character string (letters, figures or symbols) that for brevity and/or language independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:CodeContentType">
				<xs:attribute name="CodeListIdentifier" type="cct:CodeListIdentifierType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="CodeListAgencyIdentifier" type="cct:CodeListAgencyIdentifierType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="CodeListVersionIdentifier" type="cct:CodeListVersionIdentifierType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="CodeName" type="cct:CodeNameType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="LanguageCode" type="cct:LanguageCodeType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="DateTimeType" id="000066">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A particular point in the progression of time together with relevant supplementary information. 
Can be used for a date and/or time.
</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:DateTimeContentType">
				<xs:attribute name="DateTimeFormatText" type="cct:DateTimeFormatTextType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="GraphicType" id="000200">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A diagram, graph, mathematical curves, or similar representation.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:GraphicContentType">
				<xs:attribute name="GraphicFormatTextType" type="cct:GraphicFormatTextType">
					<xs:annotation>
						<xs:documentation source="CCT V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="IdentifierType" id="000101">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects within the same scheme together with relevant supplementary information. </xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:IdentifierContentType">
				<xs:attribute name="IdentificationSchemeName" type="cct:IdentificationSchemeNameType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="IdentificationSchemeAgencyName" type="cct:IdentificationSchemeAgencyNameType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="LanguageCode" type="cct:LanguageCodeType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="IndicatorType" id="000180">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A list of two, and only two, values which indicate a condition such as on/off; true/false etc. (synonym: 'Boolean').</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:IndicatorContentType">
				<xs:attribute name="IndicatorFormatText" type="cct:IndicatorFormatTextType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="MeasureType" id="000152">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">The size, volume, mass, amount or scope derived by performing a physical measure together with relevant supplementary information.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:MeasureContentType">
				<xs:attribute name="MeasureUnitCode" type="cct:MeasureUnitCodeType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="NumericType" id="000182">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A representation of a number. May or may not be decimal</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:NumericContentType">
				<xs:attribute name="NumericFormatTextType" type="cct:NumericFormatTextType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="PictureType" id="000201">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A visual representation of a person, object, or scene.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:PictureContentType">
				<xs:attribute name="PictureFormatText" type="cct:PictureFormatTextType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="QuantityType" id="000108">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A number of non-monetary units together with relevant supplementary information.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:QuantityContentType">
				<xs:attribute name="QuantityUnitCode" type="cct:QuantityUnitCodeListAgencyIdentifierType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="QuantityUnitCodeListIdentifier" type="cct:QuantityUnitCodeListIdentifierType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
				<xs:attribute name="QuantityUnitCodeListAgencyIdentifer" type="cct:QuantityUnitCodeListAgencyIdentifierType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="TextType" id="000090">
		<xs:annotation>
			<xs:documentation source="CCTS V1.7" xml:lang="en">A character string with or without a specified language.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:TextContentType">
				<xs:attribute name="LanguageCode" type="cct:LanguageCodeType">
					<xs:annotation>
						<xs:documentation source="CCTS V1.7" xml:lang="en"/>
					</xs:annotation>
				</xs:attribute>
			</xs:extension>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="ValueType">
		<xs:annotation>
			<xs:documentation source="UBL" xml:lang="en">Numeric information that is assigned or is determined by calculation, counting or sequencing. It does not require a unit of quantity or a unit of measure.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:NumericType"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="PercentType">
		<xs:annotation>
			<xs:documentation source="UBL" xml:lang="en">A rate expressed in hundredths between two values that have the same unit of measure.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:NumericType"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="NameType">
		<xs:annotation>
			<xs:documentation source="UBL" xml:lang="en">A word or phrase that constitutes the distinctive designation of a person, place, thing or concept.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:TextType"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="RateType">
		<xs:annotation>
			<xs:documentation source="UBL" xml:lang="en">A quantity or amount measured with respect to another measured quantity or amount, or a fixed or appropriate charge, cost or value e.g. US Dollars per hour, US Dollars per EURO, kilometre per litre, etc.</xs:documentation>
		</xs:annotation>
		<xs:simpleContent>
			<xs:extension base="cct:NumericType"/>
		</xs:simpleContent>
	</xs:complexType>
	<xs:complexType name="DimensionType">
		<xs:simpleContent>
			<xs:extension base="cct:MeasureType"/>
		</xs:simpleContent>
	</xs:complexType>
</xs:schema>

Prepared by Robin Cover for The XML Cover Pages archive.


Globe Image

Document URL: http://xml.coverpages.org/UBL-CoreComponentTypes-xsd-20020314.html