Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark...

46
UNITED NATIONS ECONOMIC COMMISSION FOR EUROPE United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT) Page 1 of 46 1 2 3 4 5 6 UN/CEFACT 7 XML For CCTS 8 Version 1.0 ODP5 9 10 11 12 13 2010-12-31 14 15 16 17

Transcript of Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark...

Page 1: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

UNITED NATIONS ECONOMIC COMMISSION FOR EUROPE

United Nations Centre for Trade Facilitation and Electronic

Business (UN/CEFACT)

Page 1 of 46

1 2 3 4 5 6

UN/CEFACT 7 XML For CCTS 8

Version 1.0 ODP5 9

10 11 12 13

2010-12-31 14

15

16 17

Page 2: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 2 of 46

Abstract 18

This XML For CCTS specification defines an XML NDR 3.0 Conformant Schema 19 necessary to define, describe and use XML to consistently express CCTS 3.0 20 artefacts. It is based on the World Wide Web consortium suite of XML specifications, 21 the UN/CEFACT Core Components Technical Specification version 3.0, and the 22 UN/CEFACT XML NDR Technical Specification 3.0. This specification will be used 23 by UN/CEFACT, other Standards Development Organizations, and governments and 24 private sector companies to create XML instance documents that express CCTS 25 artefacts. 26

Page 3: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 3 of 46

Table of Contents 27

Abstract ..................................................................................................... 2 28 Table of Contents .............................................................................................. 3 29 1  Status of This Document........................................................................... 6 30 2  XML 4 CCTS Project Team Participants .................................................. 7 31 2.1  Disclaimer .................................................................................... 7 32 2.2  Contact Information ..................................................................... 7 33 3  Introduction................................................................................................ 8 34 3.1  Summary of Contents of Document ............................................ 8 35 3.1.1  Notation ....................................................................................... 8 36 3.2  Audience ...................................................................................... 9 37 4  Objectives................................................................................................ 10 38 4.1  Goals of the Technical Specification ......................................... 10 39 4.2  Requirements............................................................................. 10 40 4.3  Conformance ............................................................................. 10 41 4.4  Caveats and Assumptions......................................................... 10 42 4.5  Guiding Principles...................................................................... 10 43 5  Using the XML For CCTS Schema......................................................... 12 44 5.1  XML Instances for CCTS........................................................... 12 45 5.2  CCTS Development using XML Based Applications................. 12 46 5.3  Contributions to Component Library Governance Authority...... 12 47 5.4  Persistence Mechanism for Component Libraries..................... 12 48 5.5  Publication and Reuse of Data Libraries ................................... 12 49 6  Schema Structure and Content............................................................... 13 50 6.1  Common Schema Structures..................................................... 13 51 6.1.1  Schema Headers....................................................................... 13 52 6.2  XMLForCCTS.xsd...................................................................... 13 53 6.2.1  xsd:schema element.................................................................. 13 54 6.2.2  xsd:include(s) ............................................................................ 14 55 6.2.3  xsd:element CoreComponentTechnicalSpecificationDefinition 14 56 6.2.4  xsd:complexType 57

CoreComponentTechnicalSpecificationDefinitionType............. 14 58 6.3  BusinessInformationEntity.xsd .................................................. 14 59 6.3.1  xsd:schema element.................................................................. 14 60

Page 4: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 4 of 46

6.3.2  xsd:include(s) ............................................................................ 15 61 6.3.3  Global xsd:element Declarations............................................... 15 62 6.3.4  Business Information Entity Schema Type Definitions ............. 16 63 6.3.4.1  xsd:complexType AggregateBusinessInformationEntityType... 16 64 6.3.4.2  xsd:complexType AggregateCoreComponentType .................. 16 65 6.3.4.3  xsd:complexType AssociationBusinessInformationEntityType. 17 66 6.3.4.4  xsd:complexType 67

AssociationBusinessInformationEntityPropertyType ............... 17 68 6.3.4.5  xsd:complexType AssociationCoreComponentType ................ 18 69 6.3.4.6  xsd:complexType AssociationCoreComponentPropertyType .. 18 70 6.3.4.7  xsd:complexType BasicBusinessInformationEntityType........... 18 71 6.3.4.8  xsd:complexType 72

BasicBusinessInformationEntityPropertyType ......................... 18 73 6.3.4.9  xsd:complexType BasicCoreComponentType.......................... 18 74 6.3.4.10  xsd:complexType BasicCoreComponentPropertyType ............ 19 75 6.3.4.11  xsd:complexType BusinessContextType .................................. 19 76 6.3.4.12  xsd:complexType BusinessDataTypeType ............................... 19 77 6.3.4.13  xsd:complexType BusinessDataTypeContentComponentType 20 78 6.3.4.14  xsd:complexType 79

BusinessDataTypeSupplementaryComponentType ................ 20 80 6.3.4.15  xsd:complexType BusinessInformationEntityType ................... 21 81 6.3.4.16  xsd:complexType BusinessPropertyType ................................. 21 82 6.3.4.17  xsd:complexType BusinessValueDomainType......................... 21 83 6.3.4.18  xsd:complexType CardinalityType ............................................ 21 84 6.3.4.19  xsd:complexType ClassificationSchemeType........................... 22 85 6.3.4.20  xsd:complexType CodeListType ............................................... 22 86 6.3.4.21  xsd:complexType CodeLocalizedMetadataType ...................... 22 87 6.3.4.22  xsd:complexType CodeValueContentType............................... 22 88 6.3.4.23  xsd:complexType ContextType ................................................. 22 89 6.3.4.24  xsd:complexType ContextValueType........................................ 23 90 6.3.4.25  xsd:complexType CoreComponentType................................... 23 91 6.3.4.26  xsd:complexType CoreDataTypeType...................................... 23 92 6.3.4.27  xsd:complexType CoreDataTypeContentCompnentType ........ 23 93 6.3.4.28  xsd:complexType 94

CoreDataTypeSupplementaryComponentType....................... 24 95 6.3.4.29  xsd:complexType CoreValueDomainType................................ 24 96

Page 5: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 5 of 46

6.3.4.30  xsd:complexType DataTypeType.............................................. 24 97 6.3.4.31  xsd:complexType DomainRestrictionType................................ 24 98 6.3.4.32  xsd:complexType FacetType .................................................... 25 99 6.3.4.33  xsd:complexType IdentificationMetadataType.......................... 25 100 6.3.4.34  xsd:complexType IdentifierSchemeType .................................. 25 101 6.3.4.35  xsd:complexType LocalizedInformationType............................ 25 102 6.3.4.36  xsd:complexType LocalizedMetadataType ............................... 25 103 6.3.4.37  xsd:complexType PackageType ............................................... 26 104 6.3.4.38  xsd:complexType PrimitiveType................................................ 26 105 6.3.4.39  xsd:complexType RestrictedPrimitiveType ............................... 26 106 6.3.4.40  xsd:complexType RestrictionType ............................................ 26 107 6.3.4.41  xsd:complexType UsageRuleType............................................ 27 108 6.3.4.42  xsd:complexType ValueDomainType........................................ 27 109 7  Defining CCTS Artefacts ......................................................................... 28 110 7.1  Expression of CCTS Artefacts ................................................... 28 111 7.2  Core Component Technical Specification Definition ................. 28 112 7.2.1  CoreComponentTechnicalSpecificationDefinition Element ...... 28 113 Appendix A. XSD Schema .............................................................................. 30 114 A.1 – XMLForCCTS.XSD................................................................................ 31 115 A.2 – BIE.XSD................................................................................................. 32 116 A.3 – BDT.XSD ............................................................................................... 41 117 Appendix B. Use Cases and supporting XML Instance Examples. ................ 44 118 Disclaimer ................................................................................................... 45 119 8  Copyright Statement ............................................................................... 46 120

Page 6: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 6 of 46

1 Status of This Document 121

This UN/CEFACT technical specification has been developed in accordance with the 122 UN/CEFACT/TRADE/R.650/Rev.4/Add.1/Rev.1 Open Development Process (ODP) 123 for technical specifications. The UN/CEFACT Applied Technology Group (ATG) has 124 not approved it for distribution. 125 This technical specification contains information to guide in interpretation or 126 implementation. 127 Specification formatting is based on the Internet Society’s Standard RFC format. 128 Distribution of this document is unlimited. 129 This version: UN/CEFACT XML For CCTS, Version 1.0 ODP5 of 2010-12-31 130 Previous version: UN/CEFACT XML For CCTS, Version 1.0 ODP4 Draft of 2010-11-131 18. 132 This document may also be available in these non-normative formats: XML, XHTML 133 with visible change markup. See also translations. 134 Copyright © 2010 UN/CEFACT, All Rights Reserved. UN liability, trademark and 135 document use rules apply. 136

Page 7: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 7 of 46

2 XML 4 CCTS Project Team Participants 137

We would like to recognize the following for their significant participation in the 138 development of this United Nations Centre For Trade Facilitation and Electronic 139 Business (UN/CEFACT) XMLForCCTS technical specification. 140 ATG2 Chair 141

Jostein Frømyr EdiSys Consulting AS

Project Team Leader 142

Michael Rowell

Oracle Corporation / OAGi

Editors 143

Mark Crawford SAP Labs US

Scott Hinkelman Oracle Corporation

Contributors 144

David Connelly OAGi

Chris Hassler Defense Contract Management Agency

Garrett Minakawa Oracle Corporation

John Luc Sason ITG

Kevin Smith Cloud Data Technologies

Jim Wilson KCX

2.1 Disclaimer 145

The views and specification expressed in this technical specification are those of the 146 authors and are not necessarily those of their employers. The authors and their 147 employers specifically disclaim responsibility for any problems arising from correct or 148 incorrect implementation or use of this technical specification. 149

2.2 Contact Information 150

ATG2 – Jostein Frømyr, EdiSys Consulting AS, [email protected] 151 XML For CCTS Project Lead –Michael Rowell, Oracle Corporation, 152 [email protected] 153 Lead Editor – Mark Crawford, SAP Labs LLC (U.S.), [email protected] 154

Page 8: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 8 of 46

3 Introduction 155

3.1 Summary of Contents of Document 156

This specification consists of the following Sections and Appendices. 157

Abstract Informative

Table of Contents Informative

Section 1: Status of this Document Informative

Section 2: Project Team Informative

Section 3: Introduction Informative

Section 4: Objectives Informative

Section 5: Using the XML for CCTS XML Schema Informative

Section 6: XML Schema Components Normative

Section 7: CCTS XML Instances Normative

Appendix A: Schema Normative

Appendix B: Use Cases and Examples Informative

3.1.1 Notation 158

The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, 159 SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL, when they appear in this 160 specification, are to be interpreted as described in Internet Engineering Task Force 161 (IETF) Request For Comments (RFC) 2119.1 162 Wherever xsd: appears in this specification it refers to a construct taken from one of 163 the W3C XML Schema recommendations. Wherever ccts: appears it refers to a 164 construct taken from the UN/CEFACT Core Components Technical Specification. 165 Example – A representation of a definition or a rule. Examples are informative. 166 [Note] – Explanatory information. Notes are informative. 167 [R n] – Identification of a rule that requires conformance. Rules are normative. In 168 order to ensure continuity across versions of the specification, rule numbers are 169 randomly generated. The number of a rule that is deleted will not be re-issued. Rules 170 that are added will be assigned a previously unused random number. 171

Key words for use in RFCs to Indicate Requirement Levels - Internet Engineering Task Force, Request For Comments 2119, March 1997, http://www.ietf.org/rfc/rfc2119.txt?number=2119

Page 9: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 9 of 46

Courier – All words appearing in bolded courier font are values, objects or 172 keywords. 173 When defining rules, the following annotations are used: 174 [ ] = optional 175 < > = variable 176 | = choice 177

3.2 Audience 178

The audience for this UN/CEFACT - XML For CCTS Technical Specification is: 179

• Developers of CCTS Artefacts 180

• Submitters of CCTS Artefacts to governance organizations 181

• Maintainers and Publishers of CCTS based libraries 182

