OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

egov-registry message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Schema needed


Paul Spencer wrote:

>Farrukh,
>
>Do you have a copy of the schemas lcm.xsd, rs.xsd and rim.xsd to validate
>your file SubmitObjectsRequest_eGMS1.xml? I imagine these are the ones
>required - I can only find the 2.5 versions on the OASIS site, and you are
>using a version 3 namespace. Or are the files the same and only the
>namespace has changed?
>  
>
These files are attached. Thanks.

-- 
Regards,
Farrukh

<?xml version = "1.0" encoding = "UTF-8"?>
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/lcm.xsd,v 1.2 2004/05/10 23:03:06 farrukh_najmi Exp $ -->
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" 
  xmlns="http://www.w3.org/2001/XMLSchema"; 
  xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
  xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" 
  xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0">
  
  <annotation>
    <documentation xml:lang="en">The schema for OASIS ebXML Registry Services</documentation>
  </annotation>
  <!-- Import the rim.xsd file with XML schema mappaing from RIM -->
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/>
  <!-- Import the rs.xsd file with XML schema for base rs related schema -->
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/>
  <element name="SubmitObjectsRequest">
    <annotation>
      <documentation xml:lang="en">The SubmitObjectsRequest allows one to submit a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object.  Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element ref="rim:RegistryObjectList"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="UpdateObjectsRequest">
    <annotation>
      <documentation xml:lang="en">The UpdateObjectsRequest allows one to update a list of RegistryObject elements. Each RegistryEntry element provides metadata for a single submitted object.  Note that the repository item being submitted is in a separate document that is not in this DTD. The ebXML Messaging Services Specfication defines packaging, for submission, of the metadata of a repository item with the repository item itself. The value of the id attribute of the ExtrinsicObject element must be the same as the xlink:href attribute within the Reference element within the Manifest element of the MessageHeader.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element ref="rim:RegistryObjectList"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="AddSlotsRequest">
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element maxOccurs="1" minOccurs="1" ref="rim:ObjectRef"/>
            <element maxOccurs="unbounded" minOccurs="1" ref="rim:Slot"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="RemoveSlotsRequest">
    <annotation>
      <documentation xml:lang="en">Only need name in Slot within SlotList</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element maxOccurs="1" minOccurs="1" ref="rim:ObjectRef"/>
            <element maxOccurs="unbounded" minOccurs="1" ref="rim:Slot"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="ApproveObjectsRequest">
    <annotation>
      <documentation xml:lang="en">
        The ObjectRefList is the list of
        refs to the registry entrys being approved.
      </documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element ref="rim:ObjectRefList"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="DeprecateObjectsRequest">
    <annotation>
      <documentation xml:lang="en">
        The ObjectRefList is the list of
        refs to the registry entrys being deprecated.
      </documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element ref="rim:ObjectRefList"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="UndeprecateObjectsRequest">
    <annotation>
      <documentation xml:lang="en">
        The ObjectRefList is the list of
        refs to the registry entrys being un-deprecated.
      </documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element ref="rim:ObjectRefList"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="RemoveObjectsRequest">
    <annotation>
      <documentation xml:lang="en">
        The ObjectRefList is the list of
        refs to the registry entrys being removed
      </documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element ref="rim:ObjectRefList"/>
          </sequence>
          <attribute name="deletionScope" default="urn:uuid:15e9500a-1887-4e86-a177-f85f0dde3d3d" type="rim:referenceURI" use="optional"/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="RelocateObjectsRequest">
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element maxOccurs="1" minOccurs="1" name="Query" type="rim:AdhocQueryType"/>
            <element maxOccurs="1" minOccurs="1" name="SourceRegistry" type="rim:ObjectRefType"/>
            <element maxOccurs="1" minOccurs="1" name="DestinationRegistry" type="rim:ObjectRefType"/>
            <element maxOccurs="1" minOccurs="1" name="OwnerAtSource" type="rim:ObjectRefType"/>
            <element maxOccurs="1" minOccurs="1" name="OwnerAtDestination" type="rim:ObjectRefType"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="AcceptObjectsRequest">
    <!-- The ObjectRefList must only contain local ObjectRefs such that they do not specify home attribute -->
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <attribute name="correlationId" type="anyURI" use="required"/>
        </extension>
      </complexContent>
    </complexType>
  </element>
