<!-- edited with XMLSpy v2013 (x64) (http://www.altova.com) by Martins Orinskis (DPA, LTd) -->
<xs:schema xmlns:ep108="http://ivis.eps.gov.lv/XMLSchemas/100001/EP108/v1-0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ivis.eps.gov.lv/XMLSchemas/100001/EP108/v1-0" targetNamespace="http://ivis.eps.gov.lv/XMLSchemas/100001/EP108/v1-0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="registerWeapon.xsd">
  <xs:annotation>
    <xs:appinfo>
      <Metadata xmlns="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0">
        <Contributor CodeListCodeValue="100001">Valsts informācijas sistēmu savietotājs (VISS)</Contributor>
        <Creator CodeListCodeValue="100001">Valsts informācijas sistēmu savietotājs (VISS)</Creator>
        <Date>
          <Created>2012-11-30Z</Created>
          <Modified>2020-04-01Z</Modified>
        </Date>
        <Description>
          <Default>Ieroču reģistra e-pakalpojuma gāzes ieroča reģistrācijas serviss</Default>
        </Description>
        <Format>
          <Default>text/xml</Default>
        </Format>
        <Identifier Scheme="URN">URN:IVIS:100001:XSD-EP108-registerWeapon-v1-0</Identifier>
        <Language>LV</Language>
        <Publisher CodeListCodeValue="100001">Valsts informācijas sistēmu savietotājs (VISS)</Publisher>
        <Relation>
          <ConformsTo Href="URN:IVIS:100001:DOC-FR-XML">XML shēmu izstrādes vadlīnijas</ConformsTo>
        </Relation>
        <Status>
          <Default>PUBLISHED</Default>
          <Version>1.0</Version>
        </Status>
        <Subject>
          <Keyword>ieroču reģistrs</Keyword>
          <Keyword>gāzes ieroča reģistrācija</Keyword>
        </Subject>
        <Title>
          <Default>registerWeapon</Default>
        </Title>
      </Metadata>
    </xs:appinfo>
  </xs:annotation>
  <xs:include schemaLocation="CommonDataTypes.xsd" />
  <xs:element name="registerWeaponRequest">
    <xs:annotation>
      <xs:documentation xml:lang="en">Request to register gas weapon</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="personCode" type="personCodeType" />
        <xs:element name="registrationDate" type="dateType" />
        <xs:element name="weaponType" type="weaponTypeType" />
        <xs:element name="weaponMark" type="weaponMarkType" />
        <xs:element name="weaponModel" type="weaponModelType" />
        <xs:element name="weaponNr" type="weaponNrType" />
        <xs:element name="weaponSize" type="weaponSizeType" />
        <xs:element name="weaponCaliber" type="weaponCaliberType" />
        <xs:element name="weaponNotes" type="weaponNotesType" minOccurs="0" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="registerWeaponResponse">
    <xs:annotation>
      <xs:documentation xml:lang="en">Response if gas weapon has been registrated</xs:documentation>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element name="result" type="resultType">
          <xs:annotation>
            <xs:documentation xml:lang="en">Contains information does operation of web-service processed successfully or not.</xs:documentation>
          </xs:annotation>
        </xs:element>
        <xs:element name="eventList" minOccurs="0">
          <xs:annotation>
            <xs:documentation xml:lang="en">List of events for response structures.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element name="event" type="eventType" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation xml:lang="en">Entry of event lists for response structures.</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>