• Users of CCTS Artefacts and Libraries 183

Page 10: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 10 of 46

4 Objectives 184

4.1 Goals of the Technical Specification 185

This technical specification has been developed to provide for standard XML 186 instance documents that can express UN/CEFACT Core Component Technical 187 Specification (CCTS) conformant artefacts and information models developed in 188 accordance with the UN/CEFACT Core Components Technical Specification Version 189 3.0. The resultant XML expressions can be used for XML tool based generation, 190 manipulation, storage, contributions to data library governance authorities, and 191 publication and reuse of data libraries. 192

4.2 Requirements 193

Users of this specification should have an understanding of XML, XML Schema 194 Definition Language, UN/CEFACT Core Components Technical Specification, 195 UN/CEFACT XML Naming and Design Rules Technical Specification, and 196 UN/CEFACT Data Type Catalogue.. 197

4.3 Conformance 198

Applications will be considered to be in full conformance with this technical 199 specification if they create XML instances that fully conform with the XML Schema 200 and the content of normative sections, rules and definitions. 201

4.4 Caveats and Assumptions 202

Instances created as a result of employing this specification should be made publicly 203 available. UN/CEFACT will publish their instances as the UN/CEFACT Core 204 Component Library and may pubish individual XML artefacts in an ebXML compliant 205 registry and make its contents freely available to any government, individual or 206 organization who wishes access. 207 This specification does not address transformations via scripts or any other means. It 208 does not address any other representation of CCTS artefacts – such as OWL, Relax 209 NG, and XMI which are clearly outside the scope of this document. 210

4.5 Guiding Principles 211

The following guiding principles were used as the basis for this specification. 212 Relationship to Information Models –XML instances will be based on information 213 models developed in accordance with the UN/CEFACT – Core Components 214 Technical Specification. 215 Interchange and Application Use – The resulting XML instance documents are 216 intended for a variety of data exchanges. 217 Tool Use and Support - The design of the UN/CEFACT XML For CCTS Schema will 218 not make any assumptions about sophisticated tools for creation, management, 219 storage, or presentation being available. 220 Technical Specifications – UN/CEFACT XML For CCTS Schema will be based on 221 UN/CEFACT Core Component Technical Specification Version 3.0, XML NDR 222 Technical Specification Version 3.0 or later and Core Data Type Catalogue Version 223 3.0 or later. 224

Page 11: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 11 of 46

XML Schema Specification – UN/CEFACT XML For CCTS will be fully conformant 225 with W3C XML Schema 1.0 Recommendation. 226

Page 12: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 12 of 46

5 Using the XML For CCTS Schema 227

5.1 XML Instances for CCTS 228

The instances that validate against the XML For CCTS Schema are definitions of the 229 CCTS artefacts and represent fully conformant CCTS artefacts. The XMLForCCTS 230 schema are contained in Appendix A. 231

5.2 CCTS Development using XML Based Applications 232

The Core Components Technical Specification (CCTS) has established a key aspect 233 in international trade, electronic data exchange, and information modelling. A 234 fundamental principal to defining the CCTS has been, and continues to be, based in 235 a syntax-neutral approach. CCTS is independent of any given technological syntax. 236 While this approach has clear advantage to its success and longevity in industry, 237 without a formal, and concise, machine-processable representation positions the 238 CCTS as incomplete from a software tooling implementation perspective. Without 239 such a concise and machine-processable representation of CCTS, in specific the 240 CCTS metamodel, software tool support cannot be established with consistency 241 from multiple sources. 242 This specification defines such a concise, and formal, machine-processable 243 representation of CCTS in W3C XML Schema – specifically the metamodel, in order 244 to facilitate the entry of multiple forms of consistent software tool implementations 245 including open source, commercial enterprise products, and others. 246

5.3 Contributions to Component Library Governance Authority 247

XMLForCCTS can be used for contributing CCTS artefacts to component library 248 governance authorities. Each governance authority should define how it envisions 249 the contribution process and actual instance use. See Appendix B for example use 250 cases and further explanation. 251

5.4 Persistence Mechanism for Component Libraries 252

XML representations of CCTS artefacts can exist using a wide variety of persistence 253 mechanisms. 254

5.5 Publication and Reuse of Data Libraries 255

Once an Core Component library has been approved by a library authority, the 256 library authority will share this information to an audience of its choosing. The library 257 may include both conceptual and logical data models. The library authority is free to 258 publish their library in any syntax of their choosing. This specification provides a 259 normative XML format to express those libraries to maximize reuse. The library 260 authority will populate the information for the components that they choose to share. 261

Page 13: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 13 of 46

6 Schema Structure and Content 262

Unique types and elements are necessary to express CCTS artefacts in XML. 263 Following the UN/CEFACT XML NDR Technical Specification, these elements and 264 types are contained in three primary schema. All three schema reside in a single 265 namespace. These three schema are: 266 XML For CCTS Schema 267 Business Information Entity Schema 268 Business Data Type Schema 269 The Business Data Type schema is supported by a number of code list schema. 270 However these are already defined elsewhere and require no additional definition in 271 this specification. 272

6.1 Common Schema Structures 273

The Schema follows all rules in UN/CEFACT XML NDR Version 3.0 or later. 274

6.1.1 Schema Headers 275

All of the Schema Headers adhere to the Header structure as defined in 276 UN/CEFACT XML NDR Version 3.0 or later. 277

Example using the XMLForCCTS Schema: <!-- ================================================================ --> <!-- ===== XML4CCTS XML Schema File ===== --> <!-- ================================================================ --> <!-- Schema agency: UN/CEFACT Schema version: 3.0 Schema date: 29 August 2010 Copyright (C) UN/CEFACT (2010). 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.-->

6.2 XMLForCCTS.xsd 278

6.2.1 xsd:schema element 279

xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" targetNamespace="urn:un:unece:uncefact:ccl:draft:xml4ccts:3"

Page 14: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 14 of 46

elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0">

As required by W3C XML Schema, the xsd:schema element includes a namespace 280 declaration for the W3C XML Schema Definition Language. The xsd:schema 281 element declares a namespace and a target namespace. It sets the 282 xsd:elementFormDefault attribute to qualified, and the 283 xsd:attributeFormDefault attribute to unqualified. It contains a version 284 attribute whose value will follow the versioning scheme defined in the UN/CEFACT 285 XML NDR Specification. 286

6.2.2 xsd:include(s) 287

<xsd:include schemaLocation="BusinessInformationEntity.xsd"/>

The XML For CCTS Schema namespace includes a Business Information Entity 288 Schema. This Business Information Entity Schema contains all Business 289 Information Entities necessary to define CCTS artefacts. 290

6.2.3 xsd:element CoreComponentTechnicalSpecificationDefinition 291

<xsd:element name="CoreComponentTechnicalSpecificationDefinition" type="CoreComponentTechnicalSpecificationDefinitionType"/>

The XML For CCTS Schema declares a single global xsd:element. It is typed as 292 CoreComponentTechnicalSpecificationDefinitionType. 293

6.2.4 xsd:complexType 294 CoreComponentTechnicalSpecificationDefinitionType 295

<xsd:complexType name="CoreComponentTechnicalSpecificationDefinitionType"> <xsd:sequence> <xsd:element ref="CoreComponent" minOccurs="0"/> <xsd:element ref="BusinessInformationEntity" minOccurs="0"/> <xsd:element ref="DataType" minOccurs="0"/> <xsd:element ref="BusinessContext" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="UsageRule" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="IdentifierScheme" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="CodeList" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The XML For CCTS Schema contains a single named xsd:complexType which 296 contains the necessary elements to support expression of CCTS artefacts and 297 associated metadata. 298 The CoreComponentTechnicalSpecificationDefinitionType defines the allowed 299 content of XMLForCCTS instances. 300

6.3 BusinessInformationEntity.xsd 301

The BIE Schema includes element declarations and type definitions to support the 302 various elements and types in the XML For CCTS Schema. In turn it, uses BDT 303 types defined in the BDT Schema. 304

6.3.1 xsd:schema element 305

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:un:unece:uncefact:ccl:draft:xml4ccts:3"

Page 15: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 15 of 46

targetNamespace="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0">

The BIE xsd:schema element includes a namespace declaration for the W3C XML 306 Schema Definition Language. The xsd:schema element declares the XML For 307 CCTS namespace and target namespace. It sets the xsd:elementFormDefault 308 attribute to qualified, and the xsd:attributeFormDefault attribute to 309 unqualified. It contains a version attribute whose value will follow the versioning 310 scheme defined in the UN/CEFACT XML NDR Specification. 311

6.3.2 xsd:include(s) 312

<xsd:include schemaLocation="BusinessDataType.xsd"/>

The elements in the BIE Schema are of Business Data Types that are defined in the 313 Business Data Type Schema that reside in the XML For CCTS Namespace. An 314 xsd:include statement identifies the schema location as BusinessDataType.xsd. 315

6.3.3 Global xsd:element Declarations 316

<xsd:element name="AggregateBusinessInformationEntity" type="AggregateBusinessInformationEntityType"/> <xsd:element name="AggregateCoreComponent" type="AggregateCoreComponentType"/> <xsd:element name="AssociationBusinessInformationEntity" type="AssociationBusinessInformationEntityType"/> <xsd:element name="AssociationBusinessInformationEntityProperty" type="AssociationBusinessInformationEntityPropertyType"/> <xsd:element name="AssociationCoreComponent" type="AssociationCoreComponentType"/> <xsd:element name="AssociationCoreComponentProperty" type="AssociationCoreComponentPropertyType"/> <xsd:element name="BasicBusinessInformationEntity" type="BasicBusinessInformationEntityType"/> <xsd:element name="BasicBusinessInformationEntityProperty" type="BasicBusinessInformationEntityPropertyType"/> <xsd:element name="BasicCoreComponent" type="BasicCoreComponentType"/> <xsd:element name="BasicCoreComponentProperty" type="BasicCoreComponentPropertyType"/> <xsd:element name="BusinessContext" type="BusinessContextType"/> <xsd:element name="BusinessDataType" type="BusinessDataTypeType"/> <xsd:element name="BusinessDataTypeContentComponent" type="BusinessDataTypeContentComponentType"/> <xsd:element name="BusinessDataTypeSupplementaryComponent" type="BusinessDataTypeSupplementaryComponentType"/> <xsd:element name="BusinessInformationEntity" type="BusinessInformationEntityType"/> <xsd:element name="BusinessProperty" type="BusinessPropertyType"/> <xsd:element name="BusinessValueDomain" type="BusinessValueDomainType"/> <xsd:element name="Cardinality" type="CardinalityType"/> <xsd:element name="ClassificationScheme" type="ClassificationSchemeType"/> <xsd:element name="CodeList" type="CodeListType"/> <xsd:element name="CodeLocalizedMetadata" type="CodeLocalizedMetadataType"/> <xsd:element name="CodeValueContent" type="CodeValueContentType"> <xsd:annotation> <xsd:documentation>The scheme support detailing the full set of values for a code list. It also supports only providing the meta data of a code list.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="Context" type="ContextType"/> <xsd:element name="ContextValue" type="ContextValueType"/> <xsd:element name="CoreComponent" type="CoreComponentType"/> <xsd:element name="CoreDataType" type="CoreDataTypeType"/> <xsd:element name="CoreDataTypeContentComponent" type="CoreDataTypeContentComponentType"/> <xsd:element name="CoreDataTypeSupplementaryComponent" type="CoreDataTypeSupplementaryComponentType"/>

Page 16: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 16 of 46

<xsd:element name="CoreValueDomain" type="CoreValueDomainType"/> <xsd:element name="DataType" type="DataTypeType"/> <xsd:element name="DomainRestriction" type="DomainRestrictionType"/> <xsd:element name="Facet" type="FacetType"/> <xsd:element name="IdentificationMetadata" type="IdentificationMetadataType"/> <xsd:element name="IdentifierScheme" type="IdentifierSchemeType"/> <xsd:element name="LocalizedInformation" type="LocalizedInformationType"/> <xsd:element name="LocalizedMetadata" type="LocalizedMetadataType"/> <xsd:element name="Package" type="PackageType"/> <xsd:element name="Primitive" type="PrimitiveType"/> <xsd:element name="Restriction" type="RestrictionType"/> <xsd:element name="RestrictedPrimitive" type="RestrictedPrimitiveType"/> <xsd:element name="UsageRule" type="UsageRuleType"/> <xsd:element name="ValueDomain" type="ValueDomainType"/>