</schema>
<?xml version = "1.0" encoding = "UTF-8"?>
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/query.xsd,v 1.2 2004/02/27 18:49:40 farrukh_najmi Exp $ -->
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" 
  xmlns="http://www.w3.org/2001/XMLSchema"; 
  xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
  xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" 
  xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
  
  <!-- Import the rim.xsd file with XML schema mappaing from RIM -->
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/>
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/>
  <complexType name="ResponseOptionType">
    <attribute default="RegistryObject" name="returnType">
      <simpleType>
        <restriction base="NCName">
          <enumeration value="ObjectRef"/>
          <enumeration value="RegistryObject"/>
          <enumeration value="RegistryEntry"/>
          <enumeration value="LeafClass"/>
          <enumeration value="LeafClassWithRepositoryItem"/>
        </restriction>
      </simpleType>
    </attribute>
    <attribute default="false" name="returnComposedObjects" type="boolean"/>
  </complexType>
  <element name="ResponseOption" type="tns:ResponseOptionType"/>
  <element name="AdhocQueryRequest">
    <annotation>
      <documentation xml:lang="en">An Ad hoc query request specifies an ad hoc query.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element maxOccurs="1" minOccurs="1" ref="tns:ResponseOption"/>
            <choice maxOccurs="1" minOccurs="1">
              <element ref="tns:FilterQuery"/>
              <element ref="tns:SQLQuery"/>
            </choice>
          </sequence>
          <attribute default="false" name="federated" type="boolean" use="optional"/>
          <attribute name="federation" type="anyURI" use="optional"/>
          <attribute default="0" name="startIndex" type="integer"/>
          <attribute default="-1" name="maxResults" type="integer"/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <complexType name="SQLQueryType">
    <annotation>
      <documentation xml:lang="en">An Ad hoc query request specifies a query string as defined by [RS] in the queryString attribute</documentation>
    </annotation>
    <complexContent>
      <extension base="rim:AdhocQueryType">
        <sequence>
          <element ref="tns:QueryString"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="QueryString" type="string"/>  
  <element name="SQLQuery" type="tns:SQLQueryType" substitutionGroup="rim:Identifiable"/>
  <element name="AdhocQueryResponse">
    <annotation>
      <documentation xml:lang="en">
        The response includes a RegistryObjectList which has zero or more
        RegistryObjects that match the query specified in AdhocQueryRequest.
      </documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryResponseType">
          <choice maxOccurs="1" minOccurs="1">
            <element ref="tns:FilterQueryResult"/>
            <element ref="tns:SQLQueryResult"/>
          </choice>
          <attribute default="0" name="startIndex" type="integer"/>
          <attribute name="totalResultCount" type="integer" use="optional"/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="SQLQueryResult" type="rim:RegistryObjectListType"/>
  <complexType name="FilterQueryType">
    <complexContent>
      <extension base="rim:AdhocQueryType">
        <choice maxOccurs="1" minOccurs="1">
          <element ref="tns:RegistryObjectQuery"/>
          <element ref="tns:RegistryEntryQuery"/>
          <element ref="tns:AssociationQuery"/>
          <element ref="tns:AuditableEventQuery"/>
          <element ref="tns:ClassificationQuery"/>
          <element ref="tns:ClassificationNodeQuery"/>
          <element ref="tns:ClassificationSchemeQuery"/>
          <element ref="tns:RegistryPackageQuery"/>
          <element ref="tns:ExtrinsicObjectQuery"/>
          <element ref="tns:OrganizationQuery"/>
          <element ref="tns:ServiceQuery"/>
          <element ref="tns:FederationQuery"/>
          <element ref="tns:RegistryQuery"/>
          <element ref="tns:SubscriptionQuery"/>
          <element ref="tns:UserQuery"/>
        </choice>
      </extension>
    </complexContent>
  </complexType>
  <element name="FilterQuery" type="tns:FilterQueryType" substitutionGroup="rim:Identifiable"/>
  <complexType name="RegistryObjectQueryType">
    <sequence>
      <element maxOccurs="1" minOccurs="0" ref="tns:RegistryObjectFilter"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:ExternalIdentifierFilter"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:AuditableEventQuery"/>
      <element maxOccurs="1" minOccurs="0" ref="tns:NameBranch"/>
      <element maxOccurs="1" minOccurs="0" ref="tns:DescriptionBranch"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:ClassifiedByBranch"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:SlotBranch"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:SourceAssociationBranch"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:TargetAssociationBranch"/>
    </sequence>
  </complexType>
  <element name="RegistryObjectQuery" type="tns:RegistryObjectQueryType"/>
  <complexType name="InternationalStringBranchType">
    <sequence>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:LocalizedStringFilter"/>
    </sequence>
  </complexType>
  <element name="NameBranch" type="tns:InternationalStringBranchType"/>
  <element name="DescriptionBranch" type="tns:InternationalStringBranchType"/>
  <complexType name="RegistryEntryQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:RegistryEntryFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="RegistryEntryQuery" type="tns:RegistryEntryQueryType"/>
  <complexType name="ClassificationQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationFilter"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationSchemeQuery"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationNodeQuery"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:RegistryObjectQuery"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:RegistryEntryQuery"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ClassificationQuery" type="tns:ClassificationQueryType"/>
  <complexType name="ClassificationSchemeQueryType">
    <complexContent>
      <extension base="tns:RegistryEntryQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationSchemeFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ClassificationSchemeQuery" type="tns:ClassificationSchemeQueryType"/>
  <complexType name="AssociationQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:AssociationFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="AssociationQuery" type="tns:AssociationQueryType"/>
  <complexType name="AuditableEventQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:AuditableEventFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:RegistryObjectQuery"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:RegistryEntryQuery"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:UserQuery"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="AuditableEventQuery" type="tns:AuditableEventQueryType"/>
  <complexType name="ClassificationNodeQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence maxOccurs="1" minOccurs="0">
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationNodeFilter"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationSchemeQuery"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationNodeParentBranch"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:ClassificationNodeChildrenBranch"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ClassificationNodeQuery" type="tns:ClassificationNodeQueryType"/>
  <element name="ClassificationNodeParentBranch" type="tns:ClassificationNodeQueryType"/>
  <element name="ClassificationNodeChildrenBranch" type="tns:ClassificationNodeQueryType"/>
  <complexType name="RegistryPackageQueryType">
    <complexContent>
      <extension base="tns:RegistryEntryQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:RegistryPackageFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:RegistryObjectQuery"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:RegistryEntryQuery"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="RegistryPackageQuery" type="tns:RegistryPackageQueryType"/>
  <complexType name="ExtrinsicObjectQueryType">
    <complexContent>
      <extension base="tns:RegistryEntryQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:ExtrinsicObjectFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ExtrinsicObjectQuery" type="tns:ExtrinsicObjectQueryType"/>
  <complexType name="FederationQueryType">
    <complexContent>
      <extension base="tns:RegistryEntryQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:FederationFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:RegistryQuery"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="FederationQuery" type="tns:FederationQueryType"/>
  <complexType name="OrganizationQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:OrganizationFilter"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:PostalAddressFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:TelephoneNumberFilter"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:UserQuery"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:OrganizationParentBranch"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:OrganizationChildrenBranch"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="OrganizationQuery" type="tns:OrganizationQueryType"/>
  <element name="OrganizationParentBranch" type="tns:OrganizationQueryType"/>
  <element name="OrganizationChildrenBranch" type="tns:OrganizationQueryType"/>
  <complexType name="RegistryQueryType">
    <complexContent>
      <extension base="tns:RegistryEntryQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:RegistryFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="RegistryQuery" type="tns:RegistryQueryType"/>
  <complexType name="ServiceQueryType">
    <complexContent>
      <extension base="tns:RegistryEntryQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:ServiceFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:ServiceBindingBranch"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ServiceQuery" type="tns:ServiceQueryType"/>
  <complexType name="ServiceBindingBranchType">
    <sequence>
      <element maxOccurs="1" minOccurs="0" ref="tns:ServiceBindingFilter"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:SpecificationLinkBranch"/>
      <element maxOccurs="1" minOccurs="0" ref="tns:ServiceBindingTargetBranch"/>
    </sequence>
  </complexType>
  <element name="ServiceBindingBranch" type="tns:ServiceBindingBranchType"/>
  <element name="ServiceBindingTargetBranch" type="tns:ServiceBindingBranchType"/>
  <element name="SpecificationLinkBranch">
    <complexType>
      <sequence>
        <element maxOccurs="1" minOccurs="0" ref="tns:SpecificationLinkFilter"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:RegistryObjectQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:RegistryEntryQuery"/>
      </sequence>
    </complexType>
  </element>
  <complexType name="SubscriptionQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:SubscriptionFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="SubscriptionQuery" type="tns:SubscriptionQueryType"/>
  <complexType name="UserQueryType">
    <complexContent>
      <extension base="tns:RegistryObjectQueryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:UserFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:EmailAddressFilter"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:PostalAddressFilter"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:PersonNameFilter"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:TelephoneNumberFilter"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="UserQuery" type="tns:UserQueryType"/>
  <element name="FilterQueryResult">
    <complexType>
      <choice maxOccurs="1" minOccurs="1">
        <element ref="tns:RegistryObjectQueryResult"/>
        <element ref="tns:RegistryEntryQueryResult"/>
        <element ref="tns:AssociationQueryResult"/>
        <element ref="tns:AuditableEventQueryResult"/>
        <element ref="tns:ClassificationQueryResult"/>
        <element ref="tns:ClassificationNodeQueryResult"/>
        <element ref="tns:ClassificationSchemeQueryResult"/>
        <element ref="tns:RegistryPackageQueryResult"/>
        <element ref="tns:ExtrinsicObjectQueryResult"/>
        <element ref="tns:OrganizationQueryResult"/>
        <element ref="tns:ServiceQueryResult"/>
        <element ref="tns:FederationQueryResult"/>
        <element ref="tns:RegistryQueryResult"/>
        <element ref="tns:SubscriptionQueryResult"/>
        <element ref="tns:UserQueryResult"/>
      </choice>
    </complexType>
  </element>
  <element name="RegistryObjectQueryResult" type="rim:RegistryObjectListType"/>
  <element name="RegistryEntryQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:ClassificationScheme"/>
        <element ref="rim:ExtrinsicObject"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryPackage"/>
        <element ref="rim:Service"/>
        <element ref="rim:Federation"/>
        <element ref="rim:Registry"/>
      </choice>
    </complexType>
  </element>
  <element name="AssociationQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:Association"/>
      </choice>
    </complexType>
  </element>
  <element name="AuditableEventQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:AuditableEvent"/>
      </choice>
    </complexType>
  </element>
  <element name="ClassificationQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:Classification"/>
      </choice>
    </complexType>
  </element>
  <element name="ClassificationNodeQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:ClassificationNode"/>
      </choice>
    </complexType>
  </element>
  <element name="ClassificationSchemeQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:ClassificationScheme"/>
      </choice>
    </complexType>
  </element>
  <element name="RegistryPackageQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryPackage"/>
      </choice>
    </complexType>
  </element>
  <element name="ExtrinsicObjectQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:ExtrinsicObject"/>
      </choice>
    </complexType>
  </element>
  <element name="FederationQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:Federation"/>
      </choice>
    </complexType>
  </element>
  <element name="OrganizationQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:Organization"/>
      </choice>
    </complexType>
  </element>
  <element name="RegistryQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:Registry"/>
      </choice>
    </complexType>
  </element>
  <element name="ServiceQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:RegistryEntry"/>
        <element ref="rim:Service"/>
      </choice>
    </complexType>
  </element>
  <element name="SubscriptionQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:Subscription"/>
      </choice>
    </complexType>
  </element>
  <element name="UserQueryResult">
    <complexType>
      <choice maxOccurs="unbounded" minOccurs="0">
        <element ref="rim:ObjectRef"/>
        <element ref="rim:RegistryObject"/>
        <element ref="rim:User"/>
      </choice>
    </complexType>
  </element>
  <complexType name="AssociationBranchType">
    <sequence>
      <element maxOccurs="1" minOccurs="0" ref="tns:AssociationFilter"/>
      <choice maxOccurs="1" minOccurs="0">
        <element maxOccurs="1" minOccurs="0" ref="tns:ExternalLinkFilter"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ExternalIdentifierFilter"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:RegistryObjectQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:RegistryEntryQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:AssociationQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationSchemeQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationNodeQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:OrganizationQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:AuditableEventQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:RegistryPackageQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ExtrinsicObjectQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ServiceQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:FederationQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:RegistryQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:SubscriptionQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:UserQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ServiceBindingBranch"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:SpecificationLinkBranch"/>
      </choice>
    </sequence>
  </complexType>
  <element name="SourceAssociationBranch" type="tns:AssociationBranchType"/>
  <element name="TargetAssociationBranch" type="tns:AssociationBranchType"/>
  <element name="ClassifiedByBranch">
    <complexType>
      <sequence>
        <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationFilter"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationSchemeQuery"/>
        <element maxOccurs="1" minOccurs="0" ref="tns:ClassificationNodeQuery"/>
      </sequence>
    </complexType>
  </element>
  <element name="SlotBranch">
    <complexType>
      <sequence>
        <element maxOccurs="1" minOccurs="0" ref="tns:SlotFilter"/>
        <element maxOccurs="unbounded" minOccurs="0" ref="tns:SlotValueFilter"/>
      </sequence>
    </complexType>
  </element>
  <complexType name="FilterType">
    <sequence>
      <element ref="tns:Clause"/>
    </sequence>
  </complexType>
  <element name="RegistryObjectFilter" type="tns:FilterType"/>
  <element name="RegistryEntryFilter" type="tns:FilterType"/>
  <element name="ExtrinsicObjectFilter" type="tns:FilterType"/>
  <element name="RegistryPackageFilter" type="tns:FilterType"/>
  <element name="OrganizationFilter" type="tns:FilterType"/>
  <element name="ClassificationNodeFilter" type="tns:FilterType"/>
  <element name="AssociationFilter" type="tns:FilterType"/>
  <element name="ClassificationFilter" type="tns:FilterType"/>
  <element name="ClassificationSchemeFilter" type="tns:FilterType"/>
  <element name="ExternalLinkFilter" type="tns:FilterType"/>
  <element name="ExternalIdentifierFilter" type="tns:FilterType"/>
  <element name="SlotFilter" type="tns:FilterType"/>
  <element name="AuditableEventFilter" type="tns:FilterType"/>
  <element name="UserFilter" type="tns:FilterType"/>
  <element name="SlotValueFilter" type="tns:FilterType"/>
  <element name="PostalAddressFilter" type="tns:FilterType"/>
  <element name="TelephoneNumberFilter" type="tns:FilterType"/>
  <element name="EmailAddressFilter" type="tns:FilterType"/>
  <element name="ServiceFilter" type="tns:FilterType"/>
  <element name="ServiceBindingFilter" type="tns:FilterType"/>
  <element name="SpecificationLinkFilter" type="tns:FilterType"/>
  <element name="LocalizedStringFilter" type="tns:FilterType"/>
  <element name="FederationFilter" type="tns:FilterType"/>
  <element name="PersonNameFilter" type="tns:FilterType"/>
  <element name="RegistryFilter" type="tns:FilterType"/>
  <element name="SubscriptionFilter" type="tns:FilterType"/>
  <element name="Clause">
    <annotation>
      <documentation xml:lang="en">The following lines define the XML syntax for Clause.</documentation>
    </annotation>
    <complexType>
      <choice>
        <element ref="tns:SimpleClause"/>
        <element ref="tns:CompoundClause"/>
      </choice>
    </complexType>
  </element>
  <element name="SimpleClause">
    <complexType>
      <choice>
        <element ref="tns:BooleanClause"/>
        <element ref="tns:RationalClause"/>
        <element ref="tns:StringClause"/>
      </choice>
      <attribute name="leftArgument" type="string" use="required"/>
    </complexType>
  </element>
  <element name="CompoundClause">
    <complexType>
      <sequence>
        <element maxOccurs="unbounded" ref="tns:Clause"/>
      </sequence>
      <attribute name="connectivePredicate" use="required">
        <simpleType>
          <restriction base="NCName">
            <enumeration value="And"/>
            <enumeration value="Or"/>
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
  <element name="BooleanClause">
    <complexType>
      <attribute name="booleanPredicate" type="boolean" use="required"/>
    </complexType>
  </element>
  <element name="RationalClause">
    <complexType>
      <choice>
        <element ref="tns:IntClause"/>
        <element ref="tns:FloatClause"/>
        <element ref="tns:DateTimeClause"/>
      </choice>
      <attribute name="logicalPredicate" use="required">
        <simpleType>
          <restriction base="NCName">
            <enumeration value="LE"/>
            <enumeration value="LT"/>
            <enumeration value="GE"/>
            <enumeration value="GT"/>
            <enumeration value="EQ"/>
            <enumeration value="NE"/>
          </restriction>
        </simpleType>
      </attribute>
    </complexType>
  </element>
  <element name="IntClause" type="integer"/>
  <element name="FloatClause" type="float"/>
  <element name="DateTimeClause" type="dateTime"/>
  <element name="StringClause">
    <complexType>
      <simpleContent>
        <extension base="string">
          <attribute name="stringPredicate" use="required">
            <simpleType>
              <restriction base="NCName">
                <enumeration value="Contains"/>
                <enumeration value="NotContains"/>
                <enumeration value="StartsWith"/>
                <enumeration value="NotStartsWith"/>
                <enumeration value="Like"/>
                <enumeration value="NotLike"/>
                <enumeration value="Equal"/>
                <enumeration value="NotEqual"/>
                <enumeration value="EndsWith"/>
                <enumeration value="NotEndsWith"/>
              </restriction>
            </simpleType>
          </attribute>
        </extension>
      </simpleContent>
    </complexType>
  </element>
  <element name="GetContentRequest">
    <annotation>
      <documentation xml:lang="en">Gets the actual content (not metadata) specified by the ObjectRefList</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <sequence>
            <element maxOccurs="1" minOccurs="1" ref="rim:ObjectRefList"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="GetContentResponse">
    <annotation>
      <documentation xml:lang="en">
        The GetContentResponse will have no sub-elements if there were no errors.
        The actual contents will be in the other payloads of the message.
      </documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="rs:RegistryResponseType"/>
      </complexContent>
    </complexType>
  </element>
  <element name="GetNotificationsRequest">
    <complexType>
      <complexContent>
        <extension base="rs:RegistryRequestType">
          <!-- The id for the request/subscription that resulted in this notification -->
          <attribute name="subscription" type="anyURI" use="optional"/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <complexType name="NotificationType">
    <annotation>
      <documentation>Abstract Base type for all types of Notifications.</documentation>
    </annotation>
    <complexContent>
      <!-- Might be unsolicited and not a response to a request -->
      <extension base="rs:RegistryResponseType">
        <!-- The id for the request/subscription that resulted in this notification -->
        <attribute name="subscription" type="anyURI" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Notification" type="tns:NotificationType"/>
  <complexType name="ObjectRefsNotificationType">
    <annotation>
      <documentation xml:lang="en">
        An ActionType that notifies the recipient
        by providing light weight references to the RegistryObjects of interest.
        Client must retrieve the objects separately if needed.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:NotificationType">
        <sequence>
          <element maxOccurs="1" minOccurs="1" ref="rim:ObjectRefList"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ObjectRefsNotification" type="tns:ObjectRefsNotificationType"/>
  <complexType name="ObjectsNotificationType">
    <annotation>
      <documentation xml:lang="en">
        An ActionType that notifies the recipient
        by providing the actual RegistryObjects of interest..
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:NotificationType">
        <sequence>
          <element maxOccurs="1" minOccurs="1" ref="rim:RegistryObjectList"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="ObjectsNotification" type="tns:ObjectsNotificationType"/>
