Sample xml schema

The following is the xml schema for that corresponds to the business object definition Telcordia_OrderResponse:

<?xml version = "1.0" encoding = "UTF-8"?>
  
 <!-- Schema Identifier: BD-DELV-SPEC-040, Issue 2A, July 2002, Release 9.5.1-->
 <!-- Last Modified: November 3, 2002-->
  
 <xsd:schema xml:lang = "en" xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
  
    <xsd:include schemaLocation = "./CURTags.xsd"/>
  
    <xsd:element name = "C0">
       <xsd:annotation>
          <xsd:documentation>
 FullName=[*C0 Route Control Header Section]
 Desc=[This section contains routing data for a Customer Order. The *C0
 section must be the first]
          </xsd:documentation>
       </xsd:annotation>
       <xsd:complexType>
          <xsd:all>
             <xsd:element ref = "CORS" minOccurs = "0"/>
             <xsd:element ref = "DD"/>
             <xsd:element ref = "FT"/>
             <xsd:element ref = "ORDNO"/>
             <xsd:element ref = "OT"/>
             <xsd:element ref = "RSYS"/>
             <xsd:element ref = "TSYS"/>
             <xsd:element ref = "TT"/>
             <xsd:element ref = "WC"/>
          </xsd:all>
       </xsd:complexType>
    </xsd:element>
  
    <xsd:element name = "CUR">
       <xsd:annotation>
          <xsd:documentation>
 FullName=[Customer Order Response Section]
 Desc=[This Customer Order Response section contains status information
 and exception information to be returned to the order originator.]
          </xsd:documentation>
       </xsd:annotation>
       <xsd:complexType>
          <xsd:all>
             <xsd:element ref = "STAT" minOccurs = "0"/>
             <xsd:element name = "MSG" minOccurs = "0">
                <xsd:annotation>
                   <xsd:documentation>
 FullName=[Message Aggregate]
 Desc=[The MSG aggregate contains exception information to be returned
 to the order originator.]
 Format=[ Conditional (required for error and non-involvement statuses;
 not present if STAT is ACTV). This aggregate will appear once for each
 exception message]
                   </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                   <xsd:all>
                      <xsd:element ref = "CODE" minOccurs = "0"/>
                      <xsd:element ref = "TEXT" minOccurs = "0"/>
                      <xsd:element ref = "ERRTAGPATH" minOccurs = "0"/>
                      <xsd:element ref = "LDEST" minOccurs = "0"/>
                      <xsd:element ref = "CATEGORY" minOccurs = "0"/>
                   </xsd:all>
                </xsd:complexType>
             </xsd:element>
          </xsd:all>
       </xsd:complexType>
    </xsd:element>
  
    <xsd:element name = "OrderResponse">
       <xsd:complexType>
          <xsd:all>
             <xsd:element ref = "C0"/>
             <xsd:element ref = "CUR"/>
          </xsd:all>
       </xsd:complexType>
    </xsd:element>
  
 </xsd:schema>
 

Copyright IBM Corp. 1997, 2003