The BIE Schema declares global xsd:elements for all ccts artefacts and artifact 317 metadata as defined in UN/CEFACT CCTS Technical Specification Version 3.0. 318

6.3.4 Business Information Entity Schema Type Definitions 319

The XML For CCTS Schema defines named types for every CCTS artifact and 320 supporting metadata. The name of each element within each 321 xsd:complexType is the name of the property in the CCTS 322 artefact. The type of each element is as declared in the CCTS 323 metamodel and is defined in the corresponding BDT xsd:schema. 324 The cardinality is as defined in the CCTS metamodel. 325

6.3.4.1 xsd:complexType AggregateBusinessInformationEntityType 326

<xsd:complexType name="AggregateBusinessInformationEntityType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="ObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="BusinessContextUID" type="IDType_655749"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="BasedOnAggregateCoreComponentUID" type="IDType_655749"/> <xsd:choice maxOccurs="unbounded"> <xsd:element ref="BasicBusinessInformationEntity" minOccurs="0"/> <xsd:element ref="AssociationBusinessInformationEntity" minOccurs="0"/> </xsd:choice> </xsd:sequence> </xsd:complexType>

The AggregateBusinessInformationEntityType defines the elements necessary to 327 convey all relevant information about an ABIE. 328

6.3.4.2 xsd:complexType AggregateCoreComponentType 329

<xsd:complexType name="AggregateCoreComponentType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0"

Page 17: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 17 of 46

maxOccurs="unbounded"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:choice maxOccurs="unbounded"> <xsd:element ref="BasicCoreComponent" minOccurs="0"/> <xsd:element ref="AssociationCoreComponent" minOccurs="0"/> </xsd:choice> </xsd:sequence> </xsd:complexType>

The AggregateCoreComponentType defines the elements necessary to convey all 330 relevant information about an ACC. 331

6.3.4.3 xsd:complexType AssociationBusinessInformationEntityType 332

<xsd:complexType name="AssociationBusinessInformationEntityType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="ObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> <xsd:element name="PropertyTermQualifier" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="AssociatedObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="Cardinality"/> <xsd:element name="BusinessContextUID" type="IDType_655749"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="AssociationType" type="CodeType_ED40BA"/> <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="AssociationBusinessInformationEntityPropertyUID" type="IDType_655749"/> <xsd:element name="BasedOnAssociatedCoreComponentUID" type="IDType_655749"/> </xsd:sequence> </xsd:complexType>

The AssociationBusinessInformationEntityType defines the elements necessary to 333 convey all relevant information about an ASBIE. 334

6.3.4.4 xsd:complexType AssociationBusinessInformationEntityPropertyType 335

<xsd:complexType name="AssociationBusinessInformationEntityPropertyType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="PropertyTermQualifier" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="AssociatedObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06" maxOccurs="11"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element name="LocalizedInformation" type="LocalizedInformationType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

Page 18: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 18 of 46

The AssociationBusinessInformationEntityPropertyType defines the elements 336 necessary to convey all relevant information about an ASBIE Property. 337

6.3.4.5 xsd:complexType AssociationCoreComponentType 338

<xsd:complexType name="AssociationCoreComponentType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Cardinality" type="CardinalityType"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="AssociationType" type="CodeType_ED40BA"/> <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="AssociationCoreComponentPropertyUID" type="IDType_655749"/> </xsd:sequence> </xsd:complexType>

The AssociationCoreComponentType defines the elements necessary to convey all 339 relevant information about an ASCC. 340

6.3.4.6 xsd:complexType AssociationCoreComponentPropertyType 341

<xsd:complexType name="AssociationCoreComponentPropertyType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The AssociationCoreComponentPropertyType defines the elements necessary to 342 convey all relevant information about an ASCC Property. 343

6.3.4.7 xsd:complexType BasicBusinessInformationEntityType 344

The BasicBusinessInformationEntityType defines the elements necessary to convey 345 all relevant information about a BBIE. 346

6.3.4.8 xsd:complexType BasicBusinessInformationEntityPropertyType 347

The BasicBusinessInformationEntityPropertyType defines the elements necessary to 348 convey all relevant information about a BBIE Property. 349

6.3.4.9 xsd:complexType BasicCoreComponentType 350

<xsd:complexType name="BasicCoreComponentType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="ObjectClassTerm" type="TextType_568D06"/>

Page 19: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 19 of 46

<xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="RepresentationTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="Cardinality"/> <xsd:element name="CoreDataType" type="TextType_568D06"/> <xsd:element name="CoreDataTypeUID" type="IDType_655749"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="BasicCoreComponentPropertyUID" type="IDType_655749"/> </xsd:sequence> </xsd:complexType>

The BasicCoreComponentType defines the elements necessary to convey all 351 relevant information about a BCC. 352

6.3.4.10 xsd:complexType BasicCoreComponentPropertyType 353

<xsd:complexType name="BasicCoreComponentPropertyType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="RepresentationTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="CoreDataType" type="TextType_568D06"/> <xsd:element name="CoreDataTypeUID" type="IDType_655749"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The BasicCoreComonentPropertyType defines the elements necessary to convey all 354 relevant information about a BCC Property. 355

6.3.4.11 xsd:complexType BusinessContextType 356

<xsd:complexType name="BusinessContextType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element name="BusinessProcess" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="Product" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="Industry" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="Geopolitical" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="OfficialConstraints" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="Role" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="SupportingRole" type="ContextType" maxOccurs="unbounded"/> <xsd:element name="SystemContraint" type="ContextType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The BusinessContextType defines the elements necessary to convey all relevant 357 information about Business Context. 358

6.3.4.12 xsd:complexType BusinessDataTypeType 359

<xsd:complexType name="BusinessDataTypeType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="DataTypeQualifier" type="TextType_568D06" minOccurs="0"

Page 20: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 20 of 46

maxOccurs="unbounded"/> <xsd:element name="DataTypeTerm" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="RepresentationTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Cardinality" type="CardinalityType" minOccurs="0"/> <xsd:element name="CoreDataType" type="TextType_568D06"/> <xsd:element name="CoreDataTypeUID" type="IDType_655749"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="BusinessDataTypeContentComponent"/> <xsd:element ref="BusinessDataTypeSupplementaryComponent" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="BasedOnCoreDataTypeUID" type="IDType_655749"/> </xsd:sequence> </xsd:complexType>

The BusinessDataTypeType defines the elements necessary to convey all relevant 360 information about a BDT. 361

6.3.4.13 xsd:complexType BusinessDataTypeContentComponentType 362

<xsd:complexType name="BusinessDataTypeContentComponentType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="DataTypeTerm" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="BusinessValueDomain" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The BusinessDataTypeContentComponentType defines the elements necessary to 363 convey all relevant information about a BDT Content Component . 364

6.3.4.14 xsd:complexType BusinessDataTypeSupplementaryComponentType 365

<xsd:complexType name="BusinessDataTypeSupplementaryComponentType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="DataTypeTerm" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="BusinessValueDomain" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The BusinessDataTypeSupplementaryComponentType defines the elements 366 necessary to convey all relevant information about a BDT Supplementary 367 Component. 368

Page 21: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 21 of 46

6.3.4.15 xsd:complexType BusinessInformationEntityType 369

<xsd:complexType name="BusinessInformationEntityType"> <xsd:sequence> <xsd:element ref="Package" minOccurs="0"/> <xsd:element ref="BusinessProperty" minOccurs="0"/> </xsd:sequence> </xsd:complexType>

The BusinessInformationEntityType defines the elements necessary to point to an 370 ABIE, ASBIE, or BBIE. 371

6.3.4.16 xsd:complexType BusinessPropertyType 372

<xsd:complexType name="BusinessPropertyType"> <xsd:sequence> <xsd:element ref="AssociationBusinessInformationEntityProperty" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="BasicBusinessInformationEntityProperty" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The BusinessPropertyType contains the ASBIE Properties and BBIE Properties.. 373

6.3.4.17 xsd:complexType BusinessValueDomainType 374

<xsd:complexType name="BusinessValueDomainType"> <xsd:sequence> <xsd:element name="DefaultIndicator" type="IndicatorType_CD0DC6"/> <xsd:element name="DefaultValue" type="TextType_568D06" minOccurs="0"/> <xsd:element name="DomainRestriction" type="DomainRestrictionType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="BusinessContextUID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="UsageRuleUID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:choice> <xsd:element ref="Primitive" minOccurs="0"/> <xsd:element name="BusinessCodeListUID" type="IDType_655749" minOccurs="0"/> <xsd:element name="BusinessIdentificationSchemeUID" type="IDType_655749" minOccurs="0"/> </xsd:choice> </xsd:sequence> </xsd:complexType>

The BusinessValueDomainType defines the elements necessary to convey all 375 relevant information about a business value domain. 376

6.3.4.18 xsd:complexType CardinalityType 377

<xsd:complexType name="CardinalityType"> <xsd:sequence> <xsd:element name="MinimumOccurenceValue" type="ValueType_677794"/> <xsd:element name="MaximumOccurenceValue" type="MaximumCardinalityValueType_8D0182"/> </xsd:sequence> </xsd:complexType>

The CardinalityType defines the elements necessary to convey all relevant 378 information about the cardinality for a CC or BIE artefact. 379

Page 22: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 22 of 46

6.3.4.19 xsd:complexType ClassificationSchemeType 380

The ClassificationSchemeType defines the elements necessary to convey all 381 relevant information about a classification scheme. 382

6.3.4.20 xsd:complexType CodeListType 383

<xsd:complexType name="CodeListType"> <xsd:sequence> <xsd:element name="ID" type="IDType_655749"/> <xsd:element name="AgencyID" type="IDType_655749"/> <xsd:element name="ModificationAllowedIndicator" type="IndicatorType_CD0DC6"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="CodeValueContent" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The CodeListType defines the elements necessary to convey all relevant information 384 about a code list. 385

6.3.4.21 xsd:complexType CodeLocalizedMetadataType 386

<xsd:complexType name="CodeLocalizedMetadataType"> <xsd:sequence> <xsd:element name="LanguageCode" type="CodeType_2A09AC"/> <xsd:element name="Name" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06" minOccurs="0"/> </xsd:sequence> </xsd:complexType>

The CodeLocalizedMetadataType defines the elements necessary to convey all 387 relevant information about localized metadata for codes. 388

6.3.4.22 xsd:complexType CodeValueContentType 389

<xsd:complexType name="CodeValueContentType"> <xsd:sequence> <xsd:element name="Value" type="ValueType_D39AEF"/> <xsd:element name="Name" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06" minOccurs="0"/> <xsd:element ref="CodeLocalizedMetadata" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The CodeValueContentType defines the elements necessary to convey all relevant 390 information about a code value. 391

6.3.4.23 xsd:complexType ContextType 392

<xsd:complexType name="ContextType"> <xsd:sequence> <xsd:element name="ContextValue" type="ContextValueType" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The ContextType defines the elements necessary to convey context value. 393

Page 23: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 23 of 46

6.3.4.24 xsd:complexType ContextValueType 394

<xsd:complexType name="ContextValueType"> <xsd:sequence> <xsd:element name="ClassificationScheme" type="ClassificationSchemeType"/> <xsd:element name="Value" type="ValueType_C14BE1"/> <xsd:element name="Meaning" type="TextType_568D06"/> </xsd:sequence> </xsd:complexType>

The ContextValueType defines the elements necessary to convey all relevant 395 metadata information about a context value. 396

6.3.4.25 xsd:complexType CoreComponentType 397

<xsd:complexType name="CoreComponentType"> <xsd:sequence> <xsd:element ref="AggregateCoreComponent" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="AssociationCoreComponentProperty" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="BasicCoreComponentProperty" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The CoreComponentType defines the elements necessary to point to an ACC, 398 ASCC, or BCC. 399

