Министерство на регионалното развитие и благоустройството - НБД "Население" - данни за семейно положение

Име на операция - TechnoLogica.RegiX.GraoBRAdapter.APIService.IBRAPI.MaritalStatusSearch

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

  • MaritalStatusCode - Код на семейно положение
  • MaritalStatusName - Наименование на семейно положение
  • FirstName - Собствено име
  • MiddleName - Бащино име
  • LastName - Фамилно име име
  • EGN - Единен граждански номер
  • ReportDate - Дата на справката
  • Gender - Пол

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/BR" xmlns="http://egov.bg/RegiX/GRAO/BR/MaritalStatusRequest" targetNamespace="http://egov.bg/RegiX/GRAO/BR/MaritalStatusRequest" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://egov.bg/RegiX/GRAO/BR" schemaLocation="BRCommon.xsd"/>
	<xs:complexType name="MaritalStatusRequestType">
		<xs:sequence>
      <xs:element name="EGN" type="common:EGN">
        <xs:annotation>
          <xs:documentation>ЕГН</xs:documentation>
        </xs:annotation>
      </xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="MaritalStatusRequest" type="MaritalStatusRequestType">
		<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/BR" xmlns="http://egov.bg/RegiX/GRAO/BR/MaritalStatusResponse" targetNamespace="http://egov.bg/RegiX/GRAO/BR/MaritalStatusResponse" elementFormDefault="qualified" attributeFormDefault="unqualified">
  <xs:import namespace="http://egov.bg/RegiX/GRAO/BR" schemaLocation="BRCommon.xsd"/>
  <xs:complexType name="MaritalStatusResponseType">
		<xs:sequence>
			<xs:element name="MaritalStatusCode" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Код на семейно положение </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MaritalStatusName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Наименование на семейно положение </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="FirstName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Собствено име</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="MiddleName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Бащино име</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="LastName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Фамилно име</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EGN" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Единен граждански номер</xs:documentation>
				</xs:annotation>
			</xs:element>
      <xs:element name="Gender" type="common:GenderCodeType" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Пол</xs:documentation>
        </xs:annotation>
      </xs:element>
     <xs:element name="ReportDate" type="xs:dateTime" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Дата на справката</xs:documentation>
        </xs:annotation>
      </xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="MaritalStatusResponse" type="MaritalStatusResponseType">
		<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/BR" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://egov.bg/RegiX/GRAO/BR" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:simpleType name="BirthDate">
		<xs:annotation>
			<xs:documentation xml:lang="bg">Дата на раждане</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:date"/>
	</xs:simpleType>
	<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:simpleType name="GenderCodeType">
		<xs:annotation>
			<xs:documentation>Пол - код</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:int">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="GenderNameType">
		<xs:annotation>
			<xs:documentation>Име на пол</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Мъж"/>
			<xs:enumeration value="Жена"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="GenderNameType" type="GenderNameType"/>
	<xs:element name="GenderCodeType" type="GenderCodeType"/>
</xs:schema>