1 | <?xml version = "1.0" encoding = "UTF-8"?>
|
---|
2 | <!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/rs.xsd,v 1.9 2005/01/31 22:33:54 farrukh_najmi Exp $ -->
|
---|
3 | <schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
|
---|
4 | xmlns="http://www.w3.org/2001/XMLSchema"
|
---|
5 | xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
|
---|
6 | xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"
|
---|
7 | elementFormDefault="qualified"
|
---|
8 | attributeFormDefault="unqualified"
|
---|
9 | >
|
---|
10 |
|
---|
11 | <annotation>
|
---|
12 | <documentation xml:lang="en">The schema for OASIS ebXML Registry Services</documentation>
|
---|
13 | </annotation>
|
---|
14 | <!-- Import the rim.xsd file with XML schema mappaing from RIM -->
|
---|
15 | <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/>
|
---|
16 | <complexType name="RegistryRequestType">
|
---|
17 | <annotation>
|
---|
18 | <documentation xml:lang="en">Base type for all ebXML Registry requests</documentation>
|
---|
19 | </annotation>
|
---|
20 | <sequence>
|
---|
21 | <!-- every request may be extended using Slots. -->
|
---|
22 | <element maxOccurs="1" minOccurs="0" name="RequestSlotList" type="rim:SlotListType"/>
|
---|
23 | </sequence>
|
---|
24 | <attribute name="id" type="anyURI" use="optional"/>
|
---|
25 | <!--Comment may be used by requestor to describe the request. Used in VersionInfo.comment-->
|
---|
26 | <attribute name="comment" type="string" use="optional"/>
|
---|
27 | </complexType>
|
---|
28 | <element name="RegistryRequest" type="tns:RegistryRequestType"/>
|
---|
29 | <element name="RegistryErrorList">
|
---|
30 | <annotation>
|
---|
31 | <documentation xml:lang="en">The RegistryErrorList is derived from the ErrorList element from the ebXML Message Service Specification</documentation>
|
---|
32 | </annotation>
|
---|
33 | <complexType>
|
---|
34 | <sequence>
|
---|
35 | <element maxOccurs="unbounded" ref="tns:RegistryError"/>
|
---|
36 | </sequence>
|
---|
37 | <attribute name="highestSeverity" type="rim:referenceURI" use="optional"/>
|
---|
38 | </complexType>
|
---|
39 | </element>
|
---|
40 | <element name="RegistryError">
|
---|
41 | <complexType>
|
---|
42 | <simpleContent>
|
---|
43 | <extension base="string">
|
---|
44 | <attribute name="codeContext" type="string" use="required"/>
|
---|
45 | <attribute name="errorCode" type="string" use="required"/>
|
---|
46 | <attribute default="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error" name="severity" type="rim:referenceURI" />
|
---|
47 | <attribute name="location" type="string" use="optional"/>
|
---|
48 | </extension>
|
---|
49 | </simpleContent>
|
---|
50 | </complexType>
|
---|
51 | </element>
|
---|
52 | <complexType name="RegistryResponseType">
|
---|
53 | <annotation>
|
---|
54 | <documentation xml:lang="en">Base type for all ebXML Registry responses</documentation>
|
---|
55 | </annotation>
|
---|
56 | <sequence>
|
---|
57 | <!-- every response may be extended using Slots. -->
|
---|
58 | <element maxOccurs="1" minOccurs="0" name="ResponseSlotList" type="rim:SlotListType"/>
|
---|
59 | <element minOccurs="0" ref="tns:RegistryErrorList"/>
|
---|
60 | </sequence>
|
---|
61 | <attribute name="status" type="rim:referenceURI" use="required"/>
|
---|
62 | <!-- id is the request if for the request for which this is a response -->
|
---|
63 | <attribute name="requestId" type="anyURI" use="optional"/>
|
---|
64 | </complexType>
|
---|
65 | <element name="RegistryResponse" type="tns:RegistryResponseType"/>
|
---|
66 | </schema>
|
---|