6.3.4.26 xsd:complexType CoreDataTypeType 400

<xsd:complexType name="CoreDataTypeType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="DataTypeTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="CoreDataTypeContentComponent"/> <xsd:element ref="CoreDataTypeSupplementaryComponent" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The CoreDataTypeType defines the elements necessary to convey all relevant 401 information about a CDT. 402

6.3.4.27 xsd:complexType CoreDataTypeContentCompnentType 403

<xsd:complexType name="CoreDataTypeContentComponentType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="DataTypeTerm" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="CoreValueDomain" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

Page 24: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 24 of 46

The CoreDataTypeContentComponentType defines the elements necessary to 404 convey all relevant information about a CDT Content Component. 405

6.3.4.28 xsd:complexType CoreDataTypeSupplementaryComponentType 406

<xsd:complexType name="CoreDataTypeSupplementaryComponentType"> <xsd:sequence> <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="Definition" type="TextType_568D06"/> <xsd:element name="DataTypeTerm" type="TextType_568D06"/> <xsd:element name="PropertyTerm" type="TextType_568D06"/> <xsd:element name="RepresentationTerm" type="TextType_568D06"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="Cardinality"/> <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="VersionID" type="IDType_655749"/> <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="CoreValueDomain" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The CoreDataTypeSupplementaryComponentType defines the elements necessary 407 to convey all relevant information about an CDT Supplementary Component. 408

6.3.4.29 xsd:complexType CoreValueDomainType 409

<xsd:complexType name="CoreValueDomainType"> <xsd:sequence> <xsd:element name="DefaultIndicator" type="IndicatorType_CD0DC6"/> <xsd:element name="DefaultValue" type="TextType_568D06" minOccurs="0"/> <xsd:element name="DefaultValueSource" type="TextType_568D06" minOccurs="0"/> <xsd:choice> <xsd:element ref="Primitive" minOccurs="0"/> <xsd:element name="CoreCodeListUID" type="IDType_655749" minOccurs="0"/> <xsd:element name="CodeIdentifierSchemeUID" type="IDType_655749" minOccurs="0"/> </xsd:choice> </xsd:sequence> </xsd:complexType>

The CoreValueDomainType defines the elements necessary to convey all relevant 410 information about a Core Value Domain. 411

6.3.4.30 xsd:complexType DataTypeType 412

<xsd:complexType name="DataTypeType"> <xsd:sequence> <xsd:element ref="CoreDataType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="BusinessDataType" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The DataTypeType defines the elements necessary to point to a CDT or BDT. 413

6.3.4.31 xsd:complexType DomainRestrictionType 414

<xsd:complexType name="DomainRestrictionType"> <xsd:sequence> <xsd:element name="FacetLanguage" type="TextType_568D06" minOccurs="0"/> <xsd:element name="FacetValue" type="ValueType_677794" minOccurs="0"/> <xsd:element ref="Facet" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

Page 25: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 25 of 46

The DomainRestrictionType defines the elements necessary to convey all relevant 415 information about facet restrictions on a given value domain. 416

6.3.4.32 xsd:complexType FacetType 417

<xsd:complexType name="FacetType"> <xsd:sequence> <xsd:element name="FacetType" type="CodeType_ED40BA"/> <xsd:element name="Name" type="NameType_ADAD10"/> <xsd:element name="Description" type="TextType_568D06"/> </xsd:sequence> </xsd:complexType>

The FacetType defines the elements necessary to convey relevant information about 418 a facet. 419

6.3.4.33 xsd:complexType IdentificationMetadataType 420

<xsd:complexType name="IdentificationMetadataType"> <xsd:sequence> <xsd:element name="Name" type="TextType_568D06" minOccurs="0"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="LocalizedMetadata" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The IdentificationMetadataType defines the elements necessary to convey relevant 421 information about identification metadata. 422

6.3.4.34 xsd:complexType IdentifierSchemeType 423

<xsd:complexType name="IdentifierSchemeType"> <xsd:sequence> <xsd:element name="ID" type="IDType_655749"/> <xsd:element name="AgencyID" type="IDType_655749"/> <xsd:element name="ModificationAllowedIndicator" type="IndicatorType_CD0DC6"/> <xsd:element name="VersionID" type="IDType_655749"/> </xsd:sequence> </xsd:complexType>

The IdentifierSchemeType defines the elements necessary to convey all relevant 424 information about an identifier scheme. 425

6.3.4.35 xsd:complexType LocalizedInformationType 426

<xsd:complexType name="LocalizedInformationType"> <xsd:sequence> <xsd:element name="LanguageCode" type="CodeType_ED40BA"/> <xsd:element name="OtherLanguageDEN" type="NameType_ADAD10" minOccurs="0"/> <xsd:element name="OtherLanguageDefinition" type="TextType_568D06"/> <xsd:element name="OtherLanguageBusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The LocalizedInformationType defines the elements necessary to convey relevant 427 localized information about an artefact. 428

6.3.4.36 xsd:complexType LocalizedMetadataType 429

<xsd:complexType name="LocalizedMetadataType"> <xsd:sequence>

Page 26: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 26 of 46

<xsd:element name="LanguageCode" type="CodeType_2A09AC"/> <xsd:element name="Name" type="TextType_568D06" minOccurs="0"/> <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The LocalizedMetadataType defines the elements necessary to convey relevant 430 localized metadata information about an artefact. 431

6.3.4.37 xsd:complexType PackageType 432

<xsd:complexType name="PackageType"> <xsd:sequence> <xsd:element name="PackageUID" type="IDType_655749"/> <xsd:element name="Name" type="NameType_ADAD10" minOccurs="0"/> <xsd:element ref="AggregateBusinessInformationEntity" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The PackageType defines the elements necessary to convey information about a 433 collection of semantically unique ABIEs in a given contex. 434

6.3.4.38 xsd:complexType PrimitiveType 435

<xsd:complexType name="PrimitiveType"> <xsd:sequence> <xsd:element name="PrimitiveType" type="CodeType_ED40BA"/> <xsd:element name="Name" type="NameType_ADAD10"/> <xsd:element name="Description" type="TextType_568D06"/> <xsd:element ref="Facet" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The PrimitiveType defines the elements necessary to convey all relevant information 436 about a primitive type. 437

6.3.4.39 xsd:complexType RestrictedPrimitiveType 438

<xsd:complexType name="RestrictedPrimitiveType"> <xsd:sequence> <xsd:element name="PrimitiveType" type="CodeType_ED40BA"/> <xsd:element name="PrimitiveName" type="NameType_ADAD10"/> <xsd:element name="PrimitiveDescription" type="TextType_568D06"/> <xsd:element name="Facet" type="FacetType" minOccurs="0" maxOccurs="unbounded"/> <xsd:element ref="Restriction" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>

The RestrictedPrimitiveType defines the elements necessary to convey all relevant 439 information about the restriction of a primitive type. 440

6.3.4.40 xsd:complexType RestrictionType 441

<xsd:complexType name="RestrictionType"> <xsd:sequence> <xsd:element name="RestrictionType" type="CodeType_ED40BA"/> <xsd:element name="RestrictionName" type="NameType_ADAD10"/> <xsd:element name="RestrictionDescription" type="TextType_568D06" minOccurs="0"/> </xsd:sequence> </xsd:complexType>

Page 27: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 27 of 46

The RestrictionType defines the elements necessary to convey relevant information 442 about a restriction for an artefact. 443

6.3.4.41 xsd:complexType UsageRuleType 444

<xsd:complexType name="UsageRuleType"> <xsd:sequence> <xsd:element name="UniqueID" type="IDType_655749"/> <xsd:element name="Constraint" type="TextType_568D06"/> <xsd:element name="ContraintType" type="CodeType_ED40BA"/> <xsd:element name="ConditionType" type="CodeType_ED40BA"/> <xsd:element ref="IdentificationMetadata" minOccurs="0"/> </xsd:sequence> </xsd:complexType>

The UsageRuleType defines the elements necessary to convey all relevant 445 information about a usage rule. 446

6.3.4.42 xsd:complexType ValueDomainType 447

<xsd:complexType name="ValueDomainType"> <xsd:sequence> <xsd:element name="DefaultIndicator" type="IndicatorType_CD0DC6"/> <xsd:element name="DefaultValue" type="TextType_568D06" minOccurs="0"/> <xsd:element name="DefaultValueSource" type="TextType_568D06" minOccurs="0"/> <xsd:choice> <xsd:element name="Primitive" type="RestrictedPrimitiveType" minOccurs="0"/> <xsd:element name="SchemeOrListUID" type="IDType_655749" minOccurs="0"/> </xsd:choice> </xsd:sequence> </xsd:complexType>

The ValueDomainType defines the elements necessary to convey relevant 448 information about a value domain.449

Page 28: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 28 of 46

450

7 Defining CCTS Artefacts 451

This section shows how to define CCTS artefacts in XML using the XML for CCTS 452 Schema. The instances that validate against the XML For CCTS Schema are 453 definitions of the CCTS artefacts and represent fully conformant CCTS artefacts. 454

7.1 Expression of CCTS Artefacts 455

CCTS artefacts consist of Core Components, Business Information Entities, and 456 Data Types. Each artifact is defined in terms of its expression in the XML For CCTS 457 Schema and supporting BIE Schema and BDT Schema. 458

7.2 Core Component Technical Specification Definition 459

7.2.1 CoreComponentTechnicalSpecificationDefinition Element 460

The root element in an instance is the 461 CoreComponentTechnicalSpecificationDefinition. Only the 462 CoreComponentTechnicalSpecificationDefinition element is allowed to be 463 used as the root element. 464

[R C705] The root element in an XML For CCTS Instance MUST be the CoreComponentTechnicalSpecificationDefinition element.

Example 6-1: Top level CoreComponentTechnicalSpecificationDefinition Instance 465

<CoreComponentTechnicalSpecificationDefinition 466 xsi:schemaLocation="urn:un:unece:uncefact:ccl:draft:xml4ccts:3 467 ../uncefact/data/cclrepository/0/draft/XMLForCCTS.xsd" 468 xmlns="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" 469 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 470 <CoreComponent> 471 ... 472 </CoreComponent> 473 <BusinessInformationEntity> 474 ... 475 </BusinessInformationEntity> 476 <DataType> 477 ... 478 </DataType> 479 <BusinessContext> 480 ... 481 </BusinessContext> 482 <UsageRule> 483 ... 484 </UsageRule> 485 <IdentifierScheme> 486 ... 487 </IdentifierScheme> 488 <CodeList> 489 ... 490 </CodeList> 491 </CoreComponentTechnicalSpecificationDefinition> 492 </xsd:schema> 493

A valid instance of CoreComponentTechnicalSpecificationDefinition may contain 494 CoreComponent, BusinessInformationEntity, BusinessContext, UsageRule, 495 IdentifierScheme and CodeList elements and their allowed content will follow in this 496

Page 29: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 29 of 46

sequence as defined in the XML For CCTS Schema. Each child element is optional 497 and may or may not occur in an individual instance to meet the requirements of the 498 individual use case. However at least one child element must occur in an instance. 499

Page 30: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 30 of 46

Appendix A. XSD Schema 500

This appendix contains the normative XSD Schema for XMLForCCTS.XSD, 501 BIE.XSD and BDT.XSD.502

Page 31: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 31 of 46

503

