<xs:schema xmlns:ivis="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0" xmlns:dds="http://ivis.eps.gov.lv/XMLSchemas/100007/DocumentDistribution/v1-0" xmlns="http://ivis.eps.gov.lv/XMLSchemas/100007/StructuredData/v1-0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bsd="http://ivis.eps.gov.lv/XMLSchemas/100007/StructuredData/v1-0" targetNamespace="http://ivis.eps.gov.lv/XMLSchemas/100007/StructuredData/v1-0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="StructuredData.xsd">
  <xs:annotation>
    <xs:appinfo>
      <ivis:Metadata>
        <ivis:Contributor CodeListCodeValue="100007" Href="https://www.vzd.gov.lv">Valsts zemes dienests</ivis:Contributor>
        <ivis:Creator CodeListCodeValue="100007" Href="https://www.vzd.gov.lv">Valsts zemes dienests</ivis:Creator>
        <ivis:Date>
          <ivis:Created>2025-09-29Z</ivis:Created>
          <ivis:Modified>2026-03-31Z</ivis:Modified>
        </ivis:Date>
        <ivis:Description>
          <ivis:Default>Strukturēti dati</ivis:Default>
        </ivis:Description>
        <ivis:Format>
          <ivis:Default>text/xml</ivis:Default>
        </ivis:Format>
        <ivis:Identifier Scheme="URN">URN:IVIS:100001:XSD-StructuredData-StructuredData-v1-0</ivis:Identifier>
        <ivis:Language>LV</ivis:Language>
        <ivis:Publisher CodeListCodeValue="100001">Valsts informācijas sistēmu savietotājs (VISS)</ivis:Publisher>
        <ivis:Relation>
          <ivis:ConformsTo Href="URN:IVIS:100001:DOC-FR-XML">XML shēmu izstrādes vadlīnijas</ivis:ConformsTo>
        </ivis:Relation>
        <ivis:Status>
          <ivis:Default>CANDIDATE</ivis:Default>
          <ivis:Version>1.0</ivis:Version>
        </ivis:Status>
        <ivis:Subject>
          <ivis:Category>Dzīvesvieta, nekustamais īpašums, būvniecība, ģeodēzija, kartogrāfija</ivis:Category>
          <ivis:Keyword>StructuredData</ivis:Keyword>
        </ivis:Subject>
        <ivis:Title>
          <ivis:Default>StructuredData</ivis:Default>
        </ivis:Title>
      </ivis:Metadata>
    </xs:appinfo>
  </xs:annotation>
  <!--
  ======== Importi ======================================
  -->
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0/IVISService.xsd" />
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100007/DocumentDistribution/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100007/DocumentDistribution/v1-0/SlsDocumentDistribution.xsd" />
  <!--
 ================   Būves kadastra apzīmējums ================
  -->
  <xs:simpleType name="BuiCadNrType">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves kadastra apzīmējums</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[0-9]{14}" />
    </xs:restriction>
  </xs:simpleType>
  <!--
 ================   Telpu grupas kadastra apzīmējums ================
  -->
  <xs:simpleType name="PregCadNrType">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Telpu grupas kadastra apzīmējums</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[0-9]{17}" />
    </xs:restriction>
  </xs:simpleType>
  <!--
 ================   Nekustamā īpašuma kadastra numurs ================
  -->
  <xs:simpleType name="ProCadNrType">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nekustamā īpašuma kadastra numurs</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:pattern value="[0-9]{11}" />
    </xs:restriction>
  </xs:simpleType>
  <!--
 ================   Būvniecības veids =================
  -->
  <xs:simpleType name="ConstrType">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būvniecības veids</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:integer">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">jauna būvniecība</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation xml:lang="lv">novietošana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation xml:lang="lv">pārbūve</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:documentation xml:lang="lv">restaurācija</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="5">
        <xs:annotation>
          <xs:documentation xml:lang="lv">atjaunošana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:documentation xml:lang="lv">vienkāršotā pārbūve</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="7">
        <xs:annotation>
          <xs:documentation xml:lang="lv">vienkāršotā atjaunošana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="8">
        <xs:annotation>
          <xs:documentation xml:lang="lv">ailes jauna būvniecība, pārbūve, nojaukšana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="9">
        <xs:annotation>
          <xs:documentation xml:lang="lv">lietošanas veida maiņa bez pārbūves</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="10">
        <xs:annotation>
          <xs:documentation xml:lang="lv">nojaukšana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="11">
        <xs:annotation>
          <xs:documentation xml:lang="lv">vienkāršotā fasādes atjaunošana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="12">
        <xs:annotation>
          <xs:documentation xml:lang="lv">konservācija</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="13">
        <xs:annotation>
          <xs:documentation xml:lang="lv">ierīkošana</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <!--
 ================   Konstruktīvā elementa veids =================
  -->
  <xs:simpleType name="ElementIdType">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Konstruktīvā elementa veids</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:integer">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pamati</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Sienas (vertikālā konstrukcija)</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="3">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pārsegumi</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="4">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Jumta segums</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="6">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Jumta nesošā konstrukcija</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="7">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Fasāde</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <!--
 ================   Procesa veids =================
  -->
  <xs:simpleType name="ProcessDataType">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Procesa veids</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:integer">
      <xs:enumeration value="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Vienots būvju process</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="2">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Jaunbūves deklarācija</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <!--
  ================ Būves vai telpu grupas datu saraksta struktūra================
  -->
  <xs:complexType name="BuildingOrPremiseGroupDataListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves vai telpu grupas datu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="BuildingOrPremiseGroupData" type="BuildingOrPremiseGroupDataStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves vai telpu grupas dati</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BuildingOrPremiseGroupDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves vai telpu grupas datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ConstructionType" type="ConstrType" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būvniecības veids</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Name" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuiCadNr" type="BuiCadNrType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves kadastra apzīmējums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PregCadNr" type="PregCadNrType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Telpu grupas kadastra apzīmējums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ProCadNr" type="ProCadNrType" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nekustamā īpašuma kadastra numurs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingUseKindId" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Būves galvenais lietošanas veids, kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PregUseKindId" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Telpu grupas lietošanas veids, kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="AcceptionYear" type="xs:gYear" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Ekspluatācijā pieņemšanas gads</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingGroup" type="xs:int" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Ēkas grupa vai IB grupa</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OwnersDataList" type="OwnersDataListStructure">
        <xs:annotation>
          <xs:documentation>Īpašnieka datu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SurveyDataList" type="SurveyDataListStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Uzmērīšanas datu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CharactersData" type="CharactersDataStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Rādītāji</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ImprovementItemDataList" type="ImprovementItemDataListStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Labiekārtojuma datu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingElementList" type="BuildingElementListStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Konstruktīvo elementu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================ Īpašnieku datu saraksta struktūra================
  -->
  <xs:complexType name="OwnersDataListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Īpašnieku datu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="OwnersData" type="OwnersDataStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Īpašnieka dati</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="OwnersDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Īpašnieka datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="FirstName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Personas vārds</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LastName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Personas uzvārds</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PersonCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Fiziskas personas kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="JuridicalName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Juridiskas personas nosaukums</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="JuridicalCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Reģistrācijas numurs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Foreign" type="xs:boolean" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pazīme, ka persona ir ārvalstnieks</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================ Uzmērīšanas datu saraksta struktūra================
  -->
  <xs:complexType name="SurveyDataListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Uzmērīšanas datu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="SurveyData" type="SurveyDataStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Uzmērīšanas dati</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SurveyDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Uzmērīšanas datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SurveyorFirstName" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Mērnieka vārds</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SurveyorLastName" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Mērnieka uzvārds</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SurveyorPersonCode" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Mērnieka personas kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SurveyorForeign" type="xs:boolean" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Pazīme, ka persona ir ārvalstnieks</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CertificateNr" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Sertifikāta numurs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SurveyDate" type="xs:date" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Uzmērīšanas datums</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================ Rādītāju struktūra================
  -->
  <xs:complexType name="CharactersDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Rādītāju struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="PregArea" type="xs:decimal" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Telpu grupas platība, m²</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingVolume" type="xs:int" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būvtilpums, m³</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingHeight" type="xs:decimal" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Augstums, m</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingGroundFloors" type="xs:int" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves virszemes stāvu skaits</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingUndergroundFloors" type="xs:int" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves pazemes stāvu skaits</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingGroundFloorHeight" type="xs:decimal" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves virszemes stāva augstums, m</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingUndergroundFloorHeight" type="xs:decimal" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves pazemes stāva augstums, m</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="EnergyConsumption" type="xs:decimal" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Ēkas energoefektivitāte, kWh/m² gadā</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FireResistanceLevel" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Ēkas ugunsnoturības pakāpe</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================ Labiekārtojumu datu saraksta struktūra================
  -->
  <xs:complexType name="ImprovementItemDataListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Labiekārtojumu datu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="ImprovementItemData" type="ImprovementItemDataStructure" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Labiekārtojuma dati</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ImprovementItemDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Labiekārtojumu datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ImprovementTypeCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Labiekārtojuma kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ImprovementDate" type="xs:date" minOccurs="0">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Labiekārtojuma datums</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================ Konstruktīvo elementu datu saraksta struktūra================
  -->
  <xs:complexType name="BuildingElementListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Konstruktīvo elementu datu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
      <xs:element name="BuildingElementData" type="BuildingElementDataStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Konstruktīvo elementu dati</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BuildingElementDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Konstruktīvo elementu datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ElementId" type="ElementIdType" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Konstruktīvā elementa kods</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingElementMaterialList" type="BuildingElementMaterialListStructure" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Konstruktīvo elementu materiālu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="BuildingElementMaterialListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Konstruktīvo elementu materiālu datu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="MaterialKindId" type="xs:normalizedString" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Konstruktīvā elementa materiāla kods</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================   Būves datu pieprasījuma elements struktūra ================
  -->
  <xs:complexType name="BuildingDataRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves datu pieprasījuma elementa struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="SessionId" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Sesijas identifikators</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="RequestId" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Unikāls pieprasījuma identifikators</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BISRequestId" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation>BIS pakalpojuma numurs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BisNr" type="xs:string" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Būvniecības lietas numurs</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DataType" type="ProcessDataType" minOccurs="1">
        <xs:annotation>
          <xs:documentation>Pazīme par procesa veidu</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingOrPremiseGroupDataList" type="BuildingOrPremiseGroupDataListStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Būves vai telpu grupas datu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
  ================   Būves datu atbildes elements struktūra ================
  -->
  <xs:complexType name="BuildingDataResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves datu atbildes elementa struktūra</xs:documentation>
    </xs:annotation>
    <xs:choice>
      <xs:element name="Sent" type="xs:boolean">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Apstiprinājums par būves datu nosūtīšanu</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ErrorList" type="ivis:ErrorListStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Kļūdu saraksta struktūra</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:choice>
  </xs:complexType>
  <!--
  ================   Autorizēšanās tīmekļa pakalpē pieprasījuma elementa struktūra================
  -->
  <xs:complexType name="LoginRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Autorizēšanās tīmekļa pakalpē pieprasījuma elementa struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="Username" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Lietotāja vārds</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Password" type="xs:string">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Parole</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <!--
 ================ METODES  ================
  -->
  <xs:element name="LoginRequest" type="LoginRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Autorizēšanās tīmekļa pakalpē pieprasījuma elements</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LoginResponse" type="dds:LoginResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Autorizēšanās tīmekļa pakalpē atbildes elements</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LogoutRequest" type="dds:LogoutRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Sesijas slēgšanas pieprasījuma elements</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="LogoutResponse" type="dds:LogoutResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Sesijas slēgšanas atbildes elements</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="BuildingDataRequest" type="BuildingDataRequestStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves datu pieprasījuma elements</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:element name="BuildingDataResponse" type="BuildingDataResponseStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Būves datu atbildes elements</xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>