Add new Hcs.Broker to communicate with ГИС ЖКХ via CryptoPro LibCore

This commit is contained in:
2025-09-28 15:45:15 +09:00
parent 904988780a
commit 2b49320014
171 changed files with 185618 additions and 0 deletions

View File

@ -0,0 +1,266 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:base="http://dom.gosuslugi.ru/schema/integration/base/" xmlns:house-base="http://dom.gosuslugi.ru/schema/integration/premises-base/" xmlns:organizations-base="http://dom.gosuslugi.ru/schema/integration/organizations-base/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:tns="http://dom.gosuslugi.ru/schema/integration/organizations-registry-base/" xmlns:nsi-base="http://dom.gosuslugi.ru/schema/integration/nsi-base/" targetNamespace="http://dom.gosuslugi.ru/schema/integration/organizations-registry-base/" elementFormDefault="qualified" attributeFormDefault="unqualified" version="11.1.0.3">
<xs:import namespace="http://dom.gosuslugi.ru/schema/integration/base/" schemaLocation="hcs-base.xsd"/>
<xs:import namespace="http://dom.gosuslugi.ru/schema/integration/organizations-base/" schemaLocation="hcs-organizations-base.xsd"/>
<xs:import namespace="http://dom.gosuslugi.ru/schema/integration/premises-base/" schemaLocation="hcs-premises-base.xsd"/>
<xs:import namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/" schemaLocation="hcs-nsi-base.xsd"/>
<!--Реестр организаций-->
<xs:element name="FullName">
<xs:annotation>
<xs:documentation>Полное наименование</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CommercialName" type="base:String255Type">
<xs:annotation>
<xs:documentation>Фирменное наименование</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LegalType">
<xs:annotation>
<xs:documentation>Юридическое лицо</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="tns:ShortName" minOccurs="0"/>
<xs:element ref="tns:FullName"/>
<xs:element ref="tns:CommercialName" minOccurs="0"/>
<xs:element ref="organizations-base:OGRN"/>
<xs:element name="StateRegistrationDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Дата государственной регистрации</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="organizations-base:INN" minOccurs="0"/>
<xs:element ref="organizations-base:KPP" minOccurs="0"/>
<xs:element ref="organizations-base:OKOPF" minOccurs="0"/>
<xs:element name="Address" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Адрес регистрации</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FIASHouseGuid" type="house-base:FIASHouseGUIDType" minOccurs="0">
<xs:annotation>
<xs:documentation>Адрес регистрации (Глобальный уникальный идентификатор дома по ФИАС)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ActivityEndDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Дата прекращения деятельности</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SubsidiaryType">
<xs:annotation>
<xs:documentation>ОП (Обособленное подразделение)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FullName">
<xs:annotation>
<xs:documentation>Полное наименование</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ShortName" minOccurs="0">
<xs:annotation>
<xs:documentation>Сокращенное наименование</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="organizations-base:OGRN"/>
<xs:element ref="organizations-base:INN"/>
<xs:element ref="organizations-base:KPP"/>
<xs:element ref="organizations-base:OKOPF"/>
<xs:element name="Address" minOccurs="0">
<xs:annotation>
<xs:documentation>Адрес регистрации</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FIASHouseGuid" type="house-base:FIASHouseGUIDType" minOccurs="0">
<xs:annotation>
<xs:documentation>Адрес регистрации (Глобальный уникальный идентификатор дома по ФИАС)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ActivityEndDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Дата прекращения деятельности</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceName">
<xs:annotation>
<xs:documentation>Источник информации</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="base:String255Type">
<xs:attribute name="Date" type="xs:date" use="required">
<xs:annotation>
<xs:documentation>от</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ForeignBranchType">
<xs:annotation>
<xs:documentation>ФПИЮЛ (Филиал или представительство иностранного юридического лица)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="tns:FullName"/>
<xs:element ref="tns:ShortName" minOccurs="0"/>
<xs:element ref="organizations-base:NZA"/>
<xs:element ref="organizations-base:INN"/>
<xs:element ref="organizations-base:KPP"/>
<xs:element name="Address" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Адрес места нахождения(жительства)_текст</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FIASHouseGuid" type="house-base:FIASHouseGUIDType">
<xs:annotation>
<xs:documentation>Адрес места нахождения(жительства)_ФИАС </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccreditationStartDate" type="xs:date">
<xs:annotation>
<xs:documentation>Дата внесения записи в реестр аккредитованных</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AccreditationEndDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Дата прекращения действия аккредитации</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RegistrationCountry">
<xs:annotation>
<xs:documentation>Страна регистрации иностранного ЮЛ (Справочник ОКСМ, альфа-2)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="EntpsType">
<xs:annotation>
<xs:documentation>Индивидуальный предприниматель</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Surname" type="xs:string">
<xs:annotation>
<xs:documentation>Фамилия</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FirstName" type="xs:string">
<xs:annotation>
<xs:documentation>Имя</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Patronymic" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Отчество</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Sex" minOccurs="0">
<xs:annotation>
<xs:documentation>Пол (M- мужской, F-женский)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="1"/>
<xs:enumeration value="M"/>
<xs:enumeration value="F"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element ref="organizations-base:OGRNIP">
<xs:annotation>
<xs:documentation>ОГРН</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StateRegistrationDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Дата государственной регистрации</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="organizations-base:INN" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="RegOrg" type="tns:RegOrgType">
<xs:annotation>
<xs:documentation>Организация в реестре организаций</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RegOrgType">
<xs:sequence>
<xs:element ref="tns:orgRootEntityGUID"/>
</xs:sequence>
</xs:complexType>
<xs:element name="RegOrgVersion" type="tns:RegOrgVersionType">
<xs:annotation>
<xs:documentation>Версия организации в реестре организаций</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RegOrgVersionType">
<xs:sequence>
<xs:element ref="tns:orgVersionGUID"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RegOrgRootAndVersionType">
<xs:annotation>
<xs:documentation>Организация и версия организации в реестре организаций</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element ref="tns:orgVersionGUID"/>
<xs:element ref="tns:orgRootEntityGUID"/>
</xs:choice>
</xs:complexType>
<xs:element name="orgRootEntityGUID" type="base:GUIDType">
<xs:annotation>
<xs:documentation>Идентификатор корневой сущности организации в реестре организаций</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="orgVersionGUID" type="base:GUIDType">
<xs:annotation>
<xs:documentation>Идентификатор версии записи в реестре организаций</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ShortName">
<xs:annotation>
<xs:documentation>Сокращенное наименование</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="base:String500Type">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>