A.1 – XMLForCCTS.XSD 504 <?xml version="1.0" encoding="UTF-8"?> 505 <!-- ====================================================================== --> 506 <!-- ===== XML4CCTS XML Schema File 507 ===== --> 508 <!-- ====================================================================== --> 509 <!-- 510 Schema agency: UN/CEFACT 511 Schema version: 3.0 512 Schema date: 29 August 2010 513 514 Copyright (C) UN/CEFACT (2010). All Rights Reserved. 515 516 This document and translations of it may be copied and furnished to others, 517 and derivative works that comment on or otherwise explain it or assist 518 in its implementation may be prepared, copied, published and distributed, 519 in whole or in part, without restriction of any kind, provided that the 520 above copyright notice and this paragraph are included on all such copies 521 and derivative works. However, this document itself may not be modified in 522 any way, such as by removing the copyright notice or references to 523 UN/CEFACT, except as needed for the purpose of developing UN/CEFACT 524 specifications, in which case the procedures for copyrights defined in the 525 UN/CEFACT Intellectual Property Rights document must be followed, or as 526 required to translate it into languages other than English. 527 528 The limited permissions granted above are perpetual and will not be revoked 529 by UN/CEFACT or its successors or assigns. 530 531 This document and the information contained herein is provided on an "AS IS" 532 basis and UN/CEFACT DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING 533 BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL 534 NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR 535 FITNESS FOR A PARTICULAR PURPOSE. 536 --> 537 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 538 xmlns="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" 539 targetNamespace="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" elementFormDefault="qualified" 540 attributeFormDefault="unqualified" version="3.0"> 541 <!-- ================================================================== --> 542 <!-- ===== Include ===== --> 543 <!-- ================================================================== --> 544 <!-- ===== Inclusion of context category BIE XML Schema File ===== --> 545 <!-- ================================================================== --> 546 <xsd:include schemaLocation="BusinessInformationEntity.xsd"/> 547 <!-- ================================================================== --> 548 <!-- ===== Root element ===== --> 549 <!-- ================================================================== --> 550 <!----> 551 <xsd:element name="CoreComponentTechnicalSpecificationDefinition" 552 type="CoreComponentTechnicalSpecificationDefinitionType"/> 553 <!-- ================================================================== --> 554 <!-- ===== Type Definitions ===== --> 555 <!-- ================================================================== --> 556 <!-- ===== Type Definition: CCTSDefinition Type ===== --> 557 <!-- ================================================================== --> 558 <xsd:complexType name="CoreComponentTechnicalSpecificationDefinitionType"> 559 <xsd:sequence> 560 <xsd:element ref="CoreComponent" minOccurs="0"/> 561 <xsd:element ref="BusinessInformationEntity" minOccurs="0"/> 562 <xsd:element ref="DataType" minOccurs="0"/> 563 <xsd:element ref="BusinessContext" minOccurs="0" maxOccurs="unbounded"/> 564 <xsd:element ref="UsageRule" minOccurs="0" maxOccurs="unbounded"/> 565 <xsd:element ref="IdentifierScheme" minOccurs="0" maxOccurs="unbounded"/> 566 <xsd:element ref="CodeList" minOccurs="0" maxOccurs="unbounded"/> 567 </xsd:sequence> 568 </xsd:complexType> 569 </xsd:schema>570

Page 32: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 32 of 46

571

A.2 – BIE.XSD 572 <?xml version="1.0" encoding="UTF-8"?> 573 <!-- ====================================================================== --> 574 <!-- ===== BusinessInformationEntity XML Schema File ===== --> 575 <!-- ====================================================================== --> 576 <!-- 577 Schema agency: UN/CEFACT 578 Schema version: 3.0 579 Schema date: 29 August 2010 580 581 Copyright (C) UN/CEFACT (2010). All Rights Reserved. 582 583 This document and translations of it may be copied and furnished to others, 584 and derivative works that comment on or otherwise explain it or assist 585 in its implementation may be prepared, copied, published and distributed, 586 in whole or in part, without restriction of any kind, provided that the 587 above copyright notice and this paragraph are included on all such copies 588 and derivative works. However, this document itself may not be modified in 589 any way, such as by removing the copyright notice or references to 590 UN/CEFACT, except as needed for the purpose of developing UN/CEFACT 591 specifications, in which case the procedures for copyrights defined in the 592 UN/CEFACT Intellectual Property Rights document must be followed, or as 593 required to translate it into languages other than English. 594 595 The limited permissions granted above are perpetual and will not be revoked 596 by UN/CEFACT or its successors or assigns. 597 598 This document and the information contained herein is provided on an "AS IS" 599 basis and UN/CEFACT DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING 600 BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL 601 NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR 602 FITNESS FOR A PARTICULAR PURPOSE. 603 --> 604 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 605 xmlns="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" 606 targetNamespace="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" elementFormDefault="qualified" 607 attributeFormDefault="unqualified" version="3.0"> 608 <!-- ================================================================== --> 609 <!-- ===== Include ===== --> 610 <!-- ================================================================== --> 611 <xsd:include schemaLocation="BusinessDataType.xsd"/> 612 <!-- ================================================================== --> 613 <!-- ===== Imports ===== --> 614 <!-- ================================================================== --> 615 <!-- ====================================================================== --> 616 <!-- ===== Elements ===== --> 617 <!-- ====================================================================== --> 618 <xsd:element name="AggregateBusinessInformationEntity" 619 type="AggregateBusinessInformationEntityType"/> 620 <xsd:element name="AggregateCoreComponent" type="AggregateCoreComponentType"/> 621 <xsd:element name="AssociationBusinessInformationEntity" 622 type="AssociationBusinessInformationEntityType"/> 623 <xsd:element name="AssociationBusinessInformationEntityProperty" 624 type="AssociationBusinessInformationEntityPropertyType"/> 625 <xsd:element name="AssociationCoreComponent" type="AssociationCoreComponentType"/> 626 <xsd:element name="AssociationCoreComponentProperty" 627 type="AssociationCoreComponentPropertyType"/> 628 <xsd:element name="BasicBusinessInformationEntity" 629 type="BasicBusinessInformationEntityType"/> 630 <xsd:element name="BasicBusinessInformationEntityProperty" 631 type="BasicBusinessInformationEntityPropertyType"/> 632 <xsd:element name="BasicCoreComponent" type="BasicCoreComponentType"/> 633 <xsd:element name="BasicCoreComponentProperty" type="BasicCoreComponentPropertyType"/> 634 <xsd:element name="BusinessContext" type="BusinessContextType"/> 635 <xsd:element name="BusinessDataType" type="BusinessDataTypeType"/> 636 <xsd:element name="BusinessDataTypeContentComponent" 637 type="BusinessDataTypeContentComponentType"/> 638 <xsd:element name="BusinessDataTypeSupplementaryComponent" 639 type="BusinessDataTypeSupplementaryComponentType"/> 640 <xsd:element name="BusinessInformationEntity" type="BusinessInformationEntityType"/> 641 <xsd:element name="BusinessProperty" type="BusinessPropertyType"/> 642 <xsd:element name="BusinessValueDomain" type="BusinessValueDomainType"/> 643

Page 33: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 33 of 46

<xsd:element name="Cardinality" type="CardinalityType"/> 644 <xsd:element name="ClassificationScheme" type="ClassificationSchemeType"/> 645 <xsd:element name="CodeList" type="CodeListType"/> 646 <xsd:element name="CodeLocalizedMetadata" type="CodeLocalizedMetadataType"/> 647 <xsd:element name="CodeValueContent" type="CodeValueContentType"> 648 <xsd:annotation> 649 <xsd:documentation>The scheme support detailing the full set of values for a code 650 list. It also supports only providing the meta data of a code list.</xsd:documentation> 651 </xsd:annotation> 652 </xsd:element> 653 <xsd:element name="Context" type="ContextType"/> 654 <xsd:element name="ContextValue" type="ContextValueType"/> 655 <xsd:element name="CoreComponent" type="CoreComponentType"/> 656 <xsd:element name="CoreDataType" type="CoreDataTypeType"/> 657 <xsd:element name="CoreDataTypeContentComponent" type="CoreDataTypeContentComponentType"/> 658 <xsd:element name="CoreDataTypeSupplementaryComponent" 659 type="CoreDataTypeSupplementaryComponentType"/> 660 <xsd:element name="CoreValueDomain" type="CoreValueDomainType"/> 661 <xsd:element name="DataType" type="DataTypeType"/> 662 <xsd:element name="DomainRestriction" type="DomainRestrictionType"/> 663 <xsd:element name="Facet" type="FacetType"/> 664 <xsd:element name="IdentificationMetadata" type="IdentificationMetadataType"/> 665 <xsd:element name="IdentifierScheme" type="IdentifierSchemeType"/> 666 <xsd:element name="LocalizedInformation" type="LocalizedInformationType"/> 667 <xsd:element name="LocalizedMetadata" type="LocalizedMetadataType"/> 668 <xsd:element name="Package" type="PackageType"/> 669 <xsd:element name="Primitive" type="PrimitiveType"/> 670 <xsd:element name="Restriction" type="RestrictionType"/> 671 <xsd:element name="RestrictedPrimitive" type="RestrictedPrimitiveType"/> 672 <xsd:element name="UsageRule" type="UsageRuleType"/> 673 <xsd:element name="ValueDomain" type="ValueDomainType"/> 674 <!-- ====================================================================== --> 675 <!-- ===== Types ===== --> 676 <!-- ====================================================================== --> 677 <xsd:complexType name="AggregateBusinessInformationEntityType"> 678 <xsd:sequence> 679 <xsd:element name="UniqueID" type="IDType_655749"/> 680 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 681 <xsd:element name="Definition" type="TextType_568D06"/> 682 <xsd:element name="ObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" 683 maxOccurs="unbounded"/> 684 <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> 685 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 686 maxOccurs="unbounded"/> 687 <xsd:element name="BusinessContextUID" type="IDType_655749"/> 688 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 689 maxOccurs="unbounded"/> 690 <xsd:element name="VersionID" type="IDType_655749"/> 691 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 692 <xsd:element name="BasedOnAggregateCoreComponentUID" type="IDType_655749"/> 693 <xsd:choice maxOccurs="unbounded"> 694 <xsd:element ref="BasicBusinessInformationEntity" minOccurs="0"/> 695 <xsd:element ref="AssociationBusinessInformationEntity" minOccurs="0"/> 696 </xsd:choice> 697 </xsd:sequence> 698 </xsd:complexType> 699 <xsd:complexType name="AggregateCoreComponentType"> 700 <xsd:sequence> 701 <xsd:element name="UniqueID" type="IDType_655749"/> 702 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 703 <xsd:element name="Definition" type="TextType_568D06"/> 704 <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> 705 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 706 maxOccurs="unbounded"/> 707 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 708 maxOccurs="unbounded"/> 709 <xsd:element name="VersionID" type="IDType_655749"/> 710 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 711 <xsd:choice maxOccurs="unbounded"> 712 <xsd:element ref="BasicCoreComponent" minOccurs="0"/> 713 <xsd:element ref="AssociationCoreComponent" minOccurs="0"/> 714 </xsd:choice> 715 </xsd:sequence> 716 </xsd:complexType> 717 <xsd:complexType name="AssociationBusinessInformationEntityType"> 718

Page 34: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 34 of 46

