<xs:schema xmlns="http://ivis.eps.gov.lv/XMLSchemas/100580/SocialMonitoring/v1-0" xmlns:sm="http://ivis.eps.gov.lv/XMLSchemas/100580/SocialMonitoring/v1-0" xmlns:vidc="http://ivis.eps.gov.lv/XMLSchemas/100580/Comm/v1-0" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ivis.eps.gov.lv/XMLSchemas/100580/SocialMonitoring/v1-0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0" id="NoResidentsObject.xsd">
  <xs:annotation>
    <xs:appinfo>
      <Metadata xmlns="http://ivis.eps.gov.lv/XMLSchemas/100001/IVIS/v1-0">
        <Contributor CodeListCodeValue="100580" Href="https://www.vid.gov.lv">Valsts ieņēmumu dienests</Contributor>
        <Creator CodeListCodeValue="100580" Href="https://www.vid.gov.lv">Valsts ieņēmumu dienests</Creator>
        <Date>
          <Created>2025-09-05Z</Created>
          <Modified>2025-09-05Z</Modified>
        </Date>
        <Description>
          <Default>Biznesa datu struktūras informācijai par fizisko personu rezidences statusu. Izmantotie saīsinājumi: VSAOI - Valsts sociālās apdrošināšanas obligātās iemaksas; SSIMC - State social insurance mandatory contributions.
					</Default>
        </Description>
        <Format>
          <Default>text/xml</Default>
        </Format>
        <Identifier Scheme="URN">URN:IVIS:100001:xsd-100580-NoResidentsObject-1.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>CANDIDATE</Default>
          <Version>1.0</Version>
        </Status>
        <Subject>
          <Category>Nodokļi</Category>
          <Keyword>DIT</Keyword>
          <Keyword>nerezidents</Keyword>
          <Keyword>Valsts ieņēmumu dienests</Keyword>
          <Keyword>VID</Keyword>
          <Keyword>VSAOI</Keyword>
        </Subject>
        <Title>
          <Default>NoResidentsObject</Default>
        </Title>
      </Metadata>
    </xs:appinfo>
  </xs:annotation>
  <xs:import namespace="http://ivis.eps.gov.lv/XMLSchemas/100580/Comm/v1-0" schemaLocation="http://ivis.eps.gov.lv/XMLSchemas/100580/Comm/v1-0/Comm.xsd" />
  <xs:include schemaLocation="Common.xsd" />
  <xs:complexType name="NoResidentsDataStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nerezidenta datu struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="ForeignPersonData" type="ForeignPersonData3Structure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nerezidents</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="NoResidentPeriodList" type="NoResidentPeriodListStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nerezidences periodu saraksts</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="NoResidentPeriodListStructure">
    <xs:annotation>
      <xs:documentation xml:lang="lv">Nerezidences periodu saraksta struktūra</xs:documentation>
    </xs:annotation>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="NoResidentPeriod" type="NoResidentDatePeriodStructure">
        <xs:annotation>
          <xs:documentation xml:lang="lv">Nerezidences periods</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:schema>