</schema>
<?xml version = "1.0" encoding = "UTF-8"?>
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/rim.xsd,v 1.4 2004/05/10 23:03:06 farrukh_najmi Exp $ -->
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
  xmlns="http://www.w3.org/2001/XMLSchema"; 
  xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"; 
  xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
  
  <annotation>
    <documentation xml:lang="en">The schema for OASIS ebXML Registry Information Model</documentation>
  </annotation>
  <import namespace="http://www.w3.org/XML/1998/namespace"; schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  <import namespace="http://www.w3.org/2000/09/xmldsig#"; schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/>
  <!-- Begin information model mapping from ebRIM. -->
  <!-- Define Data Types -->
  <simpleType name="referenceURI">
    <annotation>
      <documentation xml:lang="en">
        referenceURI is used by reference attributes within RIM.
        Each attribute of type referenceURI references a RegistryObject with
        specified URI as id.
      </documentation>
    </annotation>
    <restriction base="anyURI" />
  </simpleType>
  <simpleType name="String4">
    <restriction base="string">
      <maxLength value="4"/>
    </restriction>
  </simpleType>
  <simpleType name="String8">
    <restriction base="string">
      <maxLength value="8"/>
    </restriction>
  </simpleType>
  <simpleType name="String16">
    <restriction base="string">
      <maxLength value="16"/>
    </restriction>
  </simpleType>
  <simpleType name="String32">
    <restriction base="string">
      <maxLength value="32"/>
    </restriction>
  </simpleType>
  <simpleType name="ShortName">
    <restriction base="string">
      <maxLength value="64"/>
    </restriction>
  </simpleType>
  <simpleType name="LongName">
    <restriction base="string">
      <maxLength value="128"/>
    </restriction>
  </simpleType>
  <simpleType name="FreeFormText">
    <restriction base="string">
      <maxLength value="256"/>
    </restriction>
  </simpleType>
  <complexType name="SignatureListType">
    <sequence>
      <element maxOccurs="unbounded" minOccurs="1" ref="dsig:Signature"/>
    </sequence>
  </complexType>
  <element name="SignatureList" type="tns:SignatureListType"/>
  <complexType name="AssociationType1">
    <annotation>
      <documentation xml:lang="en">
        Association is the mapping of the same named interface in ebRIM.
        It extends RegistryObject.
        An Association specifies references to two previously submitted
        registry entrys.
        The sourceObject is id of the sourceObject in association
        The targetObject is id of the targetObject in association
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <attribute name="associationType" type="tns:referenceURI" use="required"/>
        <attribute name="sourceObject" type="tns:referenceURI" use="required"/>
        <attribute name="targetObject" type="tns:referenceURI" use="required"/>
        <attribute name="isConfirmedBySourceOwner" type="boolean" use="optional"/>
        <attribute name="isConfirmedByTargetOwner" type="boolean" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Association" type="tns:AssociationType1" substitutionGroup="tns:Identifiable"/>
  <complexType name="AuditableEventType">
    <annotation>
      <documentation xml:lang="en">An Event that forms an audit trail in ebXML Registry.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence>
          <!-- List of all objects that have been effected by this event -->
          <element maxOccurs="1" minOccurs="1" name="affectedObject" type="tns:ObjectRefListType"/>
        </sequence>
        <attribute name="eventType" type="tns:referenceURI" use="required"/>
        <attribute name="timestamp" type="dateTime" use="required"/>
        <attribute name="user" type="tns:referenceURI" use="required"/>
        <attribute name="requestId" type="tns:referenceURI" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="AuditableEvent" type="tns:AuditableEventType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ClassificationType">
    <annotation>
      <documentation xml:lang="en">
        Classification is the mapping of the same named interface in ebRIM.
        It extends RegistryObject.
        A Classification specifies references to two registry entrys.
        The classifiedObject is id of the Object being classified.
        The classificationNode is id of the ClassificationNode classying the object
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <attribute name="classificationScheme" type="tns:referenceURI" use="optional"/>
        <attribute name="classifiedObject" type="tns:referenceURI" use="required"/>
        <attribute name="classificationNode" type="tns:referenceURI" use="optional"/>
        <attribute name="nodeRepresentation" type="tns:LongName" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Classification" type="tns:ClassificationType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ClassificationNodeType">
    <annotation>
      <documentation xml:lang="en">
        ClassificationNode is the mapping of the same named interface in ebRIM.
        It extends RegistryObject.
        ClassificationNode is used to submit a Classification tree to the Registry.
        The parent attribute is the id to the parent node. code is an optional code value for a ClassificationNode
        often defined by an external taxonomy (e.g. NAICS)
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:ClassificationNode"/>
        </sequence>
        <attribute name="parent" type="tns:referenceURI" use="optional"/>
        <!-- Why is this optional?? Needs to be discussed as an issue and fixed -->
        <attribute name="code" type="tns:LongName" use="optional"/>
        <attribute name="path" type="string" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ClassificationNode" type="tns:ClassificationNodeType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ClassificationSchemeType">
    <annotation>
      <documentation xml:lang="en">
        ClassificationScheme is the mapping of the same named interface in ebRIM.
        It extends RegistryEntry.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryEntryType">
        <sequence>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:ClassificationNode"/>
        </sequence>
        <attribute name="isInternal" type="boolean" use="required"/>
        <attribute name="nodeType" type="tns:referenceURI" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ClassificationScheme" type="tns:ClassificationSchemeType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ExternalIdentifierType">
    <annotation>
      <documentation xml:lang="en">
        ExternalIdentifier is the mapping of the same named interface in ebRIM.
        It extends RegistryObject.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <attribute name="registryObject" type="tns:referenceURI" use="optional"/>
        <attribute name="identificationScheme" type="tns:referenceURI" use="required"/>
        <attribute name="value" type="tns:LongName" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ExternalIdentifier" type="tns:ExternalIdentifierType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ExternalLinkType">
    <annotation>
      <documentation xml:lang="en">
        ExternalLink is the mapping of the same named interface in ebRIM.
        It extends RegistryObject.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <attribute name="externalURI" type="anyURI" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ExternalLink" type="tns:ExternalLinkType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ExtrinsicObjectType">
    <annotation>
      <documentation xml:lang="en">
        ExtrinsicObject are attributes from the ExtrinsicObject interface in ebRIM.
        It inherits RegistryEntryAttributes
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryEntryType">
        <attribute default="application/octet-stream" name="mimeType" type="tns:LongName"/>
        <attribute default="false" name="isOpaque" type="boolean"/>
      </extension>
    </complexContent>
  </complexType>
  <!-- Following element decl nneds to be lower case but using upper camel case for backward compatibility -->
  <element name="ExtrinsicObject" type="tns:ExtrinsicObjectType" substitutionGroup="tns:Identifiable"/>
  <element name="Address" type="tns:PostalAddressType"/>
  <complexType name="OrganizationType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence maxOccurs="1" minOccurs="1">
          <element maxOccurs="1" minOccurs="1" ref="tns:Address"/>
          <element maxOccurs="unbounded" minOccurs="1" ref="tns:TelephoneNumber"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:EmailAddress"/>
        </sequence>
        <attribute name="parent" type="tns:referenceURI"/>
        <attribute name="primaryContact" type="tns:referenceURI" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Organization" type="tns:OrganizationType" substitutionGroup="tns:Identifiable"/>
  <complexType name="SlotType1">
    <sequence>
      <element maxOccurs="1" minOccurs="1" ref="tns:ValueList"/>
    </sequence>
    <attribute name="name" type="tns:LongName" use="required"/>
    <attribute name="slotType" type="tns:LongName" use="optional"/>
  </complexType>
  <element name="Slot" type="tns:SlotType1"/>
  <complexType name="ValueListType">
    <sequence maxOccurs="unbounded" minOccurs="0">
      <element ref="tns:Value"/>
    </sequence>
  </complexType>
  <element name="ValueList" type="tns:ValueListType"/>
  <element name="Value" type="tns:LongName"/>
  <complexType name="SlotListType">
    <sequence>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:Slot"/>
    </sequence>
  </complexType>
  <element name="SlotList" type="tns:SlotListType"/>
  <complexType name="PersonNameType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <sequence maxOccurs="unbounded" minOccurs="0">
      <element ref="tns:Slot"/>
    </sequence>
    <attribute name="firstName" type="tns:ShortName" use="optional"/>
    <attribute name="middleName" type="tns:ShortName" use="optional"/>
    <attribute name="lastName" type="tns:ShortName" use="optional"/>
  </complexType>
  <element name="PersonName" type="tns:PersonNameType"/>
  <complexType name="EmailAddressType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <sequence maxOccurs="unbounded" minOccurs="0">
      <element ref="tns:Slot"/>
    </sequence>
    <attribute name="address" type="tns:ShortName" use="required"/>
    <attribute name="type" type="tns:String32" use="optional"/>
  </complexType>
  <element name="EmailAddress" type="tns:EmailAddressType"/>
  <complexType name="PostalAddressType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <sequence maxOccurs="unbounded" minOccurs="0">
      <element ref="tns:Slot"/>
    </sequence>
    <attribute name="city" type="tns:ShortName" use="optional"/>
    <attribute name="country" type="tns:ShortName" use="optional"/>
    <attribute name="postalCode" type="tns:ShortName" use="optional"/>
    <attribute name="stateOrProvince" type="tns:ShortName" use="optional"/>
    <attribute name="street" type="tns:ShortName" use="optional"/>
    <attribute name="streetNumber" type="tns:String32" use="optional"/>
  </complexType>
  <element name="PostalAddress" type="tns:PostalAddressType"/>
  <complexType name="RegistryEntryType">
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <attribute name="expiration" type="dateTime" use="optional"/>
        <attribute default="1" name="majorVersion" type="integer"/>
        <attribute default="0" name="minorVersion" type="integer"/>
        <attribute name="stability" type="tns:referenceURI" use="optional"/>
        <attribute name="userVersion" type="tns:ShortName" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name = "RegistryEntry" type = "tns:RegistryEntryType"/>
  <complexType name="InternationalStringType">
    <sequence maxOccurs="unbounded" minOccurs="0">
      <element ref="tns:LocalizedString"/>
    </sequence>
  </complexType>
  <element name="InternationalString" type="tns:InternationalStringType"/>
  <complexType name="LocalizedStringType">
    <attribute ref="xml:lang" default="en-US"/> 
    <!--attribute name = "lang" default = "en-US" form = "qualified" type = "language"/-->
    <attribute default="UTF-8" name="charset"/>
    <attribute name="value" type="tns:FreeFormText" use="required"/>
  </complexType>
  <element name="LocalizedString" type="tns:LocalizedStringType"/>
  <complexType name="RegistryObjectType">
    <annotation>
      <documentation xml:lang="en">
        id may be empty. If specified it may be in urn:uuid format or be in some
        arbitrary format. If id is empty registry must generate globally unique id.
        If id is provided and in proper UUID syntax (starts with urn:uuid:)
        registry will honour it.
        If id is provided and is not in proper UUID syntax then it is used for
        linkage within document and is ignored by the registry. In this case the
        registry generates a UUID for id attribute.
        id must not be null when object is being retrieved from the registry.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:IdentifiableType">
        <sequence maxOccurs="1" minOccurs="0">
          <element maxOccurs="1" minOccurs="0" ref="tns:Name"/>
          <element maxOccurs="1" minOccurs="0" ref="tns:Description"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:Slot"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:Classification"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:ExternalIdentifier"/>
        </sequence>
        <attribute name="objectType" type="tns:referenceURI" use="optional"/>
        <attribute name="status" type="tns:referenceURI" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="RegistryObject" type="tns:RegistryObjectType"/>
  <element name="Name" type="tns:InternationalStringType"/>
  <element name="Description" type="tns:InternationalStringType"/>
  <complexType name="RegistryPackageType">
    <annotation>
      <documentation xml:lang="en">
        RegistryPackage is the mapping of the same named interface in ebRIM.
        It extends RegistryEntry.
        A RegistryPackage is a named collection of objects.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryEntryType">
        <sequence>
          <element maxOccurs="1" minOccurs="0" ref="tns:RegistryObjectList"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="RegistryPackage" type="tns:RegistryPackageType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ServiceType">
    <complexContent>
      <extension base="tns:RegistryEntryType">
        <sequence>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:ServiceBinding"/>
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <element name="Service" type="tns:ServiceType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ServiceBindingType">
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:SpecificationLink"/>
        </sequence>
        <attribute name="service" type="tns:referenceURI" use="optional"/>
        <attribute name="accessURI" type="anyURI" use="optional"/>
        <attribute name="targetBinding" type="tns:referenceURI" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ServiceBinding" type="tns:ServiceBindingType" substitutionGroup="tns:Identifiable"/>
  <complexType name="SpecificationLinkType">
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence maxOccurs="1" minOccurs="0">
          <element maxOccurs="1" minOccurs="0" ref="tns:UsageDescription"/>
          <element maxOccurs="unbounded" minOccurs="0" ref="tns:UsageParameter"/>
        </sequence>
        <attribute name="serviceBinding" type="tns:referenceURI" use="optional"/>
        <attribute name="specificationObject" type="tns:referenceURI" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="SpecificationLink" type="tns:SpecificationLinkType" substitutionGroup="tns:Identifiable"/>
  <element name="UsageDescription" type="tns:InternationalStringType"/>
  <element name="UsageParameter" type="tns:FreeFormText"/>
  <complexType name="TelephoneNumberType">
    <annotation>
      <documentation xml:lang="en">TelephoneNumber is the mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <attribute name="areaCode" type="tns:String8" use="optional"/>
    <attribute name="countryCode" type="tns:String8" use="optional"/>
    <attribute name="extension" type="tns:String8" use="optional"/>
    <attribute name="number" type="tns:String16" use="optional"/>
    <attribute name="phoneType" type="tns:String32" use="optional"/>
    <attribute name="url" type="anyURI" use="optional"/>
  </complexType>
  <element name="TelephoneNumber" type="tns:TelephoneNumberType"/>
  <element name="FaxNumber" type="tns:TelephoneNumberType"/>
  <element name="MobileTelephoneNumber" type="tns:TelephoneNumberType"/>
  <element name="PagerNumber" type="tns:TelephoneNumberType"/>
  <complexType name="TelephoneNumberListType">
    <sequence>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:TelephoneNumber"/>
    </sequence>
  </complexType>
  <complexType name="UserType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence maxOccurs="1" minOccurs="1">
          <element maxOccurs="unbounded" minOccurs="1" ref="tns:Address"/>
          <element maxOccurs="1" minOccurs="1" ref="tns:PersonName"/>
          <element maxOccurs="unbounded" minOccurs="1" ref="tns:TelephoneNumber"/>
          <element maxOccurs="unbounded" minOccurs="1" ref="tns:EmailAddress"/>
        </sequence>
        <attribute name="url" type="anyURI" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="User" type="tns:UserType" substitutionGroup="tns:Identifiable"/>
  <complexType name="RegistryType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryEntryType">
        <attribute name="operator" type="tns:referenceURI" use="required"/>
        <attribute name="specificationVersion" type="string" use="required"/>
        <attribute default="P1D" name="replicationSyncLatency" type="duration"/>
        <attribute default="P1D" name="catalogingLatency" type="duration"/>
        <!-- Optional features supported -->
        <attribute default="false" name="sqlQuerySupported" type="boolean"/>
        <attribute default="false" name="eventNotificationSupported" type="boolean"/>
        <attribute default="false" name="objectReplicationSupported" type="boolean"/>
        <attribute default="false" name="objectRelocationSupported" type="boolean"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Registry" type="tns:RegistryType" substitutionGroup="tns:Identifiable"/>
  <complexType name="FederationType">
    <annotation>
      <documentation xml:lang="en">Mapping of the same named interface in ebRIM.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryEntryType">
        <sequence>
          <element ref="tns:Members"/>
        </sequence>
        <attribute name="replicationSyncLatency" type="duration" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Members" type="tns:ObjectRefListType"/>
  <element name="Federation" type="tns:FederationType"  substitutionGroup="tns:Identifiable"/>
  <complexType abstract="true" name="AdhocQueryType">
    <annotation>
      <documentation xml:lang="en">The common base type for all types of Adh hoc queries.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType"/>
    </complexContent>
  </complexType>
  <element name="Action" type="tns:ActionType"/>
  <complexType name="SubscriptionType">
    <annotation>
      <documentation xml:lang="en">A Subscription for specified Events in an ebXML V3+ registry.</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:RegistryObjectType">
        <sequence>
          <element ref="tns:Action" minOccurs="1" maxOccurs="unbounded"/>
        </sequence>
        <!-- Ref to a AdhocQueryType instance -->
        <attribute name="selector" type="tns:referenceURI" use="required"/>
        <attribute name="startDate" type="dateTime" use="optional"/>
        <attribute name="endDate" type="dateTime" use="optional"/>
        <attribute name="notificationInterval" type="duration" use="optional"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="Subscription" type="tns:SubscriptionType" substitutionGroup="tns:Identifiable"/>
  <complexType abstract="true" name="ActionType">
    <annotation>
      <documentation>Abstract Base type for all types of Actions.</documentation>
    </annotation>
  </complexType>
  <complexType name="NotifyActionType">
    <annotation>
      <documentation xml:lang="en">Abstract Base type for all types of Notify Actions</documentation>
    </annotation>
    <complexContent>
      <extension base="tns:ActionType">
        <attribute default="urn:uuid:82c48f21-9eb3-47f7-9da8-f37951a625e1" type="tns:referenceURI" name="notificationOption"/>
        <attribute name="endPoint" type="anyURI" use="required"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="NotifyAction" type="tns:NotifyActionType" substitutionGroup="tns:Action"/>
  <complexType name="IdentifiableType">
    <annotation>
      <documentation xml:lang="en">Common base class for all types that have unique identity.</documentation>
    </annotation>
    <attribute name="id" type="anyURI" use="required"/>
    <!-- home attribute is required only for remote ObjectRef -->
    <attribute name="home" type="anyURI" use="optional"/>
  </complexType>
  <element name="Identifiable" type="tns:IdentifiableType"/>
  <complexType name="ObjectRefType">
    <annotation>
      <documentation xml:lang="en">
        Use to reference an Object by its id.
        Specifies the id attribute of the object as its id attribute.
        id attribute in ObjectAttributes is exactly the same syntax and semantics as
        id attribute in RegistryObject.
      </documentation>
    </annotation>
    <complexContent>
      <extension base="tns:IdentifiableType">
        <!-- When true and is a remote ObjectRef then the registry must create a replica for this ObjectRef -->
        <attribute default="false" name="createReplica" type="boolean"/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ObjectRef" type="tns:ObjectRefType" substitutionGroup="tns:Identifiable"/>
  <complexType name="ObjectRefListType">
    <sequence maxOccurs="unbounded" minOccurs="0">
      <element ref="tns:ObjectRef"/>
    </sequence>
  </complexType>
  <element name="ObjectRefList" type="tns:ObjectRefListType"/>
  <complexType name="RegistryObjectListType">
    <sequence>
      <element maxOccurs="unbounded" minOccurs="0" ref="tns:Identifiable"/>
    </sequence>
  </complexType>
  <element name="RegistryObjectList" type="tns:RegistryObjectListType"/>