<xsd:sequence> 719 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 720 <xsd:element name="Definition" type="TextType_568D06"/> 721 <xsd:element name="ObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" 722 maxOccurs="unbounded"/> 723 <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> 724 <xsd:element name="PropertyTermQualifier" type="TextType_568D06" minOccurs="0" 725 maxOccurs="unbounded"/> 726 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 727 <xsd:element name="AssociatedObjectClassTermQualifier" type="TextType_568D06" 728 minOccurs="0" maxOccurs="unbounded"/> 729 <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06"/> 730 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 731 maxOccurs="unbounded"/> 732 <xsd:element ref="Cardinality"/> 733 <xsd:element name="BusinessContextUID" type="IDType_655749"/> 734 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 735 maxOccurs="unbounded"/> 736 <xsd:element name="AssociationType" type="CodeType_ED40BA"/> 737 <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> 738 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 739 <xsd:element name="AssociationBusinessInformationEntityPropertyUID" 740 type="IDType_655749"/> 741 <xsd:element name="BasedOnAssociatedCoreComponentUID" type="IDType_655749"/> 742 </xsd:sequence> 743 </xsd:complexType> 744 <xsd:complexType name="AssociationBusinessInformationEntityPropertyType"> 745 <xsd:sequence> 746 <xsd:element name="UniqueID" type="IDType_655749"/> 747 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 748 <xsd:element name="Definition" type="TextType_568D06"/> 749 <xsd:element name="PropertyTermQualifier" type="TextType_568D06" minOccurs="0" 750 maxOccurs="unbounded"/> 751 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 752 <xsd:element name="AssociatedObjectClassTermQualifier" type="TextType_568D06" 753 minOccurs="0" maxOccurs="unbounded"/> 754 <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06" maxOccurs="11"/> 755 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 756 maxOccurs="unbounded"/> 757 <xsd:element name="VersionID" type="IDType_655749"/> 758 <xsd:element name="LocalizedInformation" type="LocalizedInformationType" 759 minOccurs="0" maxOccurs="unbounded"/> 760 </xsd:sequence> 761 </xsd:complexType> 762 <xsd:complexType name="AssociationCoreComponentPropertyType"> 763 <xsd:sequence> 764 <xsd:element name="UniqueID" type="IDType_655749"/> 765 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 766 <xsd:element name="Definition" type="TextType_568D06"/> 767 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 768 <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06"/> 769 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 770 maxOccurs="unbounded"/> 771 <xsd:element name="VersionID" type="IDType_655749"/> 772 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 773 </xsd:sequence> 774 </xsd:complexType> 775 <xsd:complexType name="AssociationCoreComponentType"> 776 <xsd:sequence> 777 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 778 <xsd:element name="Definition" type="TextType_568D06"/> 779 <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> 780 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 781 <xsd:element name="AssociatedObjectClassTerm" type="TextType_568D06"/> 782 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 783 maxOccurs="unbounded"/> 784 <xsd:element name="Cardinality" type="CardinalityType"/> 785 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 786 maxOccurs="unbounded"/> 787 <xsd:element name="AssociationType" type="CodeType_ED40BA"/> 788 <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> 789 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 790 <xsd:element name="AssociationCoreComponentPropertyUID" type="IDType_655749"/> 791 </xsd:sequence> 792 </xsd:complexType> 793

Page 35: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 35 of 46

<xsd:complexType name="BasicBusinessInformationEntityPropertyType"> 794 <xsd:sequence> 795 <xsd:element name="UniqueID" type="IDType_655749"/> 796 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 797 <xsd:element name="Definition" type="TextType_568D06"/> 798 <xsd:element name="PropertyTermQualifier" type="TextType_568D06" minOccurs="0" 799 maxOccurs="unbounded"/> 800 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 801 <xsd:element name="RepresentationTerm" type="TextType_568D06"/> 802 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 803 maxOccurs="unbounded"/> 804 <xsd:element name="DataTypeQualifier" type="TextType_568D06" minOccurs="0" 805 maxOccurs="unbounded"/> 806 <xsd:element name="BusinessDataType" type="TextType_568D06"/> 807 <xsd:element name="BusinessDataTypeUID" type="IDType_655749"/> 808 <xsd:element name="VersionID" type="IDType_655749"/> 809 <xsd:element name="LocalizedInformation" type="LocalizedInformationType" 810 minOccurs="0" maxOccurs="unbounded"/> 811 </xsd:sequence> 812 </xsd:complexType> 813 <xsd:complexType name="BasicBusinessInformationEntityType"> 814 <xsd:sequence> 815 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 816 <xsd:element name="Definition" type="TextType_568D06"/> 817 <xsd:element name="ObjectClassTermQualifier" type="TextType_568D06" minOccurs="0" 818 maxOccurs="unbounded"/> 819 <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> 820 <xsd:element name="PropertyTermQualifier" type="TextType_568D06" minOccurs="0" 821 maxOccurs="unbounded"/> 822 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 823 <xsd:element name="RepresentationTerm" type="TextType_568D06"/> 824 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 825 maxOccurs="unbounded"/> 826 <xsd:element ref="Cardinality"/> 827 <xsd:element name="DataTypeQualifier" type="TextType_568D06" minOccurs="0" 828 maxOccurs="unbounded"/> 829 <xsd:element name="BusinessDataType" type="TextType_568D06"/> 830 <xsd:element name="BusinessDataTypeUID" type="IDType_655749"/> 831 <xsd:element name="BusinessContextUID" type="IDType_655749"/> 832 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 833 maxOccurs="unbounded"/> 834 <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> 835 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 836 <xsd:element name="BasicBusinessInformationEntityPropertyUID" type="IDType_655749"/> 837 <xsd:element name="BasedOnBasicCoreComponentUID" type="IDType_655749"/> 838 </xsd:sequence> 839 </xsd:complexType> 840 <xsd:complexType name="BasicCoreComponentPropertyType"> 841 <xsd:sequence> 842 <xsd:element name="UniqueID" type="IDType_655749"/> 843 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 844 <xsd:element name="Definition" type="TextType_568D06"/> 845 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 846 <xsd:element name="RepresentationTerm" type="TextType_568D06"/> 847 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 848 maxOccurs="unbounded"/> 849 <xsd:element name="CoreDataType" type="TextType_568D06"/> 850 <xsd:element name="CoreDataTypeUID" type="IDType_655749"/> 851 <xsd:element name="VersionID" type="IDType_655749"/> 852 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 853 </xsd:sequence> 854 </xsd:complexType> 855 <xsd:complexType name="BasicCoreComponentType"> 856 <xsd:sequence> 857 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 858 <xsd:element name="Definition" type="TextType_568D06"/> 859 <xsd:element name="ObjectClassTerm" type="TextType_568D06"/> 860 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 861 <xsd:element name="RepresentationTerm" type="TextType_568D06"/> 862 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 863 maxOccurs="unbounded"/> 864 <xsd:element ref="Cardinality"/> 865 <xsd:element name="CoreDataType" type="TextType_568D06"/> 866 <xsd:element name="CoreDataTypeUID" type="IDType_655749"/> 867

Page 36: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 36 of 46

<xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 868 maxOccurs="unbounded"/> 869 <xsd:element name="SequencingKeyOrdinal" type="OrdinalType_PQALZM"/> 870 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 871 <xsd:element name="BasicCoreComponentPropertyUID" type="IDType_655749"/> 872 </xsd:sequence> 873 </xsd:complexType> 874 <xsd:complexType name="BusinessContextType"> 875 <xsd:sequence> 876 <xsd:element name="UniqueID" type="IDType_655749"/> 877 <xsd:element name="VersionID" type="IDType_655749"/> 878 <xsd:element name="BusinessProcess" type="ContextType" maxOccurs="unbounded"/> 879 <xsd:element name="Product" type="ContextType" maxOccurs="unbounded"/> 880 <xsd:element name="Industry" type="ContextType" maxOccurs="unbounded"/> 881 <xsd:element name="Geopolitical" type="ContextType" maxOccurs="unbounded"/> 882 <xsd:element name="OfficialConstraints" type="ContextType" maxOccurs="unbounded"/> 883 <xsd:element name="Role" type="ContextType" maxOccurs="unbounded"/> 884 <xsd:element name="SupportingRole" type="ContextType" maxOccurs="unbounded"/> 885 <xsd:element name="SystemContraint" type="ContextType" maxOccurs="unbounded"/> 886 </xsd:sequence> 887 </xsd:complexType> 888 <xsd:complexType name="BusinessDataTypeType"> 889 <xsd:sequence> 890 <xsd:element name="UniqueID" type="IDType_655749"/> 891 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 892 <xsd:element name="Definition" type="TextType_568D06"/> 893 <xsd:element name="DataTypeQualifier" type="TextType_568D06" minOccurs="0" 894 maxOccurs="unbounded"/> 895 <xsd:element name="DataTypeTerm" type="TextType_568D06"/> 896 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 897 <xsd:element name="RepresentationTerm" type="TextType_568D06"/> 898 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 899 maxOccurs="unbounded"/> 900 <xsd:element name="Cardinality" type="CardinalityType" minOccurs="0"/> 901 <xsd:element name="CoreDataType" type="TextType_568D06"/> 902 <xsd:element name="CoreDataTypeUID" type="IDType_655749"/> 903 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 904 maxOccurs="unbounded"/> 905 <xsd:element name="VersionID" type="IDType_655749"/> 906 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 907 <xsd:element ref="BusinessDataTypeContentComponent"/> 908 <xsd:element ref="BusinessDataTypeSupplementaryComponent" minOccurs="0" 909 maxOccurs="unbounded"/> 910 <xsd:element name="BasedOnCoreDataTypeUID" type="IDType_655749"/> 911 </xsd:sequence> 912 </xsd:complexType> 913 <xsd:complexType name="BusinessDataTypeContentComponentType"> 914 <xsd:sequence> 915 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 916 <xsd:element name="Definition" type="TextType_568D06"/> 917 <xsd:element name="DataTypeTerm" type="TextType_568D06"/> 918 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 919 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 920 maxOccurs="unbounded"/> 921 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 922 maxOccurs="unbounded"/> 923 <xsd:element name="VersionID" type="IDType_655749"/> 924 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 925 <xsd:element ref="BusinessValueDomain" maxOccurs="unbounded"/> 926 </xsd:sequence> 927 </xsd:complexType> 928 <xsd:complexType name="BusinessDataTypeSupplementaryComponentType"> 929 <xsd:sequence> 930 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 931 <xsd:element name="Definition" type="TextType_568D06"/> 932 <xsd:element name="DataTypeTerm" type="TextType_568D06"/> 933 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 934 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 935 maxOccurs="unbounded"/> 936 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 937 maxOccurs="unbounded"/> 938 <xsd:element name="VersionID" type="IDType_655749"/> 939 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 940 <xsd:element ref="BusinessValueDomain" maxOccurs="unbounded"/> 941 </xsd:sequence> 942

Page 37: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 37 of 46

</xsd:complexType> 943 <xsd:complexType name="BusinessInformationEntityType"> 944 <xsd:sequence> 945 <xsd:element ref="Package" minOccurs="0"/> 946 <xsd:element ref="BusinessProperty" minOccurs="0"/> 947 </xsd:sequence> 948 </xsd:complexType> 949 <xsd:complexType name="BusinessPropertyType"> 950 <xsd:sequence> 951 <xsd:element ref="AssociationBusinessInformationEntityProperty" minOccurs="0" 952 maxOccurs="unbounded"/> 953 <xsd:element ref="BasicBusinessInformationEntityProperty" minOccurs="0" 954 maxOccurs="unbounded"/> 955 </xsd:sequence> 956 </xsd:complexType> 957 <xsd:complexType name="BusinessValueDomainType"> 958 <xsd:sequence> 959 <xsd:element name="DefaultIndicator" type="IndicatorType_CD0DC6"/> 960 <xsd:element name="DefaultValue" type="TextType_568D06" minOccurs="0"/> 961 <xsd:element name="DomainRestriction" type="DomainRestrictionType" minOccurs="0" 962 maxOccurs="unbounded"/> 963 <xsd:element name="BusinessContextUID" type="IDType_655749" minOccurs="0" 964 maxOccurs="unbounded"/> 965 <xsd:element name="UsageRuleUID" type="IDType_655749" minOccurs="0" 966 maxOccurs="unbounded"/> 967 <xsd:choice> 968 <xsd:element ref="Primitive" minOccurs="0"/> 969 <xsd:element name="BusinessCodeListUID" type="IDType_655749" minOccurs="0"/> 970 <xsd:element name="BusinessIdentificationSchemeUID" type="IDType_655749" 971 minOccurs="0"/> 972 </xsd:choice> 973 </xsd:sequence> 974 </xsd:complexType> 975 <xsd:complexType name="CardinalityType"> 976 <xsd:sequence> 977 <xsd:element name="MinimumOccurenceValue" type="ValueType_677794"/> 978 <xsd:element name="MaximumOccurenceValue" type="MaximumCardinalityValueType_8D0182"/> 979 </xsd:sequence> 980 </xsd:complexType> 981 <xsd:complexType name="ClassificationSchemeType"> 982 <xsd:sequence> 983 <xsd:element name="ContextCategory" type="TextType_568D06"/> 984 <xsd:element name="Definition" type="TextType_568D06"/> 985 <xsd:element name="Hierarchy" type="TextType_568D06"/> 986 <xsd:element name="Name" type="NameType_ADAD10"/> 987 <xsd:element name="Owner" type="TextType_568D06"/> 988 <xsd:element name="PrimitiveType" type="CodeType_ED40BA"/> 989 </xsd:sequence> 990 </xsd:complexType> 991 <xsd:complexType name="CodeListType"> 992 <xsd:sequence> 993 <xsd:element name="ID" type="IDType_655749"/> 994 <xsd:element name="AgencyID" type="IDType_655749"/> 995 <xsd:element name="ModificationAllowedIndicator" type="IndicatorType_CD0DC6"/> 996 <xsd:element name="VersionID" type="IDType_655749"/> 997 <xsd:element ref="CodeValueContent" minOccurs="0" maxOccurs="unbounded"/> 998 </xsd:sequence> 999 </xsd:complexType> 1000 <xsd:complexType name="CodeLocalizedMetadataType"> 1001 <xsd:sequence> 1002 <xsd:element name="LanguageCode" type="CodeType_2A09AC"/> 1003 <xsd:element name="Name" type="NameType_ADAD10" minOccurs="0"/> 1004 <xsd:element name="Definition" type="TextType_568D06" minOccurs="0"/> 1005 </xsd:sequence> 1006 </xsd:complexType> 1007 <xsd:complexType name="CodeValueContentType"> 1008 <xsd:sequence> 1009 <xsd:element name="Value" type="ValueType_D39AEF"/> 1010 <xsd:element name="Name" type="NameType_ADAD10" minOccurs="0"/> 1011 <xsd:element name="Definition" type="TextType_568D06" minOccurs="0"/> 1012 <xsd:element ref="CodeLocalizedMetadata" minOccurs="0" maxOccurs="unbounded"/> 1013 </xsd:sequence> 1014 </xsd:complexType> 1015 <xsd:complexType name="ContextType"> 1016 <xsd:sequence> 1017

