Министерство на регионалното развитие и благоустройството - Класификатор на настоящите и постоянните адреси

Име на операция - TechnoLogica.RegiX.GraoPNAAdapter.APIService.IPNAAPI.TemporaryAddressSearch

Структура на данните

  • CountryCode - Код на държава
  • CountryName - Наименование на държава
  • DistrictCode - Код на област
  • DistrictName - Наименование на област
  • MunicipalityCode - Код на община
  • MunicipalityName - Наименование на община
  • SettlementCode - Код на населено място
  • SettlementName - Наименование на населено място
  • CityAreaCode - Код на район
  • CityArea - Наименование на район
  • LocationCode - Код на локализационна единица
  • LocationName - Наименование на локализационна единица
  • BuildingNumber - Номер
  • Entrance - Вход
  • Floor - Етаж
  • Apartment - Апартамент
  • FromDate - Дата на заявяване

XSD схеми

Заявка
                
           <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:common="http://egov.bg/RegiX/GRAO/PNA" xmlns="http://egov.bg/RegiX/GRAO/PNA/TemporaryAddressRequest" targetNamespace="http://egov.bg/RegiX/GRAO/PNA/TemporaryAddressRequest" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://egov.bg/RegiX/GRAO/PNA" schemaLocation="PNACommon.xsd"/>
	<xs:complexType name="TemporaryAddressRequestType">
		<xs:sequence>
			<xs:element name="EGN" type="common:EGN">
				<xs:annotation>
					<xs:documentation>ЕГН</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SearchDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Дата</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="TemporaryAddressRequest" type="TemporaryAddressRequestType">
		<xs:annotation>
			<xs:documentation>Справка за настоящ адрес</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>
       
Отговор
                
           <?xml version="1.0" encoding="UTF-8"?>
 
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:common="http://egov.bg/RegiX/GRAO/PNA" xmlns="http://egov.bg/RegiX/GRAO/PNA/TemporaryAddressResponse" targetNamespace="http://egov.bg/RegiX/GRAO/PNA/TemporaryAddressResponse" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://egov.bg/RegiX/GRAO/PNA" schemaLocation="PNACommon.xsd"/>
  <xs:complexType name="TemporaryAddressResponseType">
    <xs:sequence>
      <xs:element name="CountryCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на държава</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CountryName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на държава</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DistrictCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на област</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DistrictName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на област</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MunicipalityCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на община</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MunicipalityName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на община</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SettlementCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на населено място</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SettlementName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на населено място</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CityAreaCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на район</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CityArea" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на район</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LocationCode" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Код на локализационна единица</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LocationName" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Наименование на локализационна единица </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="BuildingNumber" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Номер</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Entrance" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Вход </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Floor" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Етаж</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Apartment" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Апартамент </xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FromDate" type="xs:date" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Дата на заявяване</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
	<xs:element name="TemporaryAddressResponse" type="TemporaryAddressResponseType">
		<xs:annotation>
			<xs:documentation>Справка за настоящ адрес</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

       
Common
                
            
    <?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns="http://egov.bg/RegiX/GRAO/PNA" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://egov.bg/RegiX/GRAO/PNA" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:simpleType name="EGN">
		<xs:annotation>
			<xs:documentation xml:lang="bg">ЕГН</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{10}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="EGN" type="EGN"/>
</xs:schema>