</schema>
<?xml version = "1.0" encoding = "UTF-8"?>
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/rs.xsd,v 1.4 2004/05/11 13:58:12 farrukh_najmi Exp $ -->
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" 
  xmlns="http://www.w3.org/2001/XMLSchema"; 
  xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
  xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">
  
  <annotation>
    <documentation xml:lang="en">The schema for OASIS ebXML Registry Services</documentation>
  </annotation>
  <!-- Import the rim.xsd file with XML schema mappaing from RIM -->
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/>
  <complexType name="RegistryRequestType">
    <annotation>
      <documentation xml:lang="en">Base type for all ebXML Registry requests</documentation>
    </annotation>
    <sequence>
      <!-- every request may be signed. -->
      <element maxOccurs="1" minOccurs="0" ref="rim:SignatureList"/>
      <!-- every request may be extended using Slots. -->
      <element maxOccurs="1" minOccurs="0" name="RequestSlotList" type="rim:SlotListType"/>
    </sequence>
    <!-- Needed for async case. In case of sync request/response you may not need id. -->
    <attribute name="id" type="anyURI" use="optional"/>
  </complexType>
  <element name="RegistryErrorList">
    <annotation>
      <documentation xml:lang="en">The RegistryErrorList is derived from the ErrorList element from the ebXML Message Service Specification</documentation>
    </annotation>
    <complexType>
      <sequence>
        <element maxOccurs="unbounded" ref="tns:RegistryError"/>
      </sequence>
      <attribute name="highestSeverity" type="rim:referenceURI" use="optional"/>
    </complexType>
  </element>
  <element name="RegistryError">
    <complexType>
      <simpleContent>
        <extension base="string">
          <attribute name="codeContext" type="string" use="required"/>
          <attribute name="errorCode" type="string" use="required"/>
          <attribute default="urn:uuid:f76d7d42-de2e-4181-8237-93080cef1540" name="severity" type="rim:referenceURI" />
          <attribute name="location" type="string" use="optional"/>
        </extension>
      </simpleContent>
    </complexType>
  </element>
  <complexType name="RegistryResponseType">
    <annotation>
      <documentation xml:lang="en">Base type for all ebXML Registry responses</documentation>
    </annotation>
    <sequence>
      <!-- every response may be signed. -->
      <element maxOccurs="1" minOccurs="0" ref="rim:SignatureList"/>
      <!-- every response may be extended using Slots. -->
      <element maxOccurs="1" minOccurs="0" name="ResponseSlotList" type="rim:SlotListType"/>
      <element minOccurs="0" ref="tns:RegistryErrorList"/>
    </sequence>
    <attribute name="status" type="rim:referenceURI" use="required"/>
    <!-- id is the request if for the request for which this is a response -->
    <attribute name="requestId" type="anyURI" use="optional"/>
  </complexType>
  <element name="RegistryResponse" type="tns:RegistryResponseType"/>