Page 38: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 38 of 46

<xsd:element name="ContextValue" type="ContextValueType" maxOccurs="unbounded"/> 1018 </xsd:sequence> 1019 </xsd:complexType> 1020 <xsd:complexType name="ContextValueType"> 1021 <xsd:sequence> 1022 <xsd:element name="ClassificationScheme" type="ClassificationSchemeType"/> 1023 <xsd:element name="Value" type="ValueType_C14BE1"/> 1024 <xsd:element name="Meaning" type="TextType_568D06"/> 1025 </xsd:sequence> 1026 </xsd:complexType> 1027 <xsd:complexType name="CoreComponentType"> 1028 <xsd:sequence> 1029 <xsd:element ref="AggregateCoreComponent" minOccurs="0" maxOccurs="unbounded"/> 1030 <xsd:element ref="AssociationCoreComponentProperty" minOccurs="0" 1031 maxOccurs="unbounded"/> 1032 <xsd:element ref="BasicCoreComponentProperty" minOccurs="0" maxOccurs="unbounded"/> 1033 </xsd:sequence> 1034 </xsd:complexType> 1035 <xsd:complexType name="CoreDataTypeContentComponentType"> 1036 <xsd:sequence> 1037 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 1038 <xsd:element name="Definition" type="TextType_568D06"/> 1039 <xsd:element name="DataTypeTerm" type="TextType_568D06"/> 1040 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 1041 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 1042 maxOccurs="unbounded"/> 1043 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 1044 maxOccurs="unbounded"/> 1045 <xsd:element name="VersionID" type="IDType_655749"/> 1046 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 1047 <xsd:element ref="CoreValueDomain" maxOccurs="unbounded"/> 1048 </xsd:sequence> 1049 </xsd:complexType> 1050 <xsd:complexType name="CoreDataTypeSupplementaryComponentType"> 1051 <xsd:sequence> 1052 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 1053 <xsd:element name="Definition" type="TextType_568D06"/> 1054 <xsd:element name="DataTypeTerm" type="TextType_568D06"/> 1055 <xsd:element name="PropertyTerm" type="TextType_568D06"/> 1056 <xsd:element name="RepresentationTerm" type="TextType_568D06"/> 1057 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 1058 maxOccurs="unbounded"/> 1059 <xsd:element ref="Cardinality"/> 1060 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 1061 maxOccurs="unbounded"/> 1062 <xsd:element name="VersionID" type="IDType_655749"/> 1063 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 1064 <xsd:element ref="CoreValueDomain" maxOccurs="unbounded"/> 1065 </xsd:sequence> 1066 </xsd:complexType> 1067 <xsd:complexType name="CoreDataTypeType"> 1068 <xsd:sequence> 1069 <xsd:element name="UniqueID" type="IDType_655749"/> 1070 <xsd:element name="DictionaryEntryName" type="NameType_ADAD10" minOccurs="0"/> 1071 <xsd:element name="Definition" type="TextType_568D06"/> 1072 <xsd:element name="DataTypeTerm" type="TextType_568D06"/> 1073 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 1074 maxOccurs="unbounded"/> 1075 <xsd:element name="UsageRuleID" type="IDType_655749" minOccurs="0" 1076 maxOccurs="unbounded"/> 1077 <xsd:element name="VersionID" type="IDType_655749"/> 1078 <xsd:element ref="LocalizedInformation" minOccurs="0" maxOccurs="unbounded"/> 1079 <xsd:element ref="CoreDataTypeContentComponent"/> 1080 <xsd:element ref="CoreDataTypeSupplementaryComponent" maxOccurs="unbounded"/> 1081 </xsd:sequence> 1082 </xsd:complexType> 1083 <xsd:complexType name="CoreValueDomainType"> 1084 <xsd:sequence> 1085 <xsd:element name="DefaultIndicator" type="IndicatorType_CD0DC6"/> 1086 <xsd:element name="DefaultValue" type="TextType_568D06" minOccurs="0"/> 1087 <xsd:element name="DefaultValueSource" type="TextType_568D06" minOccurs="0"/> 1088 <xsd:choice> 1089 <xsd:element ref="Primitive" minOccurs="0"/> 1090 <xsd:element name="CoreCodeListUID" type="IDType_655749" minOccurs="0"/> 1091 <xsd:element name="CodeIdentifierSchemeUID" type="IDType_655749" minOccurs="0"/> 1092

Page 39: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 39 of 46

</xsd:choice> 1093 </xsd:sequence> 1094 </xsd:complexType> 1095 <xsd:complexType name="DataTypeType"> 1096 <xsd:sequence> 1097 <xsd:element ref="CoreDataType" minOccurs="0" maxOccurs="unbounded"/> 1098 <xsd:element ref="BusinessDataType" minOccurs="0" maxOccurs="unbounded"/> 1099 </xsd:sequence> 1100 </xsd:complexType> 1101 <xsd:complexType name="DomainRestrictionType"> 1102 <xsd:sequence> 1103 <xsd:element name="FacetLanguage" type="TextType_568D06" minOccurs="0"/> 1104 <xsd:element name="FacetValue" type="ValueType_677794" minOccurs="0"/> 1105 <xsd:element ref="Facet" minOccurs="0" maxOccurs="unbounded"/> 1106 </xsd:sequence> 1107 </xsd:complexType> 1108 <xsd:complexType name="FacetType"> 1109 <xsd:sequence> 1110 <xsd:element name="FacetType" type="CodeType_ED40BA"/> 1111 <xsd:element name="Name" type="NameType_ADAD10"/> 1112 <xsd:element name="Description" type="TextType_568D06"/> 1113 </xsd:sequence> 1114 </xsd:complexType> 1115 <xsd:complexType name="IdentificationMetadataType"> 1116 <xsd:sequence> 1117 <xsd:element name="Name" type="TextType_568D06" minOccurs="0"/> 1118 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 1119 maxOccurs="unbounded"/> 1120 <xsd:element ref="LocalizedMetadata" minOccurs="0" maxOccurs="unbounded"/> 1121 </xsd:sequence> 1122 </xsd:complexType> 1123 <xsd:complexType name="IdentifierSchemeType"> 1124 <xsd:sequence> 1125 <xsd:element name="ID" type="IDType_655749"/> 1126 <xsd:element name="AgencyID" type="IDType_655749"/> 1127 <xsd:element name="ModificationAllowedIndicator" type="IndicatorType_CD0DC6"/> 1128 <xsd:element name="VersionID" type="IDType_655749"/> 1129 </xsd:sequence> 1130 </xsd:complexType> 1131 <xsd:complexType name="LocalizedInformationType"> 1132 <xsd:sequence> 1133 <xsd:element name="LanguageCode" type="CodeType_ED40BA"/> 1134 <xsd:element name="OtherLanguageDEN" type="NameType_ADAD10" minOccurs="0"/> 1135 <xsd:element name="OtherLanguageDefinition" type="TextType_568D06"/> 1136 <xsd:element name="OtherLanguageBusinessTerm" type="TextType_568D06" minOccurs="0" 1137 maxOccurs="unbounded"/> 1138 </xsd:sequence> 1139 </xsd:complexType> 1140 <xsd:complexType name="LocalizedMetadataType"> 1141 <xsd:sequence> 1142 <xsd:element name="LanguageCode" type="CodeType_2A09AC"/> 1143 <xsd:element name="Name" type="TextType_568D06" minOccurs="0"/> 1144 <xsd:element name="BusinessTerm" type="TextType_568D06" minOccurs="0" 1145 maxOccurs="unbounded"/> 1146 </xsd:sequence> 1147 </xsd:complexType> 1148 <xsd:complexType name="PackageType"> 1149 <xsd:sequence> 1150 <xsd:element name="PackageUID" type="IDType_655749"/> 1151 <xsd:element name="Name" type="NameType_ADAD10" minOccurs="0"/> 1152 <xsd:element ref="AggregateBusinessInformationEntity" minOccurs="0" 1153 maxOccurs="unbounded"/> 1154 </xsd:sequence> 1155 </xsd:complexType> 1156 <xsd:complexType name="PrimitiveType"> 1157 <xsd:sequence> 1158 <xsd:element name="PrimitiveType" type="CodeType_ED40BA"/> 1159 <xsd:element name="Name" type="NameType_ADAD10"/> 1160 <xsd:element name="Description" type="TextType_568D06"/> 1161 <xsd:element ref="Facet" minOccurs="0" maxOccurs="unbounded"/> 1162 </xsd:sequence> 1163 </xsd:complexType> 1164 <xsd:complexType name="RestrictedPrimitiveType"> 1165 <xsd:sequence> 1166 <xsd:element name="PrimitiveType" type="CodeType_ED40BA"/> 1167

Page 40: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 40 of 46

<xsd:element name="PrimitiveName" type="NameType_ADAD10"/> 1168 <xsd:element name="PrimitiveDescription" type="TextType_568D06"/> 1169 <xsd:element name="Facet" type="FacetType" minOccurs="0" maxOccurs="unbounded"/> 1170 <xsd:element ref="Restriction" maxOccurs="unbounded"/> 1171 </xsd:sequence> 1172 </xsd:complexType> 1173 <xsd:complexType name="RestrictionType"> 1174 <xsd:sequence> 1175 <xsd:element name="RestrictionType" type="CodeType_ED40BA"/> 1176 <xsd:element name="RestrictionName" type="NameType_ADAD10"/> 1177 <xsd:element name="RestrictionDescription" type="TextType_568D06" minOccurs="0"/> 1178 </xsd:sequence> 1179 </xsd:complexType> 1180 <xsd:complexType name="UsageRuleType"> 1181 <xsd:sequence> 1182 <xsd:element name="UniqueID" type="IDType_655749"/> 1183 <xsd:element name="Constraint" type="TextType_568D06"/> 1184 <xsd:element name="ContraintType" type="CodeType_ED40BA"/> 1185 <xsd:element name="ConditionType" type="CodeType_ED40BA"/> 1186 <xsd:element ref="IdentificationMetadata" minOccurs="0"/> 1187 </xsd:sequence> 1188 </xsd:complexType> 1189 <xsd:complexType name="ValueDomainType"> 1190 <xsd:sequence> 1191 <xsd:element name="DefaultIndicator" type="IndicatorType_CD0DC6"/> 1192 <xsd:element name="DefaultValue" type="TextType_568D06" minOccurs="0"/> 1193 <xsd:element name="DefaultValueSource" type="TextType_568D06" minOccurs="0"/> 1194 <xsd:choice> 1195 <xsd:element name="Primitive" type="RestrictedPrimitiveType" minOccurs="0"/> 1196 <xsd:element name="SchemeOrListUID" type="IDType_655749" minOccurs="0"/> 1197 </xsd:choice> 1198 </xsd:sequence> 1199 </xsd:complexType> 1200 <!-- ====================================================================== --> 1201 <!--Context Value Types to be replaced by UCM Scheme --> 1202 <!-- ====================================================================== --> 1203 <xsd:element name="BusinessProcess" type="ContextType"/> 1204 <xsd:element name="Product" type="ContextType"/> 1205 <xsd:element name="Industry" type="ContextType"/> 1206 <xsd:element name="Geopolitical" type="ContextType"/> 1207 <xsd:element name="OfficialConstraints" type="ContextType"/> 1208 <xsd:element name="Role" type="ContextType"/> 1209 <xsd:element name="SupportingRole" type="ContextType"/> 1210 <xsd:element name="SystemContraint" type="ContextType"/> 1211 <!-- ============================================================ --> 1212 </xsd:schema> 1213

