<?xml version="1.0" encoding="UTF-8"?>
<!--This schema is to be used only for consumption of an OPEI Discovery Web Service. Submission of this schema will trigger the host's web service to respond with a DiscoveryResponse schema containing discovery information-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="http://www.opeiwebservices.org/Schemas/DiscoverySubmit"
    targetNamespace="http://www.opeiwebservices.org/Schemas/DiscoverySubmit"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">
  <xsd:element name="DiscoverySubmit">
    <xsd:annotation>
      <xsd:documentation>This is the Root element for this schema.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="SubmitterParty" type="tns:SubmitterType" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation>Only the mandatory data elements are to be used in this schema.</xsd:documentation>
          </xsd:annotation>
        </xsd:element>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>
  <xsd:complexType name="SubmitterType">
    <xsd:annotation>
      <xsd:documentation>This element group is for information about the submitter of the message.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element name="Proxy" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>This element group is for identifying the "Proxy" submitter of the message on behalf of someone else.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="ProxyId" type="xsd:string">
              <xsd:annotation>
                <xsd:documentation>This element is for the Id code assigned to the proxy submitter by the web service host or a commonly recognized party.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
            <xsd:element name="ProxyName" type="xsd:string" minOccurs="0">
              <xsd:annotation>
                <xsd:documentation>This element is for the name of the proxy submitter of the message.</xsd:documentation>
              </xsd:annotation>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="SubmitterID" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>This element is for the Id code assigned to the submitter by the web service host or a commonly recognized party.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="SubmitterName" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>This element is for the name of an individual responsible for submitting the claim.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="EMail" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>This element is for an E-Mail address where the Submitter can be contacted.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
      <xsd:element name="Currency" type="xsd:string" minOccurs="0">
        <xsd:annotation>
          <xsd:documentation>This element is for specifying the currency used for all charge amounts. The currency identifier used here must comply with the ISO international currency code list.</xsd:documentation>
        </xsd:annotation>
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:schema>