</schema>
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/cms.xsd,v 1.2 2004/02/27 18:49:40 farrukh_najmi Exp $ -->
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0" 
  xmlns="http://www.w3.org/2001/XMLSchema"; 
  xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" 
  xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" 
  xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:cms:3.0">
  
  <!-- Import the rim.xsd file with XML schema mappaing from RIM -->
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" schemaLocation="rim.xsd"/>
  <import namespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" schemaLocation="rs.xsd"/>
  <complexType name="ContentManagementServiceRequestType">
    <annotation>
      <documentation xml:lang="en">Base type for all Content Management Service requests.</documentation>
    </annotation>
    <complexContent>
      <extension base="rs:RegistryRequestType">
        <sequence>
          <element name="OriginalContent" type="rim:RegistryObjectListType"/>
          <element maxOccurs="unbounded" minOccurs="0" name="InvocationControlFile" type="rim:ExtrinsicObjectType"/>
          <!-- The Invocation Control File (optional). -->
        </sequence>
      </extension>
    </complexContent>
  </complexType>
  <complexType name="ContentManagementServiceResponseType">
    <annotation>
      <documentation xml:lang="en">Base type for all Content Management Service responses</documentation>
    </annotation>
    <complexContent>
      <extension base="rs:RegistryResponseType">
        <sequence/>
      </extension>
    </complexContent>
  </complexType>
  <element name="ValidateContentRequest">
    <annotation>
      <documentation xml:lang="en">Request to validate specified metadata and content.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="tns:ContentManagementServiceRequestType">
          <sequence/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="ValidateContentResponse">
    <annotation>
      <documentation xml:lang="en">Response to request to validate specified metadata and content.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="tns:ContentManagementServiceResponseType">
          <sequence/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="CatalogContentRequest">
    <annotation>
      <documentation xml:lang="en">Request to catalog specified metadata and content.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="tns:ContentManagementServiceRequestType">
          <sequence/>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <element name="CatalogContentResponse">
    <annotation>
      <documentation xml:lang="en">Response to request to catalog specified metadata and content.</documentation>
    </annotation>
    <complexType>
      <complexContent>
        <extension base="tns:ContentManagementServiceResponseType">
          <sequence>
            <element name="CatalogedContent" type="rim:RegistryObjectListType"/>
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
</schema>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]