Page 41: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 41 of 46

1214

A.3 – BDT.XSD 1215 <?xml version="1.0" encoding="UTF-8"?> 1216 <!-- ====================================================================== --> 1217 <!-- ===== BDT XML Schema File 1218 ===== --> 1219 <!-- ====================================================================== --> 1220 <!-- 1221 Schema agency: UN/CEFACT 1222 Schema version: 3.0 1223 Schema date: 29 August 2010 1224 1225 Copyright (C) UN/CEFACT (2010). All Rights Reserved. 1226 1227 This document and translations of it may be copied and furnished to others, 1228 and derivative works that comment on or otherwise explain it or assist 1229 in its implementation may be prepared, copied, published and distributed, 1230 in whole or in part, without restriction of any kind, provided that the 1231 above copyright notice and this paragraph are included on all such copies 1232 and derivative works. However, this document itself may not be modified in 1233 any way, such as by removing the copyright notice or references to 1234 UN/CEFACT, except as needed for the purpose of developing UN/CEFACT 1235 specifications, in which case the procedures for copyrights defined in the 1236 UN/CEFACT Intellectual Property Rights document must be followed, or as 1237 required to translate it into languages other than English. 1238 1239 The limited permissions granted above are perpetual and will not be revoked 1240 by UN/CEFACT or its successors or assigns. 1241 1242 This document and the information contained herein is provided on an "AS IS" 1243 basis and UN/CEFACT DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING 1244 BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL 1245 NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR 1246 FITNESS FOR A PARTICULAR PURPOSE. 1247 --> 1248 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" 1249 xmlns:common="urn:un:unece:uncefact:data:common:1:draft" 1250 xmlns="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" 1251 xmlns:clm5639220081107="urn:un:unece:uncefact:codelist:common:20081107:draft:5_6392A_20081107D1252 raftANDR3" xmlns:ccts="urn:un:unece:uncefact:documentation:commmon:3:draft" 1253 targetNamespace="urn:un:unece:uncefact:ccl:draft:xml4ccts:3" elementFormDefault="qualified" 1254 attributeFormDefault="unqualified" version="3.0"> 1255 <!--Data Types--> 1256 <!-- ================================================================== --> 1257 <!-- ===== Imports ===== --> 1258 <!-- ================================================================== --> 1259 <!-- ================================================================== --> 1260 <!-- ===== Imports Language Code ===== --> 1261 <!-- ================================================================== --> 1262 <xsd:import 1263 namespace="urn:un:unece:uncefact:codelist:common:20081107:draft:5_6392A_20081107DraftANDR3" 1264 schemaLocation="..\..\..\..\codelist\common\20081107\draft\5_6392A_20081107DraftANDR3.xsd"/> 1265 <!-- ====================================================================== --> 1266 <!-- ====================================================================== --> 1267 <!--Primitive Types--> 1268 <!-- ====================================================================== --> 1269 <xsd:simpleType name="BooleanType"> 1270 <xsd:restriction base="xsd:boolean"> 1271 <xsd:pattern value="false"/> 1272 <xsd:pattern value="true"/> 1273 </xsd:restriction> 1274 </xsd:simpleType> 1275 <xsd:simpleType name="IntegerType"> 1276 <xsd:restriction base="xsd:integer"/> 1277 </xsd:simpleType> 1278 <xsd:simpleType name="NonNegativeIntegerType"> 1279 <xsd:annotation> 1280 <xsd:documentation>Not directly listed as a supported Primitive. However it 1281 implements the specific enumeration of the set of Integers required.</xsd:documentation> 1282 </xsd:annotation> 1283 <xsd:restriction base="xsd:nonNegativeInteger"/> 1284 </xsd:simpleType> 1285 <xsd:simpleType name="StringType"> 1286

Page 42: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 42 of 46

<xsd:restriction base="xsd:string"/> 1287 </xsd:simpleType> 1288 <xsd:simpleType name="TokenType"> 1289 <xsd:restriction base="xsd:token"/> 1290 </xsd:simpleType> 1291 <!----> 1292 <xsd:complexType name="CodeType_2A09AC"> 1293 <xsd:annotation> 1294 <xsd:documentation>Language Code ComplexType</xsd:documentation> 1295 </xsd:annotation> 1296 <xsd:simpleContent> 1297 <xsd:extension base="ValueType_E990BA"> 1298 <xsd:attribute name="ID" type="TokenType"/> 1299 <xsd:attribute name="versionID" type="TokenType"/> 1300 <xsd:attribute name="agencyID" type="TokenType"/> 1301 </xsd:extension> 1302 </xsd:simpleContent> 1303 </xsd:complexType> 1304 <xsd:complexType name="CodeType_ED40BA"> 1305 <xsd:simpleContent> 1306 <xsd:extension base="TokenType"> 1307 <xsd:attribute name="ID" type="TokenType"/> 1308 <xsd:attribute name="versionID" type="TokenType"/> 1309 <xsd:attribute name="agencyID" type="TokenType"/> 1310 </xsd:extension> 1311 </xsd:simpleContent> 1312 </xsd:complexType> 1313 <xsd:complexType name="IDType_655749"> 1314 <xsd:simpleContent> 1315 <xsd:extension base="TokenType"> 1316 <xsd:attribute name="ID" type="TokenType" use="optional"/> 1317 <xsd:attribute name="versionID" type="TokenType" use="optional"/> 1318 <xsd:attribute name="agencyID" type="TokenType" use="optional"/> 1319 </xsd:extension> 1320 </xsd:simpleContent> 1321 </xsd:complexType> 1322 <xsd:complexType name="IndicatorType_CD0DC6"> 1323 <xsd:simpleContent> 1324 <xsd:extension base="BooleanType"/> 1325 </xsd:simpleContent> 1326 </xsd:complexType> 1327 <xsd:complexType name="NameType_ADAD10"> 1328 <xsd:simpleContent> 1329 <xsd:extension base="TokenType"> 1330 <xsd:attribute name="languageCode" type="clm5639220081107:LanguageCodeContentType" 1331 use="optional"/> 1332 </xsd:extension> 1333 </xsd:simpleContent> 1334 </xsd:complexType> 1335 <xsd:simpleType name="OrdinalType_PQALZM"> 1336 <xsd:annotation> 1337 <xsd:documentation xml:lang="en"> 1338 <ccts:UniqueID>PQALZM</ccts:UniqueID> 1339 <ccts:VersionID>1.0</ccts:VersionID> 1340 <ccts:DictionaryEntryName>Ordinal. Type</ccts:DictionaryEntryName> 1341 <ccts:Definition>An ordinal number is an assigned mathematical number that 1342 represents order or sequence</ccts:Definition> 1343 <ccts:DataTypeTermName>Ordinal</ccts:DataTypeTermName> 1344 </xsd:documentation> 1345 </xsd:annotation> 1346 <xsd:restriction base="xsd:integer"> 1347 <xsd:annotation> 1348 <xsd:documentation> 1349 <ccts:ContentComponentValueDomain> 1350 <ccts:Definition>An assigned mathematical number that represents order or 1351 sequence</ccts:Definition> 1352 <ccts:DefaultIndicator>True</ccts:DefaultIndicator> 1353 <ccts:PrimitiveTypeName>Integer</ccts:PrimitiveTypeName> 1354 </ccts:ContentComponentValueDomain> 1355 </xsd:documentation> 1356 </xsd:annotation> 1357 </xsd:restriction> 1358 </xsd:simpleType> 1359 <xsd:complexType name="TextType_568D06"> 1360 <xsd:simpleContent> 1361

Page 43: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 43 of 46

<xsd:extension base="TokenType"> 1362 <xsd:attribute name="languageCode" type="clm5639220081107:LanguageCodeContentType" 1363 use="optional"/> 1364 </xsd:extension> 1365 </xsd:simpleContent> 1366 </xsd:complexType> 1367 <xsd:simpleType name="ValueType_D39AEF"> 1368 <xsd:restriction base="TokenType"/> 1369 </xsd:simpleType> 1370 <xsd:complexType name="ValueType_C14BE1"> 1371 <xsd:simpleContent> 1372 <xsd:extension base="StringType"/> 1373 </xsd:simpleContent> 1374 </xsd:complexType> 1375 <xsd:complexType name="ValueType_677794"> 1376 <xsd:simpleContent> 1377 <xsd:extension base="NonNegativeIntegerType"/> 1378 </xsd:simpleContent> 1379 </xsd:complexType> 1380 < xsd:simpleType name="MaximumCardinalityValueType_8D0182"> 1381 <xsd:restriction base="TokenType"> 1382 <xsd:pattern value="0"/> 1383 <xsd:pattern value="unbounded"/> 1384 </xsd:restriction> 1385 </xsd:simpleType> 1386 <!--LanguageCode Content Value Type--> 1387 <xsd:simpleType name="ValueType_E990BA"> 1388 <xsd:annotation> 1389 <xsd:documentation>Language Code Content Value Type</xsd:documentation> 1390 </xsd:annotation> 1391 <xsd:restriction base="TokenType"/> 1392 </xsd:simpleType> 1393 </xsd:schema> 1394

Page 44: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 44 of 46

Appendix B. Use Cases and supporting XML Instance 1395 Examples. 1396

[Note – The use cases and examples will be provided once this specification 1397 completes ODP5] 1398

Page 45: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 45 of 46

Disclaimer 1399

The views and specification expressed in this document are those of the authors and 1400 are not necessarily those of their employers. The authors and their employers 1401 specifically disclaim responsibility for any problems arising from correct or incorrect 1402 implementation or use of this design. 1403

Page 46: Specification XMLForCCTS Version 1.0 ODP5€¦ · Oracle Corporation / OAGi 143 Editors Mark Crawford SAP Labs US Scott Hinkelman Oracle Corporation 144 Contributors David Connelly

XML For CCTS V1.0 ODP5 2010-12-31

Page 46 of 46

8 Copyright Statement 1404

1405 Copyright © UN/CEFACT 2010. All Rights Reserved. 1406 1407 This document and translations of it may be copied and furnished to others, and 1408 derivative works that comment on or otherwise explain it or assist in its 1409 implementation may be prepared, copied, published and distributed, in whole or in 1410 part, without restriction of any kind, provided that the above copyright notice and this 1411 paragraph are included on all such copies and derivative works. However, this 1412 document itself may not be modified in any way, such as by removing the copyright 1413 notice or references to UN/CEFACT except as required to translate it into languages 1414 other than English. 1415 The limited permissions granted above are perpetual and will not be revoked by 1416 UN/CEFACT or its successors or assigns. 1417 This document and the information contained herein is provided on an "AS IS" basis 1418 and UN/CEFACT DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, 1419 INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE 1420 INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED 1421 WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR 1422 PURPOSE. 1423