Initial commit

This commit is contained in:
jar3b 2019-02-13 13:33:20 +03:00
commit f4527aefdd
63 changed files with 7657 additions and 0 deletions

18
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,18 @@
stages:
- build
build:
stage: build
image: icha/ci-image:java-8-jcp-nodocker
variables:
MAVEN_OPTS: "-Dmaven.repo.local=/m2"
script:
- mvn install
- ls -lR /m2
artifacts:
paths:
- target/
expire_in: 1 week
only:
- tags
- master

18
.idea/compiler.xml generated Normal file
View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="ummsschemas" />
</profile>
</annotationProcessing>
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
<module name="ummsschemas" options="-XDignore.symbol.file" />
</option>
</component>
</project>

6
.idea/encodings.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM">
<file url="file://$PROJECT_DIR$" charset="UTF-8" />
</component>
</project>

14
.idea/misc.xml generated Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

6
.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

133
pom.xml Normal file
View File

@ -0,0 +1,133 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jar3b.umms</groupId>
<artifactId>umms-schemas</artifactId>
<version>1.0.0</version>
<description>Umms Schemas</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/*.xjb</exclude>
<exclude>**/*.cat</exclude>
<exclude>**/*.xsd</exclude>
</excludes>
</resource>
</resources>
<plugins>
<!-- COMPILE -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<optimize>true</optimize>
<compilerArgs>
<arg>-XDignore.symbol.file</arg>
</compilerArgs>
<fork>true</fork>
</configuration>
</plugin>
<!-- Create generated-sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<mkdir dir="target/generated-sources"/>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<longModulepath>false</longModulepath>
<executable>xjc</executable>
<arguments>
<argument>-extension</argument>
<!--<argument>-XautoNameResolution</argument>-->
<argument>-encoding</argument>
<argument>utf-8</argument>
<!--<argument>-p</argument>-->
<!--<argument>ru.intercon.umms</argument>-->
<argument>-d</argument>
<argument>target/generated-sources</argument>
<argument>-catalog</argument>
<argument>src/main/resources/xsd/umms/catalog.cat</argument>
<argument>-b</argument>
<argument>src/main/resources/xsd/umms/bindings.xjb</argument>
<!-- Hotel -->
<argument>src/main/resources/xsd/umms/hotel/core-correction.xsd</argument>
<argument>src/main/resources/xsd/umms/hotel/hotel.xsd</argument>
<argument>src/main/resources/xsd/umms/hotel/hotel-form5.xsd</argument>
<argument>src/main/resources/xsd/umms/hotel/hotel-response.xsd</argument>
<argument>src/main/resources/xsd/umms/hotel/migration-staying.xsd</argument>
<argument>src/main/resources/xsd/umms/hotel/migration-staying-edit.xsd</argument>
<argument>src/main/resources/xsd/umms/hotel/migration-staying-unreg.xsd</argument>
<!-- Migration app -->
<argument>src/main/resources/xsd/umms/app/migration-staying-app.xsd</argument>
<argument>src/main/resources/xsd/umms/app/migration-staying-unreg-app.xsd</argument>
<!-- App -->
<argument>src/main/resources/xsd/umms/app/labormigration-patent.xsd</argument>
<argument>src/main/resources/xsd/umms/app/payment.xsd</argument>
<argument>src/main/resources/xsd/umms/app/labormigration-patent-issuance.xsd</argument>
<argument>src/main/resources/xsd/umms/app/labormigration-patent-renewal.xsd</argument>
<argument>src/main/resources/xsd/umms/app/registration.xsd</argument>
<argument>src/main/resources/xsd/umms/app/registration-staying.xsd</argument>
<argument>src/main/resources/xsd/umms/app/registration-staying-unreg.xsd</argument>
<argument>src/main/resources/xsd/umms/app/response.xsd</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
07.10.2015 Я. Савельева UMMS-31366:
- в комплексный тип application добавлены элементы children, previousApplicantData,
employmentInfo, HavingInformationAccess, HavingObligations.
Добавлен новый комплексный тип HavingRestrictions.
08.10.2015 Я. Cавельева UMMS-31592:
- изменен тип элемента previousApplicantData на новый комплексный тип OtherApplicantData
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:fpissueapp="http://umms.fms.gov.ru/replication/fpissueapp"
targetNamespace="http://umms.fms.gov.ru/replication/fpissueapp">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о выдаче/замене загран. паспорта гражданина России</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="application" type="fpissueapp:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Заявление на выдачу / замену загран. паспорта гражданина России
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление на выдачу / замену загран. паспорта гражданина России</documentation>
</annotation>
<sequence>
<!-- Категория заявителя: "Военнослужащий ВС РФ", "Сотрудник правоохранительных органов" -->
<!-- fp.applicantCategory (ru.gov.fms.umms.domain.dictionary.foreignpassport.ApplicantCategory) -->
<element name="applicantCategory" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Категория заявителя</documentation>
</annotation>
</element>
<element name="appDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема документов</documentation>
</annotation>
</element>
<element name="applicant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Данные заявителя</documentation>
</annotation>
</element>
<!-- applicationPlace (ru.gov.fms.umms.domain.dictionary.ApplicationPlace) -->
<element name="applicationPlace" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место обращения</documentation>
</annotation>
</element>
<element name="livingRegistration" type="umms:livingRegistration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место жительства (регистрации)</documentation>
</annotation>
</element>
<element name="stayingRegistration" type="umms:stayingRegistration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место пребывания (регистрации)</documentation>
</annotation>
</element>
<element name="currentForeignPassport" type="umms:document" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Действующий загранпаспорт</documentation>
</annotation>
</element>
<element name="secondForeignPassport" type="umms:document" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Второй загранпаспорт, выданный в дополнение к имеющемуся</documentation>
</annotation>
</element>
<element name="legalRepresentative" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о законном представителе</documentation>
</annotation>
</element>
<element name="legalRepresentativeAddress" type="umms:address" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес законного представителя</documentation>
</annotation>
</element>
<element name="contactInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Платёжные документы</documentation>
</annotation>
</element>
<element name="children" type="umms:personData" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Сведения о детях, вписанных в паспорт</documentation>
</annotation>
</element>
<element name="previousApplicantData" type="fpissueapp:OtherApplicantData" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Предыдущие установочные данные заявителя</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Информация о трудовой деятельности</documentation>
</annotation>
</element>
<element name="HavingInformationAccess" type="fpissueapp:HavingRestrictions" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наличие допуска к сведениям особой важности либо секретным сведениям, отнесенным к гос.тайне</documentation>
</annotation>
</element>
<element name="HavingObligations" type="fpissueapp:HavingRestrictions" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наличие договорных, контрактных обязательств, препятствующих выезду заграницу</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="HavingRestrictions">
<annotation>
<documentation>Наличие ограничений для выезда</documentation>
</annotation>
<sequence>
<element name="OrganizationName" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация</documentation>
</annotation>
</element>
<element name="Year" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Год</documentation>
</annotation>
<simpleType>
<restriction base="umms:string">
<pattern value="\d{4}"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
<complexType name="OtherApplicantData">
<annotation>
<documentation>Другие установочные данные заявителя</documentation>
</annotation>
<sequence>
<element name="ApplicantData" type="umms:personData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные</documentation>
</annotation>
</element>
<element name="Place" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место изменения</documentation>
</annotation>
</element>
<element name="Date" type="umms:birthDate" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата изменения</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="fpissueapp:case">
<annotation>
<documentation>Дело о выдаче/замене загран. паспорта гражданина России</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,177 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:fpngissueapp="http://umms.fms.gov.ru/replication/fpngissueapp"
targetNamespace="http://umms.fms.gov.ru/replication/fpngissueapp">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о выдаче/замене загран. паспорта гражданина России нового поколения</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="application" type="fpngissueapp:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Заявление на выдачу / замену загран. паспорта гражданина России нового поколения
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление на выдачу / замену загран. паспорта гражданина России нового поколения</documentation>
</annotation>
<sequence>
<!-- Категория заявителя: "Военнослужащий ВС РФ", "Сотрудник правоохранительных органов" -->
<!-- fp.applicantCategory (ru.gov.fms.umms.domain.dictionary.foreignpassport.ApplicantCategory) -->
<element name="applicantCategory" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Категория заявителя</documentation>
</annotation>
</element>
<element name="appDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема документов</documentation>
</annotation>
</element>
<element name="applicant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Данные заявителя</documentation>
</annotation>
</element>
<!-- applicationPlace (ru.gov.fms.umms.domain.dictionary.ApplicationPlace) -->
<element name="applicationPlace" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место обращения</documentation>
</annotation>
</element>
<element name="livingRegistration" type="umms:livingRegistration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место жительства (регистрации)</documentation>
</annotation>
</element>
<element name="stayingRegistration" type="umms:stayingRegistration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место пребывания (регистрации)</documentation>
</annotation>
</element>
<element name="currentForeignPassport" type="umms:document" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Действующий загранпаспорт</documentation>
</annotation>
</element>
<element name="secondForeignPassport" type="umms:document" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Второй загранпаспорт, выданный в дополнение к имеющемуся</documentation>
</annotation>
</element>
<element name="legalRepresentative" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о законном представителе</documentation>
</annotation>
</element>
<element name="legalRepresentativeAddress" type="umms:address" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес законного представителя</documentation>
</annotation>
</element>
<element name="contactInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Платёжные документы</documentation>
</annotation>
</element>
<element name="previousApplicantData" type="fpngissueapp:OtherApplicantData" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Предыдущие установочные данные заявителя</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Информация о трудовой деятельности</documentation>
</annotation>
</element>
<element name="HavingInformationAccess" type="fpngissueapp:HavingRestrictions" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наличие допуска к сведениям особой важности либо секретным сведениям, отнесенным к гос.тайне</documentation>
</annotation>
</element>
<element name="HavingObligations" type="fpngissueapp:HavingRestrictions" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наличие договорных, контрактных обязательств, препятствующих выезду заграницу</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="HavingRestrictions">
<annotation>
<documentation>Наличие ограничений для выезда</documentation>
</annotation>
<sequence>
<element name="OrganizationName" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация</documentation>
</annotation>
</element>
<element name="Year" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Год</documentation>
</annotation>
<simpleType>
<restriction base="umms:string">
<pattern value="\d{4}"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
<complexType name="OtherApplicantData">
<annotation>
<documentation>Другие установочные данные заявителя</documentation>
</annotation>
<sequence>
<element name="ApplicantData" type="umms:personData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные</documentation>
</annotation>
</element>
<element name="Place" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место изменения</documentation>
</annotation>
</element>
<element name="Date" type="umms:birthDate" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата изменения</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="fpngissueapp:case">
<annotation>
<documentation>Дело о выдаче/замене загран. паспорта гражданина России нового поколения</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:ic="http://umms.fms.gov.ru/application/invitation"
xmlns:inv="http://umms.fms.gov.ru/application/invitation/electronic/issuance"
targetNamespace="http://umms.fms.gov.ru/application/invitation/electronic/issuance">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/invitation" schemaLocation="invitation.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о выдаче электронного приглашения</documentation>
</annotation>
<complexContent>
<extension base="ic:case">
<sequence>
<element name="application" type="inv:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление о выдаче электронного приглашения</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о выдаче электронного приглашения</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ic:application">
<sequence>
<element name="hostEmailAddress" type="umms:emailAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес электронной почты приглашающей стороны</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="inv:case">
<annotation>
<documentation>Проект дела о выдаче электронного приглашения</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
История изменений:
04.06.2013 А. Мазур:
- элемент petitionDate сделан необязательным, при загрузке преддела в это поле будет подставлена системная дата
с возможностью корректировки сотрудником ФМС
21.06.2016 Р. Исбаров UMMS-38527:
- изменены пространства имен и префиксы пространств имен
- типы invitationApplication, entryInfo и host перенесены в базовую схему invitation.xsd
- изменен тип элемента case с applicationCase на inv:case
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ic="http://umms.fms.gov.ru/application/invitation"
xmlns:inv="http://umms.fms.gov.ru/application/invitation/issuance"
targetNamespace="http://umms.fms.gov.ru/application/invitation/issuance">
<import namespace="http://umms.fms.gov.ru/application/invitation" schemaLocation="invitation.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о выдаче приглашения</documentation>
</annotation>
<complexContent>
<extension base="ic:case">
<sequence>
<element name="application" type="inv:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление о выдаче приглашения</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о выдаче приглашения</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ic:application"/>
</complexContent>
</complexType>
<element name="case" type="inv:case">
<annotation>
<documentation>Проект дела о выдаче приглашения</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:ic="http://umms.fms.gov.ru/application/invitation"
targetNamespace="http://umms.fms.gov.ru/application/invitation">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case" abstract="true">
<annotation>
<documentation>Базовый проект дела о выдаче приглашения</documentation>
</annotation>
<complexContent>
<extension base="umms:case"/>
</complexContent>
</complexType>
<complexType name="application" abstract="true">
<annotation>
<documentation>Базовое заявление о выдаче приглашения</documentation>
</annotation>
<sequence>
<element name="invitedForeignCitizen" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>УД и ДУЛ приглашаемого иностранного гражданина</documentation>
</annotation>
</element>
<element name="invitedForeignCitizenAddress" type="umms:foreignAddress" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес места проживания ИГ за рубежом</documentation>
</annotation>
</element>
<element name="petitionDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата ходатайства</documentation>
</annotation>
</element>
<element name="urgency" type="boolean" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Срочное оформление</documentation>
</annotation>
</element>
<element name="entryInfo" type="ic:entryInfo" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Информация о въезде</documentation>
</annotation>
</element>
<element name="host" type="ic:host" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Приглашающая сторона</documentation>
</annotation>
</element>
<!-- addressObject (ru.gov.fms.umms.domain.dictionary.address.AddressObject) -->
<element name="route" type="umms:dictionary" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Маршрут</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Квитанции</documentation>
</annotation>
</element>
<element name="relative" minOccurs="0" maxOccurs="unbounded" type="fcc:relative">
<annotation>
<documentation>Лица, вписанные в ходатайство</documentation>
</annotation>
</element>
<element name="additionalInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дополнительная информация</documentation>
</annotation>
</element>
<element name="invitedExpectationAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес предполагаемого пребывания</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Информация о трудовой деятельности</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="entryInfo">
<annotation>
<documentation>Информация о въезде</documentation>
</annotation>
<sequence>
<!-- VisaCategory (ru.gov.fms.umms.domain.dictionary.VisaCategory) -->
<element name="visaCategory" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Категория и вид визы</documentation>
</annotation>
</element>
<!-- EntryGoal (ru.gov.fms.umms.domain.dictionary.EntryGoal) -->
<element name="entryGoal" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Цель поездки</documentation>
</annotation>
</element>
<!-- VisaMultiplicity (ru.gov.fms.umms.domain.dictionary.VisaMultiplicity) -->
<element name="multiplicity" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Кратность визы</documentation>
</annotation>
</element>
<element name="entryFrom" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Въезд с</documentation>
</annotation>
</element>
<element name="entryTo" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Въезд по</documentation>
</annotation>
</element>
<!-- Country (ru.gov.fms.umms.domain.dictionary.address.AddressObjectType) -->
<element name="visaCountry" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Страна получения визы</documentation>
</annotation>
</element>
<!-- VisaIssuedCity (ru.gov.fms.umms.domain.dictionary.visa.VisaIssuedCity) -->
<element name="visaCity" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Город получения визы</documentation>
</annotation>
</element>
<element name="validTo" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Приглашение действительно до</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="host">
<annotation>
<documentation>
Тип, описывающий приглашающую сторону - физическое лицо или организацию.
Определяется по присутствию элемента organization.
</documentation>
</annotation>
<sequence>
<element name="personDataDocument" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и ДУЛ физ. лица или представителя организации</documentation>
</annotation>
</element>
<element name="personRegistrationAddress" type="umms:address" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес регистрации приглашающего лица</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Информация о трудовой деятельности физ. лица или представителя организации
</documentation>
</annotation>
</element>
<element name="organization" type="umms:organization" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Если в качестве принимающей стороны выступает организация,
в реквизите указываются сведения о ней
</documentation>
</annotation>
</element>
<element name="contactInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация приглашающего физ. лица</documentation>
</annotation>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
26.02.2016 Р. Исбаров UMMS-36099:
- изменен тип элемента laborDocument с lma:laborDocument на umms:document.
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lmnd="http://umms.fms.gov.ru/application/labormigration/notification/dismission"
xmlns:lmn="http://umms.fms.gov.ru/application/labormigration/notification"
targetNamespace="http://umms.fms.gov.ru/application/labormigration/notification/dismission">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration/notification"
schemaLocation="labormigration-notification.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о внесении уведомления о расторжении трудового договора</documentation>
</annotation>
<complexContent>
<extension base="lmn:case">
<sequence>
<element name="application" type="lmnd:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Заявление о внесении уведомления о расторжении трудового договора
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о внесении уведомления о расторжении трудового договора</documentation>
</annotation>
<complexContent>
<extension base="lmn:application">
<sequence>
<!-- labormigration.notification.employerStatus (ru.gov.fms.umms.domain.dictionary.labormigration.EmployerStatusType) -->
<element name="employerStatusType" type="umms:dictionary" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Статус работодателя</documentation>
</annotation>
</element>
<element name="sourceOrganization" type="umms:organizationData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация-источник</documentation>
</annotation>
</element>
<element name="foreignPerson" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Иностранный гражданин</documentation>
</annotation>
</element>
<choice minOccurs="0" maxOccurs="1">
<element name="laborDocument" type="umms:document">
<annotation>
<documentation>
РНР или патент (отсутствие данного элемента в XML означает, что документ не был
предоставлен).
Типом данного документа является значение из справочника
с кодом "labormigration.DocumentType".
</documentation>
</annotation>
</element>
<element name="laborDocumentNotProvided">
<annotation>
<documentation>
Признак отсутствия РНР или патента (если указан, то обязательна для заполнения
Категория ИГ (элемент foreignPersonCategory))
</documentation>
</annotation>
</element>
</choice>
<choice minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Один из элементов choice обязателен, если в Организации-источнике
(элемент sourceOrganization) указан тип работодателя "Российское" или "Иностранное"
</documentation>
</annotation>
<!-- Specialty (ru.gov.fms.umms.domain.dictionary.Specialty) -->
<element name="specialty" type="umms:dictionary">
<annotation>
<documentation>Специальность</documentation>
</annotation>
</element>
<!-- Profession (ru.gov.fms.umms.domain.dictionary.Profession) -->
<element name="profession" type="umms:dictionary">
<annotation>
<documentation>Должность</documentation>
</annotation>
</element>
<!-- ProfessionGroup (ru.gov.fms.umms.domain.dictionary.ProfessionGroup) -->
<element name="professionGroup" type="umms:dictionary">
<annotation>
<documentation>Вид трудовой деятельности</documentation>
</annotation>
</element>
<element name="professionName" type="umms:string">
<annotation>
<documentation>Профессия, внесенная вручную</documentation>
</annotation>
</element>
</choice>
<!-- labormigration.notification.personCategory (ru.gov.fms.umms.domain.dictionary.labormigration.PersonCategoryType) -->
<element name="foreignPersonCategory" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Категория ИГ</documentation>
</annotation>
</element>
<element name="dismissionDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата расторжения трудового договора</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="notificationCase" type="lmnd:case">
<annotation>
<documentation>Проект дела о внесении уведомления о расторжении трудового договора</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
26.02.2016 Р. Исбаров UMMS-36099:
- изменен тип элемента laborDocument с lma:laborDocument на umms:document.
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lmne="http://umms.fms.gov.ru/application/labormigration/notification/employment"
xmlns:lmn="http://umms.fms.gov.ru/application/labormigration/notification"
targetNamespace="http://umms.fms.gov.ru/application/labormigration/notification/employment">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration/notification"
schemaLocation="labormigration-notification.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о внесении уведомления о заключении трудового договора</documentation>
</annotation>
<complexContent>
<extension base="lmn:case">
<sequence>
<element name="application" type="lmne:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Заявление о внесении уведомления о заключении трудового договора
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о внесении уведомления о заключении трудового договора</documentation>
</annotation>
<complexContent>
<extension base="lmn:application">
<sequence>
<!-- labormigration.notification.employerStatus (ru.gov.fms.umms.domain.dictionary.labormigration.EmployerStatusType) -->
<element name="employerStatusType" type="umms:dictionary" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Статус работодателя</documentation>
</annotation>
</element>
<element name="sourceOrganization" type="umms:organizationData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация-источник</documentation>
</annotation>
</element>
<element name="foreignPerson" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Иностранный гражданин</documentation>
</annotation>
</element>
<choice minOccurs="0" maxOccurs="1">
<element name="laborDocument" type="umms:document">
<annotation>
<documentation>
РНР или патент (отсутствие данного элемента в XML означает, что документ не был
предоставлен).
Типом данного документа является значение из справочника
с кодом "labormigration.DocumentType".
</documentation>
</annotation>
</element>
<element name="laborDocumentNotProvided">
<annotation>
<documentation>
Признак отсутствия РНР или патента (если указан, то обязательна для заполнения
Категория ИГ (элемент foreignPersonCategory))
</documentation>
</annotation>
</element>
</choice>
<choice minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Один из элементов choice обязателен, если в Организации-источнике
(элемент sourceOrganization) указан тип работодателя "Российское" или "Иностранное"
</documentation>
</annotation>
<!-- Specialty (ru.gov.fms.umms.domain.dictionary.Specialty) -->
<element name="specialty" type="umms:dictionary">
<annotation>
<documentation>Специальность</documentation>
</annotation>
</element>
<!-- Profession (ru.gov.fms.umms.domain.dictionary.Profession) -->
<element name="profession" type="umms:dictionary">
<annotation>
<documentation>Должность</documentation>
</annotation>
</element>
<!-- ProfessionGroup (ru.gov.fms.umms.domain.dictionary.ProfessionGroup) -->
<element name="professionGroup" type="umms:dictionary">
<annotation>
<documentation>Вид трудовой деятельности</documentation>
</annotation>
</element>
<element name="professionName" type="umms:string">
<annotation>
<documentation>Профессия, внесенная вручную</documentation>
</annotation>
</element>
</choice>
<!-- labormigration.notification.personCategory (ru.gov.fms.umms.domain.dictionary.labormigration.PersonCategoryType) -->
<element name="foreignPersonCategory" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Категория ИГ</documentation>
</annotation>
</element>
<element name="employmentDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата заключения трудового договора</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="notificationCase" type="lmne:case">
<annotation>
<documentation>Проект дела о внесении уведомления о заключении трудового договора</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,105 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lmnsd="http://umms.fms.gov.ru/application/labormigration/notification/student/dismission"
xmlns:lmn="http://umms.fms.gov.ru/application/labormigration/notification"
targetNamespace="http://umms.fms.gov.ru/application/labormigration/notification/student/dismission">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration/notification"
schemaLocation="labormigration-notification.xsd"/>
<complexType name="case">
<annotation>
<documentation>
Проект дела о внесении уведомления о расторжении трудового договора с учащимся ИГ
</documentation>
</annotation>
<complexContent>
<extension base="lmn:case">
<sequence>
<element name="application" type="lmnsd:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Заявление о внесении уведомления о расторжении трудового договора с учащимся ИГ
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>
Заявление о внесении уведомления о расторжении трудового договора с учащимся ИГ
</documentation>
</annotation>
<complexContent>
<extension base="lmn:application">
<sequence>
<!-- labormigration.notification.employerStatus (ru.gov.fms.umms.domain.dictionary.labormigration.EmployerStatusType) -->
<element name="employerStatusType" type="umms:dictionary" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Статус работодателя</documentation>
</annotation>
</element>
<element name="sourceOrganization" type="umms:organizationData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация-источник</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="institutionSource">
<annotation>
<documentation>
Образовательной организацией является организация-источник
</documentation>
</annotation>
</element>
<element name="institutionOrganization" type="umms:organizationData">
<annotation>
<documentation>
Образовательная организация
</documentation>
</annotation>
</element>
</choice>
<element name="foreignPerson" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Иностранный гражданин</documentation>
</annotation>
</element>
<element name="educationPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Период обучения</documentation>
</annotation>
</element>
<!-- Profession (ru.gov.fms.umms.domain.dictionary.Profession) -->
<element name="profession" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Должность</documentation>
</annotation>
</element>
<element name="dismissionDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата расторжения трудового договора</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="notificationCase" type="lmnsd:case">
<annotation>
<documentation>
Проект дела о внесении уведомления о расторжении трудового договора с учащимся ИГ
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lmnse="http://umms.fms.gov.ru/application/labormigration/notification/student/employment"
xmlns:lmn="http://umms.fms.gov.ru/application/labormigration/notification"
targetNamespace="http://umms.fms.gov.ru/application/labormigration/notification/student/employment">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration/notification"
schemaLocation="labormigration-notification.xsd"/>
<complexType name="case">
<annotation>
<documentation>
Проект дела о внесении уведомления о заключении трудового договора с учащимся ИГ
</documentation>
</annotation>
<complexContent>
<extension base="lmn:case">
<sequence>
<element name="application" type="lmnse:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Заявление о внесении уведомления о заключении трудового договора с учащимся ИГ
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>
Заявление о внесении уведомления о заключении трудового договора с учащимся ИГ
</documentation>
</annotation>
<complexContent>
<extension base="lmn:application">
<sequence>
<!-- labormigration.notification.employerStatus (ru.gov.fms.umms.domain.dictionary.labormigration.EmployerStatusType) -->
<element name="employerStatusType" type="umms:dictionary" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Статус работодателя</documentation>
</annotation>
</element>
<element name="sourceOrganization" type="umms:organizationData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация-источник</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="institutionSource">
<annotation>
<documentation>
Образовательной организацией является организация-источник
</documentation>
</annotation>
</element>
<element name="institutionOrganization" type="umms:organizationData">
<annotation>
<documentation>
Образовательная организация
</documentation>
</annotation>
</element>
</choice>
<element name="foreignPerson" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Иностранный гражданин</documentation>
</annotation>
</element>
<element name="educationPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Период обучения</documentation>
</annotation>
</element>
<element name="laborActivityPeriod" type="lmn:laborActivityPeriod" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Планируемый период трудовой деятельности</documentation>
</annotation>
</element>
<!-- Profession (ru.gov.fms.umms.domain.dictionary.Profession) -->
<element name="profession" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Должность</documentation>
</annotation>
</element>
<element name="employmentDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата заключения трудового договора</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="notificationCase" type="lmnse:case">
<annotation>
<documentation>
Проект дела о внесении уведомления о заключении трудового договора с учащимся ИГ
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
targetNamespace="http://umms.fms.gov.ru/application/labormigration/notification">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="case" abstract="true">
<annotation>
<documentation>Базовый проект дела о внесении уведомления</documentation>
</annotation>
<complexContent>
<extension base="umms:case"/>
</complexContent>
</complexType>
<complexType name="application" abstract="true">
<annotation>
<documentation>Базовое заявление о внесении уведомления</documentation>
</annotation>
<sequence>
<element name="receptionDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема уведомления</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="laborActivityPeriod">
<annotation>
<documentation>Период трудовой деятельности</documentation>
</annotation>
<sequence>
<element name="years" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Количество лет</documentation>
</annotation>
<simpleType>
<restriction base="umms:value">
<pattern value="\d{1,2}"/>
</restriction>
</simpleType>
</element>
<element name="months" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Количество месяцев</documentation>
</annotation>
<simpleType>
<restriction base="umms:value">
<pattern value="\d{1,2}"/>
</restriction>
</simpleType>
</element>
<element name="weeks" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Количество недель</documentation>
</annotation>
<simpleType>
<restriction base="umms:value">
<pattern value="\d"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
11.12.2014 Р. Исбаров UMMS-25533:
- в комплексный тип patentApplication добавлены дополнительные элементы inn, laborActivity, migrationCard,
registration, medicalContract, russianLanguageDocument, previousPatent, additionalIssuance.
16.12.2014 Р. Исбаров UMMS-25639:
- изменено пространство имен с replication на application.
17.03.2015 Я. Савельева UMMS-26872:
- в комплексный тип russianLanguageDocument добавлен дополнительный элемент certificationAuthority.
22.09.2015 Р. Исбаров UMMS-31069:
- в комллексный тип laborActivity добавлены дополнительные элементы specialty, profession, professionGroup.
25.02.2016 Р. Исбаров UMMS-35473:
- изменено пространство имён на http://umms.fms.gov.ru/application/labormigration-patent-issuance.
- комплексный тип patentCase переименован в patentIssuanceCase.
- комплексный тип patentApplication переименован в patentIssuanceApplication.
- реализована отдельная XSD-схема labormigration-patent.xsd, содержащая базовые данные для заявлений по
патентам: lmp:patentCase и lmp:patentApplication.
- элементы inn, laborActivity, medicalContract, russianLanguageDocument, addressObject, receptionCode перенесены
из типа patentIssuanceApplication в базовый тип lmp:patentApplication.
14.05.2016 Д. Валеев UMMS-35951:
- из комплексного типа patentApplication убран элемент additionalIssuance.
- элемент previousPatent в комплексном типе patentIssuanceApplication сменил тип на umms:personDocument.
- удален комплексный тип previousPatent.
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lmp="http://umms.fms.gov.ru/application/labormigration-patent"
xmlns:patent="http://umms.fms.gov.ru/application/labormigration-patent-issuance"
targetNamespace="http://umms.fms.gov.ru/application/labormigration-patent-issuance">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration"
schemaLocation="labormigration.xsd"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration-patent"
schemaLocation="labormigration-patent.xsd"/>
<complexType name="patentIssuanceCase">
<annotation>
<documentation>Проект дела по первичной выдаче патента</documentation>
</annotation>
<complexContent>
<extension base="lmp:patentCase">
<sequence>
<element name="patentIssuanceApplication" type="patent:patentIssuanceApplication" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление на первичную выдачу патента</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="patentIssuanceApplication">
<annotation>
<documentation>Заявление на первичную выдачу патента</documentation>
</annotation>
<complexContent mixed="false">
<extension base="lmp:patentApplication">
<sequence>
<element name="migrationCard" type="patent:migrationCard" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о миграционной карте</documentation>
</annotation>
</element>
<element name="registration" type="patent:registration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о миграционном учете</documentation>
</annotation>
</element>
<element name="previousPatent" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Сведения о ранее выданном патенте.
В качестве типа данного документа обязательно должно указываться
значение 139372 (Патент ИГ (ЛБГ)).
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="migrationCard">
<annotation>
<documentation>Сведения о миграционной карте</documentation>
</annotation>
<sequence>
<element name="number" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер миграционной карты</documentation>
</annotation>
</element>
<element name="issued" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата выдачи</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="registration">
<annotation>
<documentation>Сведения о миграционном учете</documentation>
</annotation>
<sequence>
<element name="address" type="umms:russianAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес постановки на учет по месту пребывания</documentation>
</annotation>
</element>
<element name="period" type="umms:period" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Период регистрации</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="patent:patentIssuanceCase">
<annotation>
<documentation>Проект дела по первичной выдаче патента</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
25.02.2016 Р. Исбаров UMMS-35473:
- реализована отдельная XSD-схема labormigration-patent.xsd, содержащая базовые данные для заявлений по
патентам: lmp:patentCase и lmp:patentApplication.
- комплексный тип patentRenewalCase расширяет базовый тип lmp:patentCase.
- комплексный тип patentRenewalApplication расширяет базовый тип lmp:patentApplication.
- элементы inn, laborActivity, medicalContract, russianLanguageDocument, addressObject, receptionCode перенесены
из типа patentIssuanceApplication в базовый тип lmp:patentApplication.
26.02.2016 Р. Исбаров UMMS-36099:
- изменен тип элемента patent с patent:patent на umms:personDocument.
16.05.2016 Д. Валеев UMMS-35951:
- удален комплексный тип patent, он больше не требуется.
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lmp="http://umms.fms.gov.ru/application/labormigration-patent"
xmlns:patent="http://umms.fms.gov.ru/application/labormigration-patent-renewal"
targetNamespace="http://umms.fms.gov.ru/application/labormigration-patent-renewal">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration"
schemaLocation="labormigration.xsd"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration-patent"
schemaLocation="labormigration-patent.xsd"/>
<complexType name="patentRenewalCase">
<annotation>
<documentation>Проект дела по переоформлению патента</documentation>
</annotation>
<complexContent>
<extension base="lmp:patentCase">
<sequence>
<element name="patentRenewalApplication" type="patent:patentRenewalApplication" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление на переоформление патента</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="patentRenewalApplication">
<annotation>
<documentation>Заявление на переоформление патента</documentation>
</annotation>
<complexContent mixed="false">
<extension base="lmp:patentApplication">
<sequence>
<element name="patent" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Переоформляемый (ранее выданный) патент.
В качестве типа данного документа обязательно должно указываться
значение 139372 (Патент ИГ (ЛБГ)).
</documentation>
</annotation>
</element>
<element name="sourceOrganization" type="umms:organizationData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация-источник</documentation>
</annotation>
</element>
<!-- labormigration.notification.employmentContract (ru.gov.fms.umms.domain.dictionary.labormigration.EmploymentContractType) -->
<element name="contractCategory" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Вид договора</documentation>
</annotation>
</element>
<element name="contractPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата заключения и дата окончания трудового договора</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="patent:patentRenewalCase">
<annotation>
<documentation>Проект дела по переоформлению патента</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,189 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
25.02.2016 Р. Исбаров UMMS-35473:
- созданы базовые комплексные типы для проекта дела и заявления о первичной выдаче и переоформлении патента.
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lm="http://umms.fms.gov.ru/application/labormigration"
xmlns:lmp="http://umms.fms.gov.ru/application/labormigration-patent"
targetNamespace="http://umms.fms.gov.ru/application/labormigration-patent">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration" schemaLocation="labormigration.xsd"/>
<complexType name="patentCase" abstract="true">
<annotation>
<documentation>Базовый проект дела по патенту</documentation>
</annotation>
<complexContent>
<extension base="umms:case"/>
</complexContent>
</complexType>
<complexType name="patentApplication" abstract="true">
<annotation>
<documentation>Базовое заявление по патенту</documentation>
</annotation>
<complexContent mixed="false">
<extension base="lm:application">
<sequence>
<element name="inn" type="umms:innData" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения об индивидуальном номере налогоплательщика (ИНН)</documentation>
</annotation>
</element>
<element name="laborActivity" type="lmp:laborActivity" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Трудовая деятельность</documentation>
</annotation>
</element>
<element name="medicalContract" type="lmp:medicalContract" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Медицинский договор</documentation>
</annotation>
</element>
<element name="russianLanguageDocument" type="lmp:russianLanguageDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Документ, подтверждающий владение русским языком</documentation>
</annotation>
</element>
<!-- addressObject (ru.gov.fms.umms.domain.dictionary.address.AddressObject) -->
<element name="addressObject" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Территория действия</documentation>
</annotation>
</element>
<element name="receptionCode" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Групповой идентификатор дела</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="laborActivity">
<annotation>
<documentation>Трудовая деятельность</documentation>
</annotation>
<sequence>
<!-- labormigration.EmployerType (ru.gov.fms.umms.domain.dictionary.labormigration.EmployerType) -->
<element name="employerType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Планируемый вид нанимателя. Возможные значения: 0 - физическое лицо, 1 - юридическое лицо.
</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<!-- Specialty (ru.gov.fms.umms.domain.dictionary.Specialty) -->
<element name="specialty" type="umms:dictionary">
<annotation>
<documentation>Специальность</documentation>
</annotation>
</element>
<!-- Profession (ru.gov.fms.umms.domain.dictionary.Profession) -->
<element name="profession" type="umms:dictionary">
<annotation>
<documentation>Должность</documentation>
</annotation>
</element>
<!-- ProfessionGroup (ru.gov.fms.umms.domain.dictionary.ProfessionGroup) -->
<element name="professionGroup" type="umms:dictionary">
<annotation>
<documentation>Вид трудовой деятельности</documentation>
</annotation>
</element>
<element name="jobInfo" type="umms:string">
<annotation>
<documentation>
Специальность, Должность, Вид трудовой деятельности (внесение профессии вручную)
</documentation>
</annotation>
</element>
</choice>
<element name="dateTo" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Предполагаемый срок осуществления трудовой деятельности в Российской Федерации до
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="medicalContract">
<annotation>
<documentation>
Медицинский договор
</documentation>
</annotation>
<sequence>
<!-- labormigration.AdditionalDocumentType (ru.gov.fms.umms.domain.dictionary.labormigration.AdditionalDocumentType) -->
<element name="documentType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Тип документа</documentation>
</annotation>
</element>
<element name="dateFrom" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата заключения договора</documentation>
</annotation>
</element>
<element name="dateTo" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Срок действия договора до</documentation>
</annotation>
</element>
<element name="medicalInstitution" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Медицинское учреждение</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="russianLanguageDocument">
<annotation>
<documentation>
Данные документа, подтверждающего владение русским языком,
знание истории России и основ законодательства Российской Федерации
</documentation>
</annotation>
<sequence>
<!-- labormigration.AdditionalDocumentType (ru.gov.fms.umms.domain.dictionary.labormigration.AdditionalDocumentType) -->
<element name="documentType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Тип документа</documentation>
</annotation>
</element>
<element name="issued" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата выдачи</documentation>
</annotation>
</element>
<element name="receipt" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата получения</documentation>
</annotation>
</element>
<element name="certificationAuthority" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Учреждение, выдавшее документ</documentation>
</annotation>
</element>
<element name="additionalInfo" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дополнительные сведения о документе</documentation>
</annotation>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
25.06.2014 Р. Исбаров UMMS-22760:
- уведомления и мед. справки перенесены из базового типа application в тип workPermitApplication
(уведомления и мед. справки могут быть только в заявлении о выдаче разрешения на работу и не могут быть в
заявлении о выдаче патента)
11.12.2014 Р. Исбаров UMMS-25533:
- элемент healthCertificate перенесен из комплексного типа workPermitApplication в базовый тип application
(мед. справки могут передаваться в составе РНР и патентов).
16.12.2014 Р. Исбаров UMMS-25639:
- изменено пространство имен с replication на application.
30.03.2015 Я. Савельева UMMS-27028:
- удален элемент notification из комплексного типа workPermitApplication.
07.07.2015 Р. Исбаров UMMS-27871:
- добавлен элемент highSkilledWageCategory в комплексный тип workPermitApplication.
17.05.2016 Д. Валеев UMMS-37363:
- удален элемент citizenGroup из комплексного типа workPermitApplication.
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:lm="http://umms.fms.gov.ru/application/labormigration"
xmlns:workPermit="http://umms.fms.gov.ru/application/labormigration-work-permit"
targetNamespace="http://umms.fms.gov.ru/application/labormigration-work-permit">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/labormigration" schemaLocation="labormigration.xsd"/>
<complexType name="workPermitCase">
<annotation>
<documentation>Проект дела по выдаче разрешения на работу</documentation>
</annotation>
<complexContent>
<extension base="umms:case">
<sequence>
<element name="workPermitApplication" type="workPermit:workPermitApplication" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление на выдачу разрешения на работу</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="workPermitApplication">
<annotation>
<documentation>Заявление на выдачу разрешения на работу</documentation>
</annotation>
<complexContent mixed="false">
<extension base="lm:application">
<sequence>
<element name="entranceType" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Визовый въезд</documentation>
</annotation>
</element>
<element name="hasTemporaryResidence" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наличие РВП</documentation>
</annotation>
</element>
<element name="highlySkilled" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Высококвалифицированный специалист (если указано значение true, то обязательна
для заполнения Категория уровня оплаты (элемент highSkilledWageCategory))
</documentation>
</annotation>
</element>
<element name="skolkovo" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сотрудник Сколково</documentation>
</annotation>
</element>
<!-- ProfessionPrefix (ru.gov.fms.umms.domain.dictionary.ProfessionPrefix) -->
<element name="professionPrefix" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Префикс профессии</documentation>
</annotation>
</element>
<!-- Profession (ru.gov.fms.umms.domain.dictionary.Profession) -->
<element name="profession" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Профессия</documentation>
</annotation>
</element>
<element name="organization" type="umms:organization" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Работодатель</documentation>
</annotation>
</element>
<!-- addressObject (ru.gov.fms.umms.domain.dictionary.address.AddressObject) -->
<element name="addressObject" type="umms:dictionary" minOccurs="1" maxOccurs="unbounded">
<annotation>
<documentation>Территории действия</documentation>
</annotation>
</element>
<element name="validTo" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Срок действия по</documentation>
</annotation>
</element>
<element name="receptionCode" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Групповой идентификатор дела</documentation>
</annotation>
</element>
<!-- labormigration.HighSkill.WageCategory (ru.gov.fms.umms.domain.dictionary.labormigration.HighSkillWageCategoryType) -->
<element name="highSkilledWageCategory" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Категория уровня оплаты (обязательно для высококвалифицированных
специалистов (значение элемента highlySkilled равно true))
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="workPermit:workPermitCase">
<annotation>
<documentation>Проект дела по выдаче разрешения на работу</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,176 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
11.10.2013 Я. Савельева UMMS-22565:
- убрана обязательность элемента validFrom в базовом заявлении
25.06.2014 Р. Исбаров UMMS-22760:
- уведомления и мед. справки перенесены из базового типа application в тип workPermitApplication
(уведомления и мед. справки могут быть только в заявлении о выдаче разрешения на работу и не могут быть в
заявлении о выдаче патента)
11.12.2014 Р. Исбаров UMMS-25533:
- в комплексный базовый тип application возвращены мед. справки, т.к. снова появилась возможность
передачи мед. справок в патенте
16.12.2014 Р. Исбаров UMMS-25639:
- изменено пространство имен с replication на application
30.03.2015 Я. Савельева UMMS-27028:
- удален комплексный тип notification
19.05.2015 Р. Исбаров UMMS-27718:
- добавлен комплексный тип laborDocument
12.01.2016 Р. Исбаров UMMS-33033:
- удален элемент disease в комплексном типе healthCertificate, вместо него добавлен флаг diseased
01.02.2016 Р. Исбаров UMMS-35026:
- добавлен элемент warrant в комплексный базовый тип application
26.02.2016 Р. Исбаров UMMS-36099:
- удален комплексный тип laborDocument, т.к. поля для передачи серии и номера бланка были добавлены в
базовый тип umms:document
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:lm="http://umms.fms.gov.ru/application/labormigration"
targetNamespace="http://umms.fms.gov.ru/application/labormigration">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="application" abstract="true">
<annotation>
<documentation>Базовое заявление для дел физического лица модуля Трудовая миграция</documentation>
</annotation>
<sequence>
<element name="fillingDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата подачи заявления</documentation>
</annotation>
</element>
<!-- labormigration.TypeOfRecipient (ru.gov.fms.umms.domain.dictionary.labormigration.TypeOfRecipient) -->
<element name="declarantType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Кем оформляется</documentation>
</annotation>
</element>
<element name="applicant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Информация о заявителе</documentation>
</annotation>
</element>
<element name="representative" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Информация о представителе</documentation>
</annotation>
</element>
<element name="warrant" type="lm:warrant" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Информация о доверенности.
Элемент обязателен в том случае, если заполнена информация о представителе
(элемент representative).
</documentation>
</annotation>
</element>
<element name="healthCertificate" type="lm:healthCertificate" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Медицинские справки</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Квитанции</documentation>
</annotation>
</element>
<element name="receivingPartyContact" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Особые отметки</documentation>
</annotation>
</element>
<element name="validFrom" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Срок действия с</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="healthCertificate">
<annotation>
<documentation>Медицинская справка</documentation>
</annotation>
<sequence>
<!-- labormigration.HealthCertificateType (ru.gov.fms.umms.domain.dictionary.labormigration.HealthCertificateType) -->
<element name="type" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Тип медицинской справки</documentation>
</annotation>
</element>
<element name="number" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Номер справки</documentation>
</annotation>
</element>
<element name="issueDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата выдачи справки в медицинском учреждении</documentation>
</annotation>
</element>
<element name="receivingDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата подачи справки заявителем</documentation>
</annotation>
</element>
<element name="medicalInstitution" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Медицинское учреждение, выдавшее справку</documentation>
</annotation>
</element>
<element name="diseased" type="boolean" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Признак наличия заболеваний (true - заболевания выявлены, false - не выявлены)
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="warrant">
<annotation>
<documentation>Доверенность</documentation>
</annotation>
<sequence>
<element name="issueDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата выдачи</documentation>
</annotation>
</element>
<element name="expirationDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата окончания срока действия</documentation>
</annotation>
</element>
<element name="number" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер</documentation>
</annotation>
</element>
<element name="issuedBy" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Кем выдана</documentation>
</annotation>
</element>
<element name="target" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Цель (для чего выдана)</documentation>
</annotation>
</element>
<element name="notes" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Примечания</documentation>
</annotation>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:mc="http://umms.fms.gov.ru/replication/migration"
xmlns:msr="http://umms.fms.gov.ru/application/migration/staying"
targetNamespace="http://umms.fms.gov.ru/application/migration/staying">
<import namespace="http://umms.fms.gov.ru/replication/migration"/>
<complexType name="regCase">
<annotation>
<documentation>Проект дела о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="mc:stayingRegCase"/>
</complexContent>
</complexType>
<element name="case" type="msr:regCase">
<annotation>
<documentation>Проект дела о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:mc="http://umms.fms.gov.ru/replication/migration"
xmlns:msu="http://umms.fms.gov.ru/application/migration/staying/unreg"
targetNamespace="http://umms.fms.gov.ru/application/migration/staying/unreg">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/migration"/>
<complexType name="unregCase">
<annotation>
<documentation>Проект дела о снятии с миграционного учета по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="mc:stayingUnregCase">
<sequence>
<element name="personDataDocument" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и ДУЛ заявителя</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="msu:unregCase">
<annotation>
<documentation>Проект дела о снятии с миграционного учета по месту пребывания</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
18.09.2014 Р. Исбаров UMMS-24501:
- добавлен обязательный элемент oktmo в комплексный тип departmentInformation
- убрана обязательность элемента okato в комплексном типе departmentInformation
04.02.2015 Р. Исбаров UMMS-26104:
- добавлен обязательный элемент paymentNameGroup в комплексный тип paymentDocument
- убрана обязательность элементов paymentName и kbk в комплексном типе paymentDocument
21.06.2016 Р. Исбаров UMMS-38527:
- тип элемента image изменен с umms:hexBinary на umms:binary
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
targetNamespace="http://umms.fms.gov.ru/replication/payment">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="paymentDocument">
<annotation>
<documentation>Платёжный документ</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:entityBase">
<sequence>
<element name="docNo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер платежного документа</documentation>
</annotation>
</element>
<!-- paymentdocument.PaymentDocumentType (ru.gov.fms.umms.domain.dictionary.paymentdocument.PaymentDocumentType) -->
<element name="orderType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Тип платежного документа (Платежная квитанция; Платежное поручение)
</documentation>
</annotation>
</element>
<!-- paymentdocument.PaymentChargeType (ru.gov.fms.umms.domain.dictionary.paymentdocument.PaymentChargeType) -->
<element name="chargeType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Типы производимых начислений доходов в бюджет (Штраф или налог/госпошлина)
</documentation>
</annotation>
</element>
<element name="okato" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Код ОКАТО, специфичный для данного платежа</documentation>
</annotation>
</element>
<element name="departInformation" type="payment:departmentInformation" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Информация о подразделении</documentation>
</annotation>
</element>
<!-- PaymentNameGroup (ru.gov.fms.umms.domain.dictionary.PaymentNameGroup) -->
<element name="paymentNameGroup" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Группа наименований платежей</documentation>
</annotation>
</element>
<!-- PaymentName (ru.gov.fms.umms.domain.dictionary.PaymentName) -->
<element name="paymentName" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наименование платежа</documentation>
</annotation>
</element>
<element name="sum" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Сумма платежа</documentation>
</annotation>
</element>
<element name="creationDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата составления (оформления) документа</documentation>
</annotation>
</element>
<element name="paymentDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата платежа</documentation>
</annotation>
</element>
<!-- ChargeDeliveryType (ru.gov.fms.umms.domain.dictionary.incomeadmin.ChargeDeliveryType) -->
<element name="chargeDeliveryType" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Способ расчетов между банком (филиалом) плательщика и банком (филиалом)
получателя платежа
</documentation>
</annotation>
</element>
<!-- BCCode (ru.gov.fms.umms.domain.dictionary.BCCode) -->
<element name="kbk" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Код бюджетной классификации налогов и сборов</documentation>
</annotation>
</element>
<!-- paymentdocument.PaymentDocumentStatus (ru.gov.fms.umms.domain.dictionary.paymentdocument.PaymentDocumentStatus) -->
<element name="status" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Статус платежного документа</documentation>
</annotation>
</element>
<element name="imageType" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Тип изображения</documentation>
</annotation>
</element>
<element name="image" type="umms:binary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Изображение платежного документа</documentation>
</annotation>
</element>
<element name="contractorBank" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наименование банка плательщика</documentation>
</annotation>
</element>
<element name="contractorInn" type="umms:inn" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>ИНН банка плательщика</documentation>
</annotation>
</element>
<element name="contractorAccountNumber" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер счёта банка плательщика</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="departmentInformation">
<annotation>
<documentation>Информация о подразделении</documentation>
</annotation>
<sequence>
<element name="inn" type="umms:inn" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>ИНН</documentation>
</annotation>
</element>
<element name="kpp" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>КПП</documentation>
</annotation>
</element>
<element name="okato" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>ОКАТО</documentation>
</annotation>
</element>
<element name="oktmo" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>ОКТМО</documentation>
</annotation>
</element>
<element name="ogrn" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>ОГРН</documentation>
</annotation>
</element>
<element name="account" type="payment:bankAccount" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Информация о банковском счёте</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="bankAccount">
<annotation>
<documentation>Банковский счёт</documentation>
</annotation>
<sequence>
<element name="bankName" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Название банка</documentation>
</annotation>
</element>
<element name="accountNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Номер счёта</documentation>
</annotation>
</element>
<element name="bik" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Банковский идентификационный код (БИК)</documentation>
</annotation>
</element>
<element name="corrAccount" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Корреспондентский счёт</documentation>
</annotation>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,126 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.06.2013 А. Мазур UMMS-16200:
- изменены названия корневых элементов с unregCase на case (стандартное имя)
08.06.2015 Р. Исбаров UMMS-27961:
- изменены пространства имен и префиксы пространств имен
- добавлен дополнительный элемент lsuv в тип unregCase
11.08.2015 Я. Савельева UMMS-26810
- добавлен дополнительный элемент documentBase в тип documentBasisFreeForm
15.03.2016 Р. Исбаров UMMS-35342, UMMS-36434:
- тип unregCase расширяет ra:livingCase (т.к. ra:unregCase удален)
- изменен порядок следования элементов
- элемент deregistrationCause переименован в unregistrationCause
- добавлены дополнительные элементы unregistrationDate, unregistrationCause и newAddress в тип unregCase
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:rlu="http://umms.fms.gov.ru/application/registration/living/unreg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/living/unreg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту жительства
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:livingCase">
<sequence>
<element name="unregistrationDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата окончания регистрации</documentation>
</annotation>
</element>
<!-- reg.deregistrationCause (ru.gov.fms.umms.domain.dictionary.registration.DeregistrationCause) -->
<element name="unregistrationCause" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Причина снятия с регистрационного учета</documentation>
</annotation>
</element>
<element name="livingRegistrationData" type="umms:livingRegistration" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место жительства (регистрации)</documentation>
</annotation>
</element>
<element name="newAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес нового места жительства (выбыл(-а) в)</documentation>
</annotation>
</element>
<element name="documentBasisFreeForm" type="rlu:documentBasisFreeForm" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Документ-основание при снятии в произвольной форме</documentation>
</annotation>
</element>
<!-- reg.unregistrationApplicantType (ru.gov.fms.umms.domain.dictionary.registration.UnregistrationApplicantType) -->
<element name="personType" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Снятие с рег. учета: заявителя, несовершеннолетнего ребенка заявителя, иного гражданина
</documentation>
</annotation>
</element>
<element name="lsuv" type="ra:lsu" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Сведения из ЛСУВ (для передачи причины составления ЛСУВ (элемент compositionReason)
необходимо использовать справочник reg.unregistrationReport)
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="documentBasisFreeForm">
<annotation>
<documentation>Документ-основание при снятии в произвольной форме</documentation>
</annotation>
<sequence>
<element name="documentBase" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Документ-основание</documentation>
</annotation>
</element>
<element name="date" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата составления документа-основания</documentation>
</annotation>
</element>
<element name="number" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер документа-основания</documentation>
</annotation>
</element>
<element name="division" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наименование органа, выдавшего документ</documentation>
</annotation>
</element>
<element name="effectiveDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата вступления в силу</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="rlu:unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту жительства
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.06.2013 А. Мазур UMMS-16200:
- изменены названия корневых элементов с regCase на case (стандартное имя)
08.06.2015 Р. Исбаров UMMS-27961:
- изменены пространства имен и префиксы пространств имен
- добавлены дополнительные элементы arrivalPlace, militaryStatement, decision, lsup в тип regCase
- удален элемент officialOrgan из типа regCase
15.03.2016 Р. Исбаров UMMS-35342, UMMS-36434:
- тип regCase расширяет ra:livingCase (т.к. ra:regCase удален)
- изменен порядок следования элементов
- добавлены дополнительные элементы previousRegistrationData и renterInfo в тип regCase
09.06.2016 Е. Авдосьева UMMS-38385:
- изменен тип элемента militaryStatement с ra:militaryStatement на umms:militaryStatement
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:rlr="http://umms.fms.gov.ru/application/registration/living/reg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/living/reg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту жительства
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:livingCase">
<sequence>
<!-- reg.arrivalPlace (ru.gov.fms.umms.domain.dictionary.registration.ArrivalPlace) -->
<element name="arrivalPlace" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Откуда прибыл</documentation>
</annotation>
</element>
<element name="previousRegistrationData" type="umms:livingRegistration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес места жительства (откуда прибыл)</documentation>
</annotation>
</element>
<element name="livingRegistrationData" type="umms:livingRegistration" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место жительства (регистрации)</documentation>
</annotation>
</element>
<element name="renterInfo" type="ra:renterInfo" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о предоставителе жилого помещения</documentation>
</annotation>
</element>
<element name="militaryStatement" type="umms:militaryStatement" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Данные о постановке на воинский учет</documentation>
</annotation>
</element>
<element name="decision" type="ra:regCaseDecision" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Принятое решение (для передачи основания для решения (элемент decisionBasis)
необходимо использовать справочник reg.decisionBasisLiving)
</documentation>
</annotation>
</element>
<element name="lsup" type="ra:lsu" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Сведения из ЛСУП (для передачи причины составления ЛСУП (элемент compositionReason)
необходимо использовать справочник reg.statSheetReasonMJ)
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="rlr:regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту жительства
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:rscu="http://umms.fms.gov.ru/application/registration/staying/criminal/unreg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/staying/criminal/unreg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту пребывания в
учреждениях уголовно-исполнительной системы
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingOrganizationUnregCase"/>
</complexContent>
</complexType>
<element name="case" type="rscu:unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту пребывания в
учреждениях уголовно-исполнительной системы
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:rscr="http://umms.fms.gov.ru/application/registration/staying/criminal/reg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/staying/criminal/reg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту пребывания в
учреждениях уголовно-исполнительной системы
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingOrganizationRegCase"/>
</complexContent>
</complexType>
<element name="case" type="rscr:regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту пребывания в
учреждениях уголовно-исполнительной системы
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
28.06.2016 Р. Исбаров UMMS-38627:
- изменено наследование типов: тип unregCase теперь расширяет ra:stayingOrganizationUnregCase
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:rsmu="http://umms.fms.gov.ru/application/registration/staying/medical/unreg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/staying/medical/unreg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту пребывания в
медицинской организации
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingOrganizationUnregCase"/>
</complexContent>
</complexType>
<element name="case" type="rsmu:unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту пребывания в
медицинской организации
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
28.06.2016 Р. Исбаров UMMS-38627:
- изменено наследование типов: тип regCase теперь расширяет ra:stayingOrganizationRegCase
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:rsmr="http://umms.fms.gov.ru/application/registration/staying/medical/reg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/staying/medical/reg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту пребывания в
медицинской организации
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingOrganizationRegCase"/>
</complexContent>
</complexType>
<element name="case" type="rsmr:regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту пребывания в
медицинской организации
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.06.2013 А. Мазур UMMS-16200:
- изменены названия корневых элементов с unregCase на case (стандартное имя)
08.06.2015 Р. Исбаров UMMS-27961:
- изменены пространства имен и префиксы пространств имен
15.03.2016 Р. Исбаров UMMS-35342, UMMS-36434:
- тип unregCase расширяет ra:stayingCase (т.к. ra:unregCase удален)
- изменен порядок следования элементов
- элемент deregistrationCause переименован в unregistrationCause
- добавлены дополнительные элементы representative, unregistrationDate, unregistrationCause и newAddress в
тип unregCase
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:rsu="http://umms.fms.gov.ru/application/registration/staying/unreg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/staying/unreg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту пребывания в жилом помещении
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingCase">
<sequence>
<element name="representative" type="ra:representative" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Законный представитель</documentation>
</annotation>
</element>
<element name="unregistrationDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата окончания регистрации</documentation>
</annotation>
</element>
<!-- reg.deregistrationCause (ru.gov.fms.umms.domain.dictionary.registration.DeregistrationCause) -->
<element name="unregistrationCause" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Причина снятия с регистрационного учета</documentation>
</annotation>
</element>
<element name="stayingRegistrationData" type="umms:stayingRegistration" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место пребывания (регистрации)</documentation>
</annotation>
</element>
<element name="newAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес нового места жительства (выбыл(-а) в)</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="rsu:unregCase">
<annotation>
<documentation>
Проект дела о снятии физ. лица с регистрационного учета по месту пребывания в жилом помещении
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.06.2013 А. Мазур UMMS-16200:
- изменены названия корневых элементов с regCase на case (стандартное имя)
08.06.2015 Р. Исбаров UMMS-27961:
- изменены пространства имен и префиксы пространств имен
- добавлены дополнительные элементы militaryStatement, decision, lsup в тип regCase
15.03.2016 Р. Исбаров UMMS-35342, UMMS-36434:
- тип regCase расширяет ra:stayingCase (т.к. ra:regCase удален)
- добавлены дополнительные элементы representative, previousRegistrationData, homeless и renterInfo в
тип regCase
09.06.2016 Е. Авдосьева UMMS-38385:
- изменен тип элемента militaryStatement с ra:militaryStatement на umms:militaryStatement
27.06.2016 Р. Исбаров UMMS-39054:
- установлена обязательность указания одного из элементов - previousRegistrationData или homeless
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:rsr="http://umms.fms.gov.ru/application/registration/staying/reg"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration/staying/reg"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/application/registration" schemaLocation="registration.xsd"/>
<complexType name="regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту пребывания в жилом помещении
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingCase">
<sequence>
<element name="representative" type="ra:representative" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Законный представитель</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="previousRegistrationData" type="umms:livingRegistration">
<annotation>
<documentation>Адрес места жительства (откуда прибыл)</documentation>
</annotation>
</element>
<element name="homeless">
<annotation>
<documentation>Признак, что заявитель БОМЖ</documentation>
</annotation>
</element>
</choice>
<element name="renterInfo" type="ra:renterInfo" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о предоставителе жилого помещения</documentation>
</annotation>
</element>
<element name="stayingRegistrationData" type="umms:stayingRegistration">
<annotation>
<documentation>Место пребывания (регистрации)</documentation>
</annotation>
</element>
<element name="militaryStatement" type="umms:militaryStatement" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Данные о постановке на воинский учет</documentation>
</annotation>
</element>
<element name="decision" type="ra:regCaseDecision" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Принятое решение (для передачи основания для решения (элемент decisionBasis)
необходимо использовать справочник reg.decisionBasisStaying)
</documentation>
</annotation>
</element>
<element name="lsup" type="ra:lsu" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Сведения из ЛСУП (для передачи причины составления ЛСУП (элемент compositionReason)
необходимо использовать справочник reg.registrationReport)
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="rsr:regCase">
<annotation>
<documentation>
Проект дела о постановке физ. лица на регистрационный учет по месту пребывания в жилом помещении
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,455 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.06.2013 А. Мазур UMMS-16202:
- изменено название типа и элемента registrationPlaceInfo на renterInfo
08.06.2015 Р. Исбаров UMMS-27961:
- изменены пространства имен и префиксы пространств имен
- переименованы типы registrationCase в regCase, unregistrationCase в unregCase
- добавлены типы regCaseDecision, militaryStatement, lsu
- добавлен элемент receptionDate в тип case
14.03.2016 Р. Исбаров UMMS-35342, UMMS-36434:
- элемент previousRegistrationAddress переименован в previousRegistrationData и перенесен из общего типа
в дочерние типы
- добавлен новый тип livingCase для передачи общих данных заявлений регистрационного учета по постановке или
снятии по месту жительства
- добавлен новый тип stayingCase для передачи общих данных заявлений регистрационного учета по постановке или
снятии по месту пребывания
- добавлен новый тип stayingMedicalOrganizationCase для передачи общих данных заявлений регистрационного учета
по постановке или снятии по месту пребывания в медицинской организации
- элементы declarant и declarantVagabond перенесены из общего типа case в типы livingCase и stayingCase
- элемент declarantVagabond переименован в declarantWithoutDocument
- элемент legalRepresentative переименован в representative и вынесен в отдельный тип
- удалены типы regCase и unregCase (вместо них будут использоваться livingCase и stayingCase)
- добавлен тип addressSheet для передачи адресных листков прибытия/выбытия
09.06.2016 Е. Авдосьева UMMS-38385:
- тип militaryStatement перенесен в схему core.xsd
28.06.2016 Р. Исбаров UMMS-38627:
- тип stayingMedicalOrganizationCase переименован в stayingOrganizationCase - базовый тип для дела о
постановке на РУ или снятии с РУ по месту пребывания в организации
- добавлены новые типы stayingOrganizationRegCase и stayingOrganizationUnregCase
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:ra="http://umms.fms.gov.ru/application/registration"
targetNamespace="http://umms.fms.gov.ru/application/registration"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="case" abstract="true">
<annotation>
<documentation>
Абстрактный тип, содержащий базовые атрибуты проекта дела по регистрационному учету
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="receptionDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата подачи заявления</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="livingCase" abstract="true">
<annotation>
<documentation>
Абстрактный тип, содержащий базовые атрибуты проекта дела о постановке на РУ или снятии с РУ
по месту жительства
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:case">
<sequence>
<element name="declarant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Сведения о заявителе</documentation>
</annotation>
</element>
<element name="representative" type="ra:representative" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Законный представитель</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="stayingCase" abstract="true">
<annotation>
<documentation>
Абстрактный тип, содержащий базовые атрибуты проекта дела о постановке на РУ или снятии с РУ
по месту пребывания
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:case">
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="declarant" type="umms:personDocument">
<annotation>
<documentation>Сведения о заявителе</documentation>
</annotation>
</element>
<element name="declarantWithoutDocument" type="umms:personData">
<annotation>
<documentation>Сведения о заявителе без документа</documentation>
</annotation>
</element>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="stayingOrganizationCase" abstract="true">
<annotation>
<documentation>
Абстрактный тип, содержащий базовые атрибуты проекта дела о постановке на РУ или снятии с РУ
по месту пребывания в организации (медицинской организации, учреждениях уголовно-исполнительной
системы и т.п.)
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingCase">
<sequence>
<element name="organization" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Организация</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="livingAddress" type="umms:livingRegistration">
<annotation>
<documentation>Адрес места жительства</documentation>
</annotation>
</element>
<element name="homeless">
<annotation>
<documentation>Признак, что заявитель БОМЖ</documentation>
</annotation>
</element>
</choice>
<element name="stayingAddress" type="umms:russianAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Адрес места пребывания (может совпадать с адресом организации)
</documentation>
</annotation>
</element>
<element name="stayingPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Период регистрации по месту пребывания.
Элемент dateTo в umms:period может быть не указан.
Для дел о постановке на РУ или снятии с РУ по месту пребывания в медицинской
организации отсутствие dateTo будет означать, что выполняется регистрация на
срок лечения.
Для дел о постановке на регистрационный учет по месту пребывания в учреждениях
уголовно-исполнительной системы отсутствие dateTo будет означать, что заявитель
отбывает пожизненный срок.
</documentation>
</annotation>
</element>
<element name="alp" type="ra:addressSheet" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Данные адресного листка прибытия (АЛП)</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="stayingOrganizationRegCase" abstract="true">
<annotation>
<documentation>
Абстрактный тип, содержащий базовые атрибуты проекта дела о постановке на РУ по месту пребывания в
организации (медицинской организации, учреждениях уголовно-исполнительной системы и т.п.)
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingOrganizationCase">
<sequence>
<element name="lsup" type="ra:lsu" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Сведения из листка статистического учета прибытия (ЛСУП).
В качестве причины составления листка статистического учета (элемент compositionReason
комплексного типа ra:lsu) необходимо всегда указывать:
1. тип справочного значения "reg.registrationReport";
2. справочное значение 2063 (регистрация по месту пребывания на 9 месяцев и более).
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="stayingOrganizationUnregCase" abstract="true">
<annotation>
<documentation>
Абстрактный тип, содержащий базовые атрибуты проекта дела о снятии с РУ по месту пребывания в
организации (медицинской организации, учреждениях уголовно-исполнительной системы и т.п.)
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="ra:stayingOrganizationCase">
<sequence>
<element name="unregistrationDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата снятия с учета</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="newAddress" type="umms:address">
<annotation>
<documentation>Адрес нового места жительства (выбыл(-а) в)</documentation>
</annotation>
</element>
<element name="died">
<annotation>
<documentation>Признак снятия с учета в связи со смертью заявителя</documentation>
</annotation>
</element>
</choice>
<element name="alu" type="ra:addressSheet" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Данные адресного листка убытия (АЛУ)</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="representative">
<annotation>
<documentation>Законный представитель</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:personDocument">
<sequence>
<!-- RelationType (ru.gov.fms.umms.domain.dictionary.RelationType) -->
<element name="type" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Тип законного представителя (мать/отец/...)</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<!-- TODO: Перевести на dictionary. -->
<simpleType name="renterType">
<annotation>
<documentation>Тип предоставителя жилого помещения (физическое лицо, организация)</documentation>
</annotation>
<restriction base="umms:string">
<enumeration value="PersonRenter">
<annotation>
<documentation>Физическое лицо</documentation>
</annotation>
</enumeration>
<enumeration value="OrganizationRenter">
<annotation>
<documentation>Организация</documentation>
</annotation>
</enumeration>
<enumeration value="StateOrganizationRenter">
<annotation>
<documentation>Государственное или муниципальное предприятие</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<complexType name="renterInfo">
<annotation>
<documentation>Сведения о предоставителе жилого помещения</documentation>
</annotation>
<sequence>
<element name="renterType" minOccurs="1" maxOccurs="1" type="ra:renterType">
<annotation>
<documentation>Тип предоставителя жилого помещения</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="renterData" type="umms:personDocument">
<annotation>
<documentation>Сведения о предоставителе жилого помещения</documentation>
</annotation>
</element>
<element name="renterDataWithoutDoc" type="umms:personData">
<annotation>
<documentation>Сведения о предоставителе жилого помещения без ДУЛ</documentation>
</annotation>
</element>
</choice>
<element name="organization" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Название организации, предоставляющей жилое помещение</documentation>
</annotation>
</element>
<element name="renterDecision" type="ra:renterDecision" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Основание для предоставления жилого помещения</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="renterDecision">
<annotation>
<documentation>Основание для предоставления жилого помещения</documentation>
</annotation>
<sequence>
<!-- DwellingProvidingBasis (ru.gov.fms.umms.domain.dictionary.migration.DwellingProvidingBasis) -->
<element name="type" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Вид документа-основания для предоставления ЖП</documentation>
</annotation>
</element>
<element name="number" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер документа</documentation>
</annotation>
</element>
<element name="date" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата документа</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="regCaseDecision">
<annotation>
<documentation>Принятое решение</documentation>
</annotation>
<sequence>
<element name="decisionBasis" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Основание для решения
(код справочника зависит от типа учета)
</documentation>
</annotation>
</element>
<element name="decision" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Принятое решение</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="addressSheet">
<annotation>
<documentation>Данные адресного листка</documentation>
</annotation>
<sequence>
<element name="createDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата составления адресного листка</documentation>
</annotation>
</element>
<element name="createdBy" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Кто составил адресный листок</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="lsu">
<annotation>
<documentation>Сведения из листка статистического учета</documentation>
</annotation>
<sequence>
<element name="compositionReason" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Причина составления листка статистического учета (код справочника зависит от типа учета)
</documentation>
</annotation>
</element>
<!-- Citizenship (ru.gov.fms.umms.domain.dictionary.Citizenship) -->
<element name="secondCitizenship" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Государство второго гражданства (код альфа-3 ОКСМ)</documentation>
</annotation>
</element>
<!-- Citizenship (ru.gov.fms.umms.domain.dictionary.Citizenship) -->
<element name="previousCitizenship" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Государство предыдущего гражданства (код альфа-3 ОКСМ)</documentation>
</annotation>
</element>
<element name="previousLivingAddressDateFrom" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата начала проживания по последнему месту жительства</documentation>
</annotation>
</element>
<!-- reg.relocationReason (ru.gov.fms.umms.domain.dictionary.registration.RelocationReason) -->
<element name="relocationReason" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Основное обстоятельство, вызвавшее необходимость переселения</documentation>
</annotation>
</element>
<!-- reg.activity (ru.gov.fms.umms.domain.dictionary.registration.Activity) -->
<element name="activity" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Занятие по последнему месту жительства</documentation>
</annotation>
</element>
<!-- reg.activityStatus (ru.gov.fms.umms.domain.dictionary.registration.ActivityStatus) -->
<element name="activityStatus" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Статус в занятости</documentation>
</annotation>
</element>
<!-- reg.socialProvisionType (ru.gov.fms.umms.domain.dictionary.registration.SocialProvisionType) -->
<element name="socialProvisionType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Вид социального обеспечения по последнему месту жительства</documentation>
</annotation>
</element>
<!-- reg.educationLevel (ru.gov.fms.umms.domain.dictionary.registration.EducationLevel) -->
<element name="educationLevel" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Образование</documentation>
</annotation>
</element>
<!-- reg.maritalStatus (ru.gov.fms.umms.domain.dictionary.MaritalStatus) -->
<element name="maritalStatus" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Состояние в браке</documentation>
</annotation>
</element>
<!-- reg.familyRelocationType (ru.gov.fms.umms.domain.dictionary.registration.FamilyRelocationType) -->
<element name="familyRelocationType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Если до переселения проживал с семьей, то прибыл</documentation>
</annotation>
</element>
<!-- YesNoType (ru.gov.fms.umms.domain.dictionary.YesNoType) -->
<element name="familyRelocationState" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Признак проживания части членов семьи по новому месту жительства</documentation>
</annotation>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,167 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
08.12.2015 Р. Исбаров UMMS-31900:
- изменен код справочника для элемента specialStatus в комплексном типе application
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:rpi="http://umms.fms.gov.ru/replication/residence-permit-issue"
targetNamespace="http://umms.fms.gov.ru/replication/residence-permit-issue">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о выдаче вида на жительство</documentation>
</annotation>
<complexContent>
<extension base="umms:case">
<sequence>
<element name="application" type="rpi:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление о выдаче вида на жительство</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о выдаче вида на жительство</documentation>
</annotation>
<sequence>
<!-- resPermit.issueAppBasis (ru.gov.fms.umms.domain.dictionary.residencepermit.ResidencePermitApplicationBasis) -->
<element name="basis" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Основание</documentation>
</annotation>
</element>
<element name="declarant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ заявителя</documentation>
</annotation>
</element>
<element name="representative" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ законного представителя</documentation>
</annotation>
</element>
<element name="declarantPreviousName" type="umms:personPreviousName" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Предыдущие ФИО заявителя</documentation>
</annotation>
</element>
<element name="currentRegistrationAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Адрес текущей регистрации.
Может быть в любой стране.
При выборе страны Россия обязательны для внесения населенный пункт и улица.
</documentation>
</annotation>
</element>
<element name="expectedLivingAddress" type="umms:russianAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Адрес предполагаемого проживания.
Может быть только в России.
Обязательны для внесения населенный пункт и улица.
</documentation>
</annotation>
</element>
<element name="coDeclarantChild" type="umms:personDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Установочные данные и документ ребенка, получающего отдельный документ ВНЖ вместе с заявителем.
Количество детей в деле не ограничено.
</documentation>
</annotation>
</element>
<element name="enteredChild" type="umms:personDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Установочные данные и документ ребенка, вписанного в документ заявителя.
Количество детей в деле не ограничено.
</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Информация о трудовой деятельности</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="1" maxOccurs="unbounded">
<annotation>
<documentation>Квитанция об уплате пошлины за выдачу ВНЖ</documentation>
</annotation>
</element>
<element name="contactInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация</documentation>
</annotation>
</element>
<!-- Citizenship (ru.gov.fms.umms.domain.dictionary.Citizenship) -->
<element name="previousCitizenship" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Бывшее гражданство (код альфа-3 ОКСМ)</documentation>
</annotation>
</element>
<!-- Country (ru.gov.fms.umms.domain.dictionary.address.Country) -->
<element name="previousLivingCountry" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Государство прежнего проживания (код альфа-3 ОКСМ)</documentation>
</annotation>
</element>
<!-- Nationality (ru.gov.fms.umms.domain.dictionary.Nationality) -->
<element name="nationality" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Национальность</documentation>
</annotation>
</element>
<!-- Religion (ru.gov.fms.umms.domain.dictionary.Religion) -->
<element name="religion" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Вероисповедание</documentation>
</annotation>
</element>
<!-- residencePermit.specialStatus (ru.gov.fms.umms.domain.dictionary.SpecialStatus) -->
<element name="specialStatus" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Особый статус</documentation>
</annotation>
</element>
<element name="residencePermitExisted" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Имел ли ранее заявитель вид на жительство</documentation>
</annotation>
</element>
<element name="previousApplicationExists" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Обращался ли ранее заявитель с заявлением</documentation>
</annotation>
</element>
<element name="deport" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Был ли заявитель ранее депортирован</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="rpi:case">
<annotation>
<documentation>Проект дела о выдаче вида на жительство</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:rpp="http://umms.fms.gov.ru/replication/residence-permit-prolongation"
targetNamespace="http://umms.fms.gov.ru/replication/residence-permit-prolongation">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о продлении вида на жительство</documentation>
</annotation>
<complexContent>
<extension base="umms:case">
<sequence>
<element name="application" type="rpp:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление о продлении вида на жительство</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о продлении вида на жительство</documentation>
</annotation>
<sequence>
<!-- resPermit.prolongationAppBasis (ru.gov.fms.umms.domain.dictionary.residencepermit.ResidencePermitApplicationBasis) -->
<element name="basis" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Основание</documentation>
</annotation>
</element>
<element name="declarant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ заявителя</documentation>
</annotation>
</element>
<element name="representative" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ законного представителя</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="identityResidencePermitProlongation" type="boolean">
<annotation>
<documentation>Использовать документ заявителя в качестве имеющегося ВНЖ</documentation>
</annotation>
</element>
<element name="residencePermit" type="fcc:residencePermit">
<annotation>
<documentation>
Продлеваемый вид на жительство.
Данный элемент указывается в том случае, если документ, удостоверяющий личность заявителя,
не является продлеваемым в рамках текущего дела ВНЖ.
В качестве типа документа могут быть использованы только значения из
справочника resPermit.resPermitDocTypes.
Обязательными к заполнению являются следующие поля:
1. Тип документа.
2. Серия.
3. Номер.
4. Дата выдачи.
5. Действителен по.
6. Кем выдан (неструктурированная информация).
7. Номер решения.
8. Дата решения.
</documentation>
</annotation>
</element>
</choice>
<element name="currentRegistrationAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Адрес текущей регистрации.
Может быть в любой стране.
При выборе страны Россия обязательны для внесения населенный пункт и улица.
</documentation>
</annotation>
</element>
<element name="expectedLivingAddress" type="umms:russianAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Адрес предполагаемого проживания.
Может быть только в России.
Обязательны для внесения населенный пункт и улица.
</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="1" maxOccurs="unbounded">
<annotation>
<documentation>Квитанция об уплате пошлины за продление ВНЖ</documentation>
</annotation>
</element>
<element name="enteredChild" type="umms:personDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>
Установочные данные и документ ребенка, вписанного в вид на жительство.
Количество детей в деле не ограничено.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="rpp:case">
<annotation>
<documentation>Проект дела о продлении вида на жительство</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
14.10.2013 Р. Исбаров UMMS-18370:
- добавлен дополнительный элемент requestId в тип response
23.09.2014 Я. Савельева UMMS-24568:
- добавлен дополнительный элемент externalCaseId в типы correctResponse и errorResponse, изменено описание
элемента externalSystemId
05.05.2016 Р. Исбаров UMMS-37706:
- изменен тип элемента fileData в типе xmlFile с xsd:string на xsd:hexBinary
06.05.2016 Р. Исбаров UMMS-37554:
- добавлен элемент Signature в тип hotelResponse для передачи данных электронной подписи в ответе
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:response="http://umms.fms.gov.ru/replication/response"
targetNamespace="http://umms.fms.gov.ru/replication/response">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
<complexType name="response">
<annotation>
<documentation>
Тип, описывающий ответ во внешнюю систему о загрузке дела в ППО "Территория"
</documentation>
</annotation>
<sequence>
<element ref="ds:Signature" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Электронная подпись документа</documentation>
</annotation>
</element>
<element name="requestId" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор запроса, по которому сформирован ответ</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="success" type="response:correctResponse">
<annotation>
<documentation>Успешная загрузка</documentation>
</annotation>
</element>
<element name="error" type="response:errorResponse">
<annotation>
<documentation>Ошибка загрузки дела</documentation>
</annotation>
</element>
</choice>
</sequence>
</complexType>
<complexType name="correctResponse">
<annotation>
<documentation>
Тип, описывающий ответ во внешнюю систему о корректной загрузке сущности в ППО "Территория"
</documentation>
</annotation>
<sequence>
<element name="externalSystemId" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор внешней системы</documentation>
</annotation>
</element>
<element name="externalCaseId" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор дела во внешней системе</documentation>
</annotation>
</element>
<element name="ummsId" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор дела в системе ППО "Территория"</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="errorResponse">
<annotation>
<documentation>
Тип, описывающий ответ во внешнюю систему об ошибочной загрузке дела в ППО "Территория"
</documentation>
</annotation>
<sequence>
<element name="externalSystemId" type="umms:value" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор внешней системы</documentation>
</annotation>
</element>
<element name="externalCaseId" type="umms:value" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор дела во внешней системе</documentation>
</annotation>
</element>
<element name="xml" type="response:xmlFile" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Содержимое необработанного XML-файла</documentation>
</annotation>
</element>
<element name="errorMsg" type="umms:value" minOccurs="1" maxOccurs="unbounded">
<annotation>
<documentation>Ошибка загрузки дела</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="xmlFile">
<annotation>
<documentation>Тип, описывающий непрочитанный XML-файл</documentation>
</annotation>
<sequence>
<element name="fileName" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Имя файла во внешней системе</documentation>
</annotation>
</element>
<element name="fileData" type="xsd:hexBinary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Содержимое необработанного XML-файла</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="response" type="response:response">
<annotation>
<documentation>Ответ внешней системе</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,251 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
03.02.2014 Р. Исбаров UMMS-20101:
- добавлен дополнительный элемент additionalApplicationReason в тип case
25.04.2014 Р. Исбаров UMMS-21901:
- изменен тип элемента spouseBirthDate с date на umms:birthDate
09.06.2016 Е. Авдосьева UMMS-38385:
- добавлен элемент militaryStatement в тип application
-->
<!-- TODO: Добавить сведения о детях вписанных в паспорт -->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:rpissueapp="http://umms.fms.gov.ru/application/rpissueapp"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
targetNamespace="http://umms.fms.gov.ru/application/rpissueapp">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case">
<annotation>
<documentation>Дело о выдаче/замене паспорта гражданина России</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="application" type="rpissueapp:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление на выдачу / замену паспорта гражданина России</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление на выдачу / замену паспорта гражданина России</documentation>
</annotation>
<sequence>
<!-- RPApplicationReason (ru.gov.fms.umms.domain.dictionary.RPApplicationReason) -->
<element name="applicationReason" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Причина открытия дела</documentation>
</annotation>
</element>
<!-- RPApplicationReason (ru.gov.fms.umms.domain.dictionary.RPApplicationReason) -->
<element name="additionalApplicationReason" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Вторая (дополнительная) причина открытия дела</documentation>
</annotation>
</element>
<element name="appDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема документов</documentation>
</annotation>
</element>
<element name="applicant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Данные заявителя</documentation>
</annotation>
</element>
<element name="familyInfo" type="rpissueapp:familyInfo" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о семейном положении</documentation>
</annotation>
</element>
<element name="newApplicantData" type="umms:personData" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Новые установочные данные заявителя, заполняются в случае замены паспорта по смене УД
</documentation>
</annotation>
</element>
<!-- applicationPlace (ru.gov.fms.umms.domain.dictionary.ApplicationPlace) -->
<element name="applicationPlace" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место обращения</documentation>
</annotation>
</element>
<element name="livingRegistration" type="rpissueapp:livingRegAddress" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место жительства (регистрации)</documentation>
</annotation>
</element>
<element name="stayingRegistration" type="umms:stayingRegistration" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место пребывания (регистрации)</documentation>
</annotation>
</element>
<!-- officialOrgan (ru.gov.fms.umms.domain.dictionary.OfficialOrgan) -->
<element name="officialOrgan" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Налоговый орган</documentation>
</annotation>
</element>
<element name="citizenshipInfo" type="rpissueapp:citizenshipInfo" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения о предыдущем гражданстве</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Платёжные документы</documentation>
</annotation>
</element>
<element name="children" type="rpissueapp:children" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Сведения о детях, вписанных в паспорт</documentation>
</annotation>
</element>
<element name="militaryStatement" type="umms:militaryStatement" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Данные о постановке на воинский учет</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="children">
<annotation>
<documentation>Сведения о детях, вписанных в паспорт</documentation>
</annotation>
<choice minOccurs="1" maxOccurs="1">
<element name="personData" type="umms:personData">
<annotation>
<documentation>Установочные данные ребенка без ДУЛ</documentation>
</annotation>
</element>
<element name="personDataDocument" type="umms:personDocument">
<annotation>
<documentation>Установочные данные ребенка c ДУЛ</documentation>
</annotation>
</element>
</choice>
</complexType>
<complexType name="livingRegAddress">
<annotation>
<documentation>Тип регистрации по месту жительства</documentation>
</annotation>
<sequence>
<element name="livingRegistration" type="umms:livingRegistration" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Место жительства (регистрации)</documentation>
</annotation>
</element>
<!-- officialOrgan (ru.gov.fms.umms.domain.dictionary.OfficialOrgan) -->
<element name="regOffice" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Орган регистрационного учета</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="citizenshipInfo">
<annotation>
<documentation>Сведения о предыдущем гражданстве</documentation>
</annotation>
<sequence>
<!-- citizenship (ru.gov.fms.umms.domain.dictionary.Citizenship) -->
<element name="prevCitizenship" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Прежнее гражданство</documentation>
</annotation>
</element>
<element name="rusCitizenshipDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата принятия гражданства РФ</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="familyInfo">
<annotation>
<documentation>Сведения о семье</documentation>
</annotation>
<sequence>
<element name="motherLastname" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>ФИО матери</documentation>
</annotation>
</element>
<element name="fatherLastname" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>ФИО отца</documentation>
</annotation>
</element>
<!-- maritalStatus (ru.gov.fms.umms.domain.dictionary.MaritalStatus) -->
<element name="maritalStatus" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Семейное положение</documentation>
</annotation>
</element>
<element name="spouseOrganName" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Наименование органа регистрации/расторжения брака</documentation>
</annotation>
</element>
<element name="spouseActNum" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер акта регистрации/расторжения брака</documentation>
</annotation>
</element>
<element name="spouseRegistrationDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата акта регистрации брака / факта расторжения брака</documentation>
</annotation>
</element>
<element name="spouseUnregistrationDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата акта расторжения брака</documentation>
</annotation>
</element>
<element name="spouseFirstName" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Имя супруга/супруги</documentation>
</annotation>
</element>
<element name="spouseLastName" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Фамилия супруга/супруги</documentation>
</annotation>
</element>
<element name="spouseMiddleName" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Отчество супруга/супруги</documentation>
</annotation>
</element>
<element name="spouseBirthDate" type="umms:birthDate" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата рождения супруга/супруги</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="rpissueapp:case">
<annotation>
<documentation>Дело о выдаче/замене паспорта гражданина России</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,138 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
08.12.2015 Р. Исбаров UMMS-31900:
- изменен код справочника для элемента declarantCategory в комплексном типе application
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:tri="http://umms.fms.gov.ru/replication/temporary-residence-issue"
targetNamespace="http://umms.fms.gov.ru/replication/temporary-residence-issue">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="case">
<annotation>
<documentation>Проект дела о выдаче разрешения на временное проживание</documentation>
</annotation>
<complexContent>
<extension base="umms:case">
<sequence>
<element name="application" type="tri:application" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление о выдаче разрешения на временное проживание</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="application">
<annotation>
<documentation>Заявление о выдаче разрешения на временное проживание</documentation>
</annotation>
<sequence>
<!-- residenceCaseCreateBasis (ru.gov.fms.umms.domain.dictionary.residence.ResidenceCaseCreateBasis) -->
<element name="basis" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Основание для выдачи РВП</documentation>
</annotation>
</element>
<element name="declarant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ заявителя</documentation>
</annotation>
</element>
<element name="representative" type="umms:personDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ законного представителя</documentation>
</annotation>
</element>
<element name="stayingAddress" type="umms:russianAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес места пребывания</documentation>
</annotation>
</element>
<element name="livingAddress" type="umms:russianAddress" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес предполагаемого места жительства</documentation>
</annotation>
</element>
<element name="contactInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация</documentation>
</annotation>
</element>
<!-- tempResidence.specialStatus (ru.gov.fms.umms.domain.dictionary.SpecialStatus) -->
<element name="declarantCategory" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Категория заявителя (особый статус ИГ (ЛБГ))</documentation>
</annotation>
</element>
<!-- Nationality (ru.gov.fms.umms.domain.dictionary.Nationality) -->
<element name="nationality" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Национальность</documentation>
</annotation>
</element>
<!-- Religion (ru.gov.fms.umms.domain.dictionary.Religion) -->
<element name="religion" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Вероисповедание</documentation>
</annotation>
</element>
<!-- Citizenship (ru.gov.fms.umms.domain.dictionary.Citizenship) -->
<element name="previousCitizenship" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Бывшее гражданство (код альфа-3 ОКСМ)</documentation>
</annotation>
</element>
<!-- EducationLevel (ru.gov.fms.umms.domain.dictionary.EducationLevel) -->
<element name="education" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Образование</documentation>
</annotation>
</element>
<element name="residenceDocumentExisted" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Имел ранее ВНЖ/РВП</documentation>
</annotation>
</element>
<element name="previousApplicationExists" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Обращался ранее с заявлением</documentation>
</annotation>
</element>
<element name="expelled" type="boolean" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Ранее выдворялся</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Трудовая деятельность</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Платежный документ</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="case" type="tri:case">
<annotation>
<documentation>Проект дела о выдаче разрешения на временное проживание</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,233 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:payment="http://umms.fms.gov.ru/replication/payment"
xmlns:visaAppl="http://umms.fms.gov.ru/replication/visa-application"
targetNamespace="http://umms.fms.gov.ru/replication/visa-application">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/payment" schemaLocation="payment.xsd"/>
<complexType name="applicationCase">
<annotation>
<documentation>Проект дела по оформлению визы</documentation>
</annotation>
<complexContent>
<extension base="umms:case">
<sequence>
<element name="application" type="visaAppl:visaApplication" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявление по оформлению визы</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="visaApplication">
<annotation>
<documentation>Визовая анкета</documentation>
</annotation>
<sequence>
<element name="fillingDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема анкеты</documentation>
</annotation>
</element>
<!-- VisaActionKind (ru.gov.fms.umms.domain.dictionary.visa.VisaActionKind) -->
<element name="visaActionKind" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Характер действия в анкете</documentation>
</annotation>
</element>
<element name="visaInfo" type="visaAppl:visaInfo" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Сведения об оформляемой визе</documentation>
</annotation>
</element>
<element name="applicant" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Информация о заявителе</documentation>
</annotation>
</element>
<element name="annulmentDocument" type="visaAppl:annulmentDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Аннулированный документ</documentation>
</annotation>
</element>
<element name="migrationRegistrationAddress" type="umms:address" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес постановки на миграционный учет</documentation>
</annotation>
</element>
<element name="actualAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес постоянного проживания заявителя</documentation>
</annotation>
</element>
<element name="availableVisa" type="fcc:visa" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Имеющаяся виза</documentation>
</annotation>
</element>
<element name="receivingParty" type="visaAppl:host" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Принимающая сторона</documentation>
</annotation>
</element>
<element name="paymentDocument" type="payment:paymentDocument" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Квитанции</documentation>
</annotation>
</element>
<element name="relative" type="fcc:relative" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Родственники</documentation>
</annotation>
</element>
<element name="additionalInfo" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дополнительная информация</documentation>
</annotation>
</element>
<!-- addressObject (ru.gov.fms.umms.domain.dictionary.address.AddressObject) -->
<element name="route" type="umms:dictionary" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Маршрут</documentation>
</annotation>
</element>
<element name="receivingPartyContact" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация приглашающей стороны</documentation>
</annotation>
</element>
<element name="applicantContact" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Контактная информация заявителя</documentation>
</annotation>
</element>
<element name="employmentInfo" type="fcc:employmentInfo" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Информация о трудовой деятельности</documentation>
</annotation>
</element>
<element name="migrationCard" type="fcc:migrationCard" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Миграционная карта</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="visaInfo">
<annotation>
<documentation>Сведения об оформляемой визе</documentation>
</annotation>
<sequence>
<!-- VisaCategory (ru.gov.fms.umms.domain.dictionary.VisaCategory) -->
<element name="category" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Категория визы</documentation>
</annotation>
</element>
<!-- EntryGoal (ru.gov.fms.umms.domain.dictionary.EntryGoal) -->
<element name="entryGoal" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Цель поездки</documentation>
</annotation>
</element>
<!-- VisaMultiplicity (ru.gov.fms.umms.domain.dictionary.VisaMultiplicity) -->
<element name="multiplicity" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Кратность визы</documentation>
</annotation>
</element>
<element name="validFrom" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Срок действия с</documentation>
</annotation>
</element>
<element name="validTo" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Срок действия по</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="annulmentDocument">
<annotation>
<documentation>Аннулированный документ</documentation>
</annotation>
<complexContent>
<extension base="umms:document">
<sequence>
<element name="annulmentDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата аннулирования</documentation>
</annotation>
</element>
<element name="decisionNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Номер решения</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="host">
<annotation>
<documentation>Тип, описывающий принимающую сторону - физическое лицо или организацию
</documentation>
</annotation>
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="personHost">
<annotation>
<documentation>Принимающая сторона - физ. лицо</documentation>
</annotation>
<complexType>
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="personDataDocument" type="umms:personDocument">
<annotation>
<documentation>Установочные данные физ. лица с ДУЛ </documentation>
</annotation>
</element>
<element name="personData" type="umms:personData">
<annotation>
<documentation>Установочные данные физ. лица без ДУЛ</documentation>
</annotation>
</element>
</choice>
<element name="personRegistrationAddress" type="umms:address" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Адрес регистрации по месту жительства</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
<element name="organization" type="umms:organization">
<annotation>
<documentation>Принимающая сторона - организация</documentation>
</annotation>
</element>
</choice>
</sequence>
</complexType>
<element name="case" type="visaAppl:applicationCase">
<annotation>
<documentation>Проект дела по оформлению визы</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,16 @@
<bindings version="2.1"
xmlns="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2.1.xsd"
extensionBindingPrefixes="xjc">
<bindings schemaLocation="hotel/hotel-form5.xsd">
<bindings node="xsd:complexType[@name='form5']">
<globalBindings>
<xjc:simple/>
</globalBindings>
</bindings>
</bindings>
</bindings>

View File

@ -0,0 +1,15 @@
SYSTEM "http://www.w3.org/2001/XMLSchema.dtd" "XMLSchema.dtd"
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "XMLSchema.dtd"
SYSTEM "http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" "xmldsig-core-schema.xsd"
SYSTEM "http://www.w3.org/2000/09/xmldsig#" "xmldsig-core-schema.xsd"
PUBLIC "http://www.w3.org/2000/09/xmldsig#" "xmldsig-core-schema.xsd"
SYSTEM "http://umms.fms.gov.ru/replication/core" "core/core.xsd"
PUBLIC "http://umms.fms.gov.ru/replication/core" "core/core.xsd"
SYSTEM "http://umms.fms.gov.ru/replication/migration" "core/migration.xsd"
PUBLIC "http://umms.fms.gov.ru/replication/migration" "core/migration.xsd"
SYSTEM "http://umms.fms.gov.ru/replication/foreign-citizen-core" "core/foreign-citizen-core.xsd"
PUBLIC "http://umms.fms.gov.ru/replication/foreign-citizen-core" "core/foreign-citizen-core.xsd"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,257 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
09.09.2013 Р. Исбаров UMMS-17751:
- в блоке "Информация о трудовой деятельности" поле "Дата начала работы" сделано необязательным.
19.11.2015 Р. Исбаров UMMS-32751:
- добавлен тип residencePermit
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
targetNamespace="http://umms.fms.gov.ru/replication/foreign-citizen-core">
<import namespace="http://umms.fms.gov.ru/replication/core" schemaLocation="core.xsd"/>
<complexType name="migrationCard">
<annotation>
<documentation>Миграционная карта</documentation>
</annotation>
<complexContent>
<extension base="umms:entityBase">
<sequence>
<element name="series" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Серия. Сделана необязательным реквизитом ввиду
наличия карт по соглашению с Республикой Беларусь
</documentation>
</annotation>
</element>
<element name="number" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Номер</documentation>
</annotation>
</element>
<element name="stayPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Заявленный срок пребывания</documentation>
</annotation>
</element>
<element name="entranceDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата въезда в РФ</documentation>
</annotation>
</element>
<!-- officialOrgan (ru.gov.fms.umms.domain.dictionary.OfficialOrgan) -->
<element name="entranceCheckpoint" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>КПП въезда (значение из справочника "КПП")</documentation>
</annotation>
</element>
<element name="departureDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Дата выезда из РФ. Сделана необязательной.
При подаче уведомления дата выезда неизвестна.
</documentation>
</annotation>
</element>
<!-- officialOrgan (ru.gov.fms.umms.domain.dictionary.OfficialOrgan) -->
<element name="departureCheckpoint" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>При подаче уведомления КПП выезда неизвестен</documentation>
</annotation>
</element>
<!-- VisitPurpose (ru.gov.fms.umms.domain.dictionary.migration.VisitPurpose) -->
<element name="visitPurpose" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Цель въезда.
Добавлена для сопоставления цели, указанной в уведомлении, с целью в миграционной карте.
Для выявления адм. нарушителей ст. 26 пункт 2 114-ФЗ.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="visa">
<annotation>
<documentation>Виза</documentation>
</annotation>
<complexContent>
<extension base="umms:document">
<sequence>
<!-- VisaCategory (ru.gov.fms.umms.domain.dictionary.VisaCategory) -->
<element name="category" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Категория визы - значение из справочника "Категории визы"</documentation>
</annotation>
</element>
<element name="stayDuration" type="integer" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Разрешенный срок пребывания</documentation>
</annotation>
</element>
<!-- VisaMultiplicity (ru.gov.fms.umms.domain.dictionary.VisaMultiplicity) -->
<element name="multiplicity" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Кратность визы - значение из справочника "Кратность визы"</documentation>
</annotation>
</element>
<element name="identitifier" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Идентификатор визы</documentation>
</annotation>
</element>
<element name="invitationNumber" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер приглашения</documentation>
</annotation>
</element>
<!-- EntryGoal (ru.gov.fms.umms.domain.dictionary.EntryGoal) -->
<element name="visitPurpose" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Цель поездки - значение из справочника "Цель поездки"</documentation>
</annotation>
</element>
<element name="prolongation" type="fcc:prolongationBase" minOccurs="0" maxOccurs="unbounded">
<annotation>
<documentation>Продление визы</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="residencePermit">
<annotation>
<documentation>Вид на жительство</documentation>
</annotation>
<complexContent>
<extension base="umms:document">
<sequence>
<element name="decisionNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Номер решения</documentation>
</annotation>
</element>
<element name="decisionDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата решения</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="prolongationBase">
<annotation>
<documentation>Тип, описывающий любое продление</documentation>
</annotation>
<sequence>
<element name="decision" type="date">
<annotation>
<documentation>Дата решения</documentation>
</annotation>
</element>
<element name="extendedFrom" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Продлена c</documentation>
</annotation>
</element>
<element name="extendedTo" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Продлена до</documentation>
</annotation>
</element>
<!-- officialOrgan (ru.gov.fms.umms.domain.dictionary.OfficialOrgan) -->
<element name="subdivision" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Орган, выполнивший продление - значение из справочника "Официальные органы"
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="employmentInfo">
<annotation>
<documentation>Информация о трудовой деятельности</documentation>
</annotation>
<sequence>
<!-- WorkType (ru.gov.fms.umms.domain.dictionary.WorkType) -->
<element name="workType" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Тип трудовой деятельности</documentation>
</annotation>
</element>
<element name="workPlace" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Место работы (учебы)</documentation>
</annotation>
</element>
<element name="position" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Должность</documentation>
</annotation>
</element>
<element name="startDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата начала работы (учебы)</documentation>
</annotation>
</element>
<element name="endDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата окончания работы (учебы)</documentation>
</annotation>
</element>
<element name="address" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес места работы (учебы)</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="relative">
<annotation>
<documentation>Информация о родственнике</documentation>
</annotation>
<sequence>
<!-- RelationType (ru.gov.fms.umms.domain.dictionary.RelationType) -->
<element name="type" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Степень родства</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="personData" type="umms:personData">
<annotation>
<documentation>Установочные данные физ. лица без ДУЛ</documentation>
</annotation>
</element>
<element name="personDataDocument" type="umms:personDocument">
<annotation>
<documentation>Установочные данные физ. лица c ДУЛ</documentation>
</annotation>
</element>
</choice>
<element name="relationAddress" type="umms:address" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес родственника</documentation>
</annotation>
</element>
</sequence>
</complexType>
</schema>

View File

@ -0,0 +1,316 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
11.10.2013 Р. Исбаров UMMS-18291:
- убрана обязательность элемента sono в деле о постановке на миграционный учет
27.05.2014 Я. Савельева UMMS-21498:
- изменен тип элемента arrivalFromPlace в деле о постановке на миграционный учет
21.07.2014 Я. Савельева UMMS-23299:
- временно сделана возможность двух форматов адреса "Откуда прибыл" в деле о постановке на миграционный учет
25.09.2014 Я. Савельева UMMS-24626:
- убран старый формат адреса "Откуда прибыл" в деле о постановке на миграционный учет
05.04.2016 Р. Исбаров UMMS-36921:
- добавлен новый тип notificationNumber для передачи номера уведомления о прибытии
10.05.2016 Р. Исбаров UMMS-37556:
- тип notificationNumber перенесен в схему core и переименован в migrationNotificationNumber
18.05.2016 Р. Исбаров UMMS-37137:
- добавлен тип hostContactInfo (перенесен из схемы migration-staying-app.xsd)
- добавлен тип stayingRegCase (перенесен из схемы migration-staying-app.xsd)
- добавлен тип stayingUnregCase (перенесен из схемы migration-staying-unreg-app.xsd)
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:mc="http://umms.fms.gov.ru/replication/migration"
targetNamespace="http://umms.fms.gov.ru/replication/migration">
<import namespace="http://umms.fms.gov.ru/replication/core" schemaLocation="core.xsd"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core" schemaLocation="foreign-citizen-core.xsd"/>
<complexType name="case" abstract="true">
<annotation>
<documentation>Дело о постановке на миграционный учет</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="notificationReceived" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема уведомления</documentation>
</annotation>
</element>
<element name="stayPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Период пребывания/регистрации</documentation>
</annotation>
</element>
<element name="personDataDocument" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и ДУЛ заявителя</documentation>
</annotation>
</element>
<element name="stayPlace" type="umms:contactInfo" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Сведения о месте пребывания/жительства</documentation>
</annotation>
</element>
<element name="representative" type="mc:legalRepresentative" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Законный представитель</documentation>
</annotation>
</element>
<element name="arrivalFromPlaceAddress" type="umms:russianAddress" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Откуда прибыл (адрес прежнего места пребывания в России;
отсутствует, если первично прибыл)
</documentation>
</annotation>
</element>
<element name="docResidence" type="mc:confirmingDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Документ, подтверждающий право на пребывание (проживание) на территории РФ
</documentation>
</annotation>
</element>
<!-- officialOrgan (ru.gov.fms.umms.domain.dictionary.OfficialOrgan) -->
<element name="sono" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Налоговый орган</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="stayingRegCase" abstract="true">
<annotation>
<documentation>Дело о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="mc:case">
<sequence>
<!-- NoticeFrom (ru.gov.fms.umms.domain.dictionary.migration.NoticeFrom) -->
<element name="noticeFrom" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Значение из справочника "Код, определяющий орган (организацию),
проставивший отметку о прибытии"
</documentation>
</annotation>
</element>
<!-- ProlongationReason (ru.gov.fms.umms.domain.dictionary.migration.ProlongationReason) -->
<element name="prolongationReason" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Причина продления срока временного пребывания ИГ (ЛБГ) в РФ (если постановка
первоначальная (не продление), то указывается значение "Нет" из справочника)
</documentation>
</annotation>
</element>
<!-- mig.specialStatus (ru.gov.fms.umms.domain.dictionary.SpecialStatus) -->
<element name="stateProgramMember" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Категория заявителя</documentation>
</annotation>
</element>
<element name="host" type="mc:hostContactInfo">
<annotation>
<documentation>Принимающая сторона</documentation>
</annotation>
</element>
<!-- VisitPurpose (ru.gov.fms.umms.domain.dictionary.migration.VisitPurpose) -->
<element name="entrancePurpose" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Цель въезда - значение из справочника "Цель въезда"</documentation>
</annotation>
</element>
<element name="migrationCard" type="fcc:migrationCard" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Миграционная карта</documentation>
</annotation>
</element>
<element name="profession" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Профессия ИГ</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="stayingUnregCase" abstract="true">
<annotation>
<documentation>Дело о снятии с миграционного учета по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="regCaseId" type="umms:ummsId">
<annotation>
<documentation>
Идентификатор дела о постановке, для которого проводится снятие с учета
</documentation>
</annotation>
</element>
<element name="regCaseUid" type="umms:uid">
<annotation>
<documentation>
Внешний идентификатор дела о постановке, для которого проводится снятие с учета
</documentation>
</annotation>
</element>
<element name="notificationNumber" type="umms:migrationNotificationNumber">
<annotation>
<documentation>
Номер уведомления о постановке на учёт по месту пребывания
</documentation>
</annotation>
</element>
</choice>
<element name="unregDate" type="dateTime" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата и время снятия с учета</documentation>
</annotation>
</element>
<!-- mig.StayingRemovalReason (ru.gov.fms.umms.domain.dictionary.migration.StayingRemovalReason) -->
<element name="reason" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Причина снятия с учета по месту пребывания (значение из справочника
"Причины снятия с учета по месту пребывания")
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="legalRepresentative">
<annotation>
<documentation>Законный представитель</documentation>
</annotation>
<sequence>
<element name="personDataDocument" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и ДУЛ законного представителя</documentation>
</annotation>
</element>
<element name="comments" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Комментарии к законному представителю</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="confirmingDocument">
<annotation>
<documentation>
Документ, подтверждающий право на пребывание (проживание) на территории РФ
</documentation>
</annotation>
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="visa" type="fcc:visa">
<annotation>
<documentation>Виза</documentation>
</annotation>
</element>
<element name="permResidencePermit" type="mc:livingDocument">
<annotation>
<documentation>Вид на жительство</documentation>
</annotation>
</element>
<element name="tempResidencePermit" type="mc:livingDocument">
<annotation>
<documentation>Разрешение на временное проживание</documentation>
</annotation>
</element>
</choice>
<element name="entered" type="boolean" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Флаг, указывающий на то, вписан ли заявитель в документ законного представителя,
подтверждающий право на пребывание на территории РФ
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="livingDocument">
<complexContent mixed="false">
<annotation>
<documentation>Документ, подтверждающий право проживания ИГ на территории РФ</documentation>
</annotation>
<extension base="umms:document">
<sequence>
<element name="decisionNumber" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер решения о выдаче документа</documentation>
</annotation>
</element>
<element name="decisionDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Дата принятия решения о выдаче документа</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="host">
<annotation>
<documentation>
Тип, описывающий предоставителя жилого помещения - физическое лицо или организацию
(определяется по присутствию элемента organization)
</documentation>
</annotation>
<sequence>
<element name="organization" type="umms:organization" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Если в качестве принимающей стороны выступает организация,
в реквизите указываются сведения о ней
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="hostContactInfo">
<annotation>
<documentation>
Тип, описывающий принимающую сторону - физическое лицо c адресом или организацию
(определяется по присутствию элемента organization)
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="mc:host">
<sequence>
<element name="personDataDocument" type="umms:personDocument">
<annotation>
<documentation>Установочные данные и ДУЛ физ. лица</documentation>
</annotation>
</element>
<element name="contactInfo" type="umms:contactInfo" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Контактная информация ответственного лица: адрес и телефон</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
18.05.2016 Р. Исбаров UMMS-37137:
- изменено название типа person-data-document-correction на personDataDocumentCorrection
- изменен тип элемента personDataDocumentCorrection с person-data-document-correction
на personDataDocumentCorrection
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:correction="http://umms.fms.gov.ru/replication/core/correction"
targetNamespace="http://umms.fms.gov.ru/replication/core/correction">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="personDataDocumentCorrection">
<annotation>
<documentation>Коррекция установочных данных и документа</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:entityBase">
<sequence>
<element name="supplierInfo" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор поставщика, передающего данные в ППО "Территория"
</documentation>
</annotation>
</element>
<element name="employee" type="umms:user" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Оператор, выполнивший коррекцию</documentation>
</annotation>
</element>
<element name="date" type="dateTime" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата коррекции</documentation>
</annotation>
</element>
<element name="reason" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Причина коррекции</documentation>
</annotation>
<simpleType>
<restriction base="umms:string">
<maxLength value="125"/>
</restriction>
</simpleType>
</element>
<element name="personDataDocument" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и документ заявителя</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="decimal" use="required" fixed="1.0"/>
</extension>
</complexContent>
</complexType>
<element name="personDataDocumentCorrection" type="correction:personDataDocumentCorrection">
<annotation>
<documentation>Коррекция установочных данных и документа</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:form5="http://umms.fms.gov.ru/replication/hotel/form5"
targetNamespace="http://umms.fms.gov.ru/replication/hotel/form5">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="form5">
<annotation>
<documentation>Тип, описывающий форму № 5</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="personDataDocument" type="umms:personDocument" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Установочные данные и ДУЛ заявителя</documentation>
</annotation>
</element>
<element name="livingAddress" type="umms:address" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Адрес места жительства</documentation>
</annotation>
</element>
<element name="stayPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Период пребывания/регистрации</documentation>
</annotation>
</element>
<element name="registrationDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата регистрации</documentation>
</annotation>
</element>
<element name="hotelInfo" type="form5:hotelInfo" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Принимающая сторона - гостиница</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="hotelInfo">
<annotation>
<documentation>Тип, описывающий принимающую сторону - гостиницу</documentation>
</annotation>
<sequence>
<element name="organization" type="umms:organization" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Данные гостиницы</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="form5" type="form5:form5">
<annotation>
<documentation>Форма № 5</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,197 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
14.10.2013 Р. Исбаров UMMS-18370:
- добавлен дополнительный элемент requestId в тип hotelResponse
23.09.2014 Я. Савельева UMMS-24568:
- добавлен дополнительный элемент externalCaseId в типы correctResponse и errorResponse, изменено описание
элемента externalSystemId
05.04.2016 Р. Исбаров UMMS-36921:
- изменен тип элемента notificationNumber с umms:string на mig:notificationNumber
05.05.2016 Р. Исбаров UMMS-37706:
- изменен тип элемента fileData в типе xmlFile с xsd:string на xsd:hexBinary
06.05.2016 Р. Исбаров UMMS-37554:
- изменен тип элемента notificationNumber с mig:notificationNumber на umms:migrationNotificationNumber
- добавлен элемент Signature в тип hotelResponse для передачи данных электронной подписи в ответе
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:hotelResponse="http://umms.fms.gov.ru/hotel/hotel-response"
targetNamespace="http://umms.fms.gov.ru/hotel/hotel-response">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
<complexType name="hotelResponse">
<annotation>
<documentation>
Тип, описывающий ответ во внешнюю систему о загрузке данных из гостиничной системы в ППО "Территория"
</documentation>
</annotation>
<sequence>
<element ref="ds:Signature" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Электронная подпись документа</documentation>
</annotation>
</element>
<element name="requestId" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор запроса, по которому сформирован ответ</documentation>
</annotation>
</element>
<element name="entityType" type="hotelResponse:entityType" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Тип загружаемых данных</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="success" type="hotelResponse:correctResponse">
<annotation>
<documentation>Успешная загрузка</documentation>
</annotation>
</element>
<element name="error" type="hotelResponse:errorResponse">
<annotation>
<documentation>Ошибка загрузки дела</documentation>
</annotation>
</element>
</choice>
</sequence>
<attribute name="schemaVersion" type="decimal" use="required" fixed="1.0"/>
</complexType>
<simpleType name="entityType">
<annotation>
<documentation>Тип загружаемых данных</documentation>
</annotation>
<restriction base="umms:string">
<enumeration value="Hotel">
<annotation>
<documentation>Сведения о гостинице</documentation>
</annotation>
</enumeration>
<enumeration value="MigCase">
<annotation>
<documentation>Сведения о постановке на миг. учет в гостинице</documentation>
</annotation>
</enumeration>
<enumeration value="MigCaseEdit">
<annotation>
<documentation>Редактирование сведений о постановке на миг. учет в гостинице</documentation>
</annotation>
</enumeration>
<enumeration value="UnregMigCase">
<annotation>
<documentation>Сведения о снятии с миг. учета в гостинице</documentation>
</annotation>
</enumeration>
<enumeration value="Form5">
<annotation>
<documentation>Форма № 5</documentation>
</annotation>
</enumeration>
<enumeration value="Unknown">
<annotation>
<documentation>Неизвестно, используется при ошибке чтения XML-файла</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<complexType name="correctResponse">
<annotation>
<documentation>
Тип, описывающий ответ во внешнюю систему о корректной загрузке данных из
гостиничной системы в ППО "Территория"
</documentation>
</annotation>
<sequence>
<element name="notificationNumber" type="umms:migrationNotificationNumber" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер уведомления о постановке на учёт по месту пребывания</documentation>
</annotation>
</element>
<element name="externalSystemId" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор внешней системы</documentation>
</annotation>
</element>
<element name="externalCaseId" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор дела во внешней системе</documentation>
</annotation>
</element>
<element name="ummsId" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Уникальный идентификатор дела в системе ППО "Территория"</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="errorResponse">
<annotation>
<documentation>
Тип, описывающий ответ во внешнюю систему об ошибочной загрузке данных из
гостиничной системы в ППО "Территория"
</documentation>
</annotation>
<sequence>
<choice minOccurs="1" maxOccurs="1">
<sequence>
<element name="externalSystemId" type="umms:value">
<annotation>
<documentation>Уникальный идентификатор внешней системы</documentation>
</annotation>
</element>
<element name="externalCaseId" type="umms:value">
<annotation>
<documentation>Уникальный идентификатор дела во внешней системе</documentation>
</annotation>
</element>
</sequence>
<element name="xml" type="hotelResponse:xmlFile">
<annotation>
<documentation>Содержимое необработанного XML-файла</documentation>
</annotation>
</element>
</choice>
<element name="errorMsg" type="umms:value" minOccurs="1" maxOccurs="unbounded">
<annotation>
<documentation>Ошибка загрузки дела</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="xmlFile">
<annotation>
<documentation>Тип, описывающий непрочитанный XML-файл</documentation>
</annotation>
<sequence>
<element name="fileName" type="umms:value" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Имя файла во внешней системе</documentation>
</annotation>
</element>
<element name="fileData" type="xsd:hexBinary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Содержимое необработанного XML-файла</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="response" type="hotelResponse:hotelResponse">
<annotation>
<documentation>Ответ внешней системе</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:hotel="http://umms.fms.gov.ru/replication/hotel"
targetNamespace="http://umms.fms.gov.ru/replication/hotel">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="hotel">
<complexContent mixed="false">
<annotation>
<documentation>Тип, описывающий гостиницу с привязкой к подразделению</documentation>
</annotation>
<extension base="umms:entityBase">
<sequence>
<element name="hotelName" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Название гостиницы</documentation>
</annotation>
</element>
<element name="officialOrgan" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Подразделение ФМС, к которому привязана гостиница</documentation>
</annotation>
</element>
<element name="systemId" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Идентификатор информационной системы, присылающей данные</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="decimal" use="required" fixed="1.0"/>
</extension>
</complexContent>
</complexType>
<element name="hotel" type="hotel:hotel">
<annotation>
<documentation>Гостиница</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
10.09.2014 Я. Савельева UMMS-24331:
- добавлен необязательный элемент arrivalFromPlaceAddress в комплексный тип case-edit
18.05.2016 Р. Исбаров UMMS-37137:
- изменено название типа case-edit на caseEdit
- изменен тип элемента caseEdit с case-edit на caseEdit
- изменен тип элемента declarant с person-data-document-correction на personDataDocumentCorrection
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:mc="http://umms.fms.gov.ru/replication/migration"
xmlns:fcc="http://umms.fms.gov.ru/replication/foreign-citizen-core"
xmlns:mce="http://umms.fms.gov.ru/replication/migration/staying/case-edit"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:cc="http://umms.fms.gov.ru/replication/core/correction"
targetNamespace="http://umms.fms.gov.ru/replication/migration/staying/case-edit">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/core/correction" schemaLocation="core-correction.xsd"/>
<import namespace="http://umms.fms.gov.ru/replication/foreign-citizen-core"/>
<import namespace="http://umms.fms.gov.ru/replication/migration"/>
<complexType name="regCaseEdit">
<annotation>
<documentation>Редактирование дела о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="umms:case">
<sequence>
<element name="declarant" type="cc:personDataDocumentCorrection" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Коррекция установочных данных и документа заявителя</documentation>
</annotation>
</element>
<element name="docResidence" type="mc:confirmingDocument" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Документ, подтверждающий право на пребывание или проживание в РФ
</documentation>
</annotation>
</element>
<element name="migrationCard" type="fcc:migrationCard" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Миграционная карта</documentation>
</annotation>
</element>
<element name="profession" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Профессия ИГ</documentation>
</annotation>
</element>
<!-- VisitPurpose (ru.gov.fms.umms.domain.dictionary.migration.VisitPurpose) -->
<element name="entrancePurpose" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Цель въезда (значение из справочника "Цель въезда")</documentation>
</annotation>
</element>
<element name="stayPeriod" type="umms:period" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Период пребывания/регистрации</documentation>
</annotation>
</element>
<element name="notificationReceived" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата приема уведомления</documentation>
</annotation>
</element>
<element name="arrivalFromPlaceAddress" type="umms:russianAddress" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Откуда прибыл (адрес прежнего места пребывания в России;
отсутствует, если первично прибыл)
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="caseEdit" type="mce:regCaseEdit">
<annotation>
<documentation>Редактирование дела о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.06.2013 А. Мазур UMMS-16200:
- изменены названия корневых элементов с unregCase на case (стандартное имя)
08.08.2013 Р. Исбаров UMMS-17269:
- изменен тип элемента unregDate для передачи времени снятия с учета
21.01.2016 Р. Исбаров UMMS-34895:
- в комплексном типе unregCase заменен элемент case на regCaseUid
05.04.2016 Р. Исбаров UMMS-36921:
- добавлен элемент notificationNumber в комплексный тип unregCase
10.05.2016 Р. Исбаров UMMS-37554:
- изменен тип элемента notificationNumber с mig:notificationNumber на umms:migrationNotificationNumber
18.05.2016 Р. Исбаров UMMS-37137:
- содержимое типа unregCase вынесено в отдельный тип stayingUnregCase и перенесено в схему migration.xsd
- добавлен тип unregCase, расширяющий mc:stayingUnregCase
- изменен тип элемента case с unregStay:unregCase на msu:unregCase
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:mc="http://umms.fms.gov.ru/replication/migration"
xmlns:msu="http://umms.fms.gov.ru/replication/migration/staying/unreg"
targetNamespace="http://umms.fms.gov.ru/replication/migration/staying/unreg">
<import namespace="http://umms.fms.gov.ru/replication/migration"/>
<complexType name="unregCase">
<annotation>
<documentation>Дело о снятии с миграционного учета по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="mc:stayingUnregCase"/>
</complexContent>
</complexType>
<element name="case" type="msu:unregCase">
<annotation>
<documentation>Дело о снятии с миграционного учета по месту пребывания</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
История изменений:
20.05.2015 Р. Исбаров UMMS-27767:
- изменено описание элемента stateProgramMember типа case
08.12.2015 Р. Исбаров UMMS-31900:
- изменен код справочника для элемента stateProgramMember в комплексном типе case
16.02.2015 Р. Исбаров UMMS-35389:
- добавлен элемент prolongationReason в тип case
- удален элемент firstArrival из типа case
05.04.2016 Р. Исбаров UMMS-36921:
- изменен тип элемента notificationNumber с umms:string на mig:notificationNumber
10.05.2016 Р. Исбаров UMMS-37554:
- изменен тип элемента notificationNumber с mig:notificationNumber на umms:migrationNotificationNumber
18.05.2016 Р. Исбаров UMMS-37137:
- тип hostContactInfo перенесен в схему migration.xsd
- содержимое типа case, за исключением элемента notificationNumber,вынесено в отдельный тип stayingRegCase и
перенесено в схему migration.xsd
- добавлен тип regCase, расширяющий mc:stayingRegCase
- изменен тип элемента case с stay:case на msr:regCase
-->
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:mc="http://umms.fms.gov.ru/replication/migration"
xmlns:msr="http://umms.fms.gov.ru/replication/migration/staying"
targetNamespace="http://umms.fms.gov.ru/replication/migration/staying">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<import namespace="http://umms.fms.gov.ru/replication/migration"/>
<complexType name="regCase">
<annotation>
<documentation>Дело о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
<complexContent mixed="false">
<extension base="mc:stayingRegCase">
<sequence>
<element name="notificationNumber" type="umms:migrationNotificationNumber" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>Номер уведомления о постановке на учёт по месту пребывания</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="case" type="msr:regCase">
<annotation>
<documentation>Дело о постановке на миграционный учет по месту пребывания</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<schema elementFormDefault="qualified"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:mqe="http://umms.fms.gov.ru/integration/mq/error"
targetNamespace="http://umms.fms.gov.ru/integration/mq/error">
<complexType name="messageIntegrityError">
<annotation>
<documentation>
Ошибка, возвращаемая во внешнюю систему в случае отсутствия у обрабатываемого сообщения
необходимых заголовков.
</documentation>
</annotation>
<sequence>
<element name="description" type="xsd:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Описание ошибки</documentation>
</annotation>
</element>
<element name="body" type="xsd:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Содержимое сообщения, в процессе обработки которого возникла ошибка</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="decimal" use="required" fixed="1.0"/>
</complexType>
<complexType name="messageProcessFatalError">
<annotation>
<documentation>
Ошибка, возвращаемая во внешнюю систему в случае возникновения в ППО "Территория" фатальных,
непредвиденных ошибок обработки входящий сообщений.
</documentation>
</annotation>
<sequence>
<element name="description" type="xsd:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Описание ошибки</documentation>
</annotation>
</element>
<element name="body" type="xsd:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Содержимое сообщения, в процессе обработки которого возникла ошибка</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="decimal" use="required" fixed="1.0"/>
</complexType>
<element name="messageIntegrityError" type="mqe:messageIntegrityError">
<annotation>
<documentation>
Ошибка, возвращаемая во внешнюю систему в случае отсутствия у обрабатываемого сообщения
необходимых заголовков.
</documentation>
</annotation>
</element>
<element name="messageProcessFatalError" type="mqe:messageProcessFatalError">
<annotation>
<documentation>
Ошибка, возвращаемая во внешнюю систему в случае возникновения в ППО "Территория" фатальных,
непредвиденных ошибок обработки входящий сообщений.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/notice/create"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/notice/create"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentCreateNotice">
<annotation>
<documentation>
Уведомление о создании дела о выдаче патента на основе заявления.
</documentation>
</annotation>
<sequence>
<element name="externalSystemId" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор внешней системы, из которой было получено заявление о
выдаче патента и в которую передается уведомление о создании дела.
</documentation>
</annotation>
</element>
<element name="externalCaseNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор дела во внешней системе.
</documentation>
</annotation>
</element>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentCreateNotice" type="notice:patentCreateNotice">
<annotation>
<documentation>
Уведомление о создании дела о выдаче патента на основе заявления.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,180 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/notice/decision"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/notice/decision"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentDecisionNotice">
<annotation>
<documentation>
Уведомление о принятии решения по делу о выдаче патента.
</documentation>
</annotation>
<sequence>
<element name="externalSystemId" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор внешней системы, из которой было получено заявление о
выдаче патента и в которую передается уведомление о принятии решения по делу.
</documentation>
</annotation>
</element>
<element name="externalCaseNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор дела во внешней системе.
</documentation>
</annotation>
</element>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
<choice minOccurs="1" maxOccurs="1">
<element name="agreement" type="notice:agreement" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Решение о выдаче патента.
</documentation>
</annotation>
</element>
<element name="rejection" type="notice:rejection" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Отказ в выдаче патента.
</documentation>
</annotation>
</element>
</choice>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<complexType name="decision" abstract="true">
<annotation>
<documentation>
Базовые данные принятого решения по делу о выдаче патента.
</documentation>
</annotation>
<sequence>
<element name="decisionDate" type="date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Дата принятия решения.
</documentation>
</annotation>
</element>
<element name="decisionComment" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Комментарий к принятому решению.
</documentation>
</annotation>
</element>
<element name="employee" type="notice:employee" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Сотрудник территориального подразделения ФМС, принявший решение по делу о выдаче патента.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="agreement">
<annotation>
<documentation>
Решение о выдаче патента.
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="notice:decision">
<sequence>
<element name="inn" type="umms:inn_p" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
ИНН физического лица.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="rejection">
<annotation>
<documentation>
Отказ в выдаче патента.
</documentation>
</annotation>
<complexContent mixed="false">
<extension base="notice:decision">
<sequence>
<!-- ru.gov.fms.umms.domain.dictionary.labormigration.PatentDecisionBasis -->
<!-- Lm.PatentDecisionType.rejectReason -->
<element name="reason" type="umms:dictionary" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Причина отказа.
</documentation>
</annotation>
</element>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="employee">
<annotation>
<documentation>
Сотрудник территориального подразделения ФМС, принявший решение по делу о выдаче патента.
</documentation>
</annotation>
<sequence>
<element name="fullName" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
ФИО сотрудника.
</documentation>
</annotation>
</element>
<element name="departmentCode" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Код территориального подразделения ФМС.
</documentation>
</annotation>
</element>
<element name="departmentName" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Наименование территориального подразделения ФМС.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
<element name="patentDecisionNotice" type="notice:patentDecisionNotice">
<annotation>
<documentation>
Уведомление о принятии решения по делу о выдаче патента.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/notice/inn"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/notice/inn"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentInnNotice">
<annotation>
<documentation>
Уведомление о присвоении ИНН заявителю, в рамках дела о выдаче патента.
</documentation>
</annotation>
<sequence>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="innData" type="umms:innData" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Сведения о ИНН присвоенному заявителю.
</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentInnNotice" type="notice:patentInnNotice">
<annotation>
<documentation>
Уведомление о присвоении ИНН заявителю, в рамках дела о выдаче патента.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/notice/issued/response"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/notice/issued/response"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentIssuedNoticeResponse">
<annotation>
<documentation>
Ответ на уведомление о факте выдачи патента (по одному или нескольким делам).
</documentation>
</annotation>
<sequence>
<element name="patentIssuedStatus" minOccurs="1" maxOccurs="100">
<complexType>
<annotation>
<documentation>
Квитанция об обработке уведомления о факте выдаче патента.
</documentation>
</annotation>
<sequence>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="issuedStatus" type="xsd:boolean" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Статус обработки запроса:
- true, факт выдаче патента успешно закреплен в ППО "Территория";
- false, ошибка при фиксации факта выдачи патента в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="errorMessage" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Сообщение об ошибке, при отрицательном статусе.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentIssuedNoticeResponse" type="notice:patentIssuedNoticeResponse">
<annotation>
<documentation>
Уведомление в ППО "Территория" о факте выдачи патента (по одному или нескольим делам).
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/notice/issued"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/notice/issued"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentIssuedNotice">
<annotation>
<documentation>
Уведомление в ППО "Территория" о факте выдачи патента (по одному или нескольким делам).
</documentation>
</annotation>
<sequence>
<element name="issuedData" minOccurs="1" maxOccurs="100">
<complexType>
<annotation>
<documentation>Сведения о выдаче патента</documentation>
</annotation>
<sequence>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="issuedDate" type="xsd:date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Дата фактической выдачи патента.
</documentation>
</annotation>
</element>
<element name="ndflInvoiceData" minOccurs="0" maxOccurs="1">
<complexType>
<annotation>
<documentation>Сведения о платежном поручении на оплату НДФЛ</documentation>
</annotation>
<sequence>
<element name="ndflInvoiceNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Номер платежного поручения на оплату НДФЛ</documentation>
</annotation>
</element>
<element name="ndflInvoiceDate" type="xsd:date" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Дата платежного поручения на оплату НДФЛ</documentation>
</annotation>
</element>
<element name="ndflInvoiceSum" type="xsd:decimal" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>Оплаченная сумма</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentIssuedNotice" type="notice:patentIssuedNotice">
<annotation>
<documentation>
Уведомление в ППО "Территория" о факте выдачи патента (по одному или нескольким делам).
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:status="http://umms.fms.gov.ru/integration/labormigration/patent/payment/request"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/payment/request"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentPaymentRequest">
<annotation>
<documentation>
Запрос статуса оплаты по одному или нескольким патентам.
</documentation>
</annotation>
<sequence>
<element name="patentDocument" minOccurs="1" maxOccurs="100">
<complexType>
<annotation>
<documentation>
Данные патента, по которому запрашивается информация об оплате.
</documentation>
</annotation>
<sequence>
<element name="documentSeries" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Серия патента.
</documentation>
</annotation>
</element>
<element name="documentNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Номер патента.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentPaymentRequest" type="status:patentPaymentRequest">
<annotation>
<documentation>
Запрос статуса оплаты по одному или нескольким патентам.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/payment/response"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/payment/response"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentPaymentResponse">
<annotation>
<documentation>
Ответ на запрос по статусу оплаты патентов.
</documentation>
</annotation>
<sequence>
<element name="patentPaymentStatus" minOccurs="1" maxOccurs="100">
<complexType>
<annotation>
<documentation>
Данные об оплате патента в ППО "Территория".
</documentation>
</annotation>
<sequence>
<element name="documentSeries" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Серия патента.
</documentation>
</annotation>
</element>
<element name="documentNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Номер патента.
</documentation>
</annotation>
</element>
<element name="paymentSum" type="xsd:decimal" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Сведения об оплате патента в ППО "Территория".
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentPaymentResponse" type="notice:patentPaymentResponse">
<annotation>
<documentation>
Ответ на запрос по статусу оплаты патентов.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/notice/ready"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/notice/ready"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentReadyNotice">
<annotation>
<documentation>
Уведомление о готовности патента к выдаче.
</documentation>
</annotation>
<sequence>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="ummsDocumentData" type="umms:document" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Сведения о патенте, готовом к выдаче в ППО "Территория".
</documentation>
</annotation>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentReadyNotice" type="notice:patentReadyNotice">
<annotation>
<documentation>
Уведомление о готовности патента к выдаче.
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:status="http://umms.fms.gov.ru/integration/labormigration/patent/status/request"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/status/request"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentStatusRequest">
<annotation>
<documentation>
Запрос актуального состояния статуса обработки заявлений и дел на выдачу патента в ППО "Территория".
</documentation>
</annotation>
<sequence>
<element name="patentApplicationIdentifier" minOccurs="1" maxOccurs="100">
<complexType>
<annotation>
<documentation>
Данные заявлений, либо дел по которым запрашивается статус.
</documentation>
</annotation>
<sequence>
<choice minOccurs="1" maxOccurs="1">
<element name="externalIdentifier" minOccurs="1" maxOccurs="1">
<complexType>
<annotation>
<documentation>
Данные заявления во внешней системе.
</documentation>
</annotation>
<sequence>
<element name="externalSystemId" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор внешней системы, из которой было получено
заявление о выдаче патента и в которую передается уведомление
о создании дела.
</documentation>
</annotation>
</element>
<element name="externalCaseNumber" type="umms:string"
minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор дела во внешней системе.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
</choice>
</sequence>
</complexType>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentStatusRequest" type="status:patentStatusRequest">
<annotation>
<documentation>
Запрос актуального состояния статуса обработки заявлений и дел на выдачу патента в ППО "Территория".
</documentation>
</annotation>
</element>
</schema>

View File

@ -0,0 +1,148 @@
<?xml version="1.0" encoding="utf-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:umms="http://umms.fms.gov.ru/replication/core"
xmlns:notice="http://umms.fms.gov.ru/integration/labormigration/patent/status/response"
targetNamespace="http://umms.fms.gov.ru/integration/labormigration/patent/status/response"
elementFormDefault="qualified">
<import namespace="http://umms.fms.gov.ru/replication/core"/>
<complexType name="patentStatusResponse">
<annotation>
<documentation>
Ответ на запрос по актуальному статусу обработки заявлений и дел в ППО "Территория".
</documentation>
</annotation>
<sequence>
<element name="patentCaseStatus" minOccurs="1" maxOccurs="100">
<complexType>
<annotation>
<documentation>
Статус обработки заявления и/или дела, если дело уже создано в ППО "Территория".
</documentation>
</annotation>
<sequence>
<element name="application" minOccurs="0" maxOccurs="1">
<complexType>
<annotation>
<documentation>
Данные о статусе обработки заявления.
</documentation>
</annotation>
<sequence>
<element name="externalSystemId" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор внешней системы, из которой было получено
заявление о
выдаче патента и в которую передается уведомление о создании дела.
</documentation>
</annotation>
</element>
<element name="externalCaseNumber" type="umms:string" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Уникальный идентификатор дела во внешней системе.
</documentation>
</annotation>
</element>
<element name="status" minOccurs="1" maxOccurs="1">
<simpleType>
<annotation>
<documentation>
Статус обработки заявления о выдаче патента.
</documentation>
</annotation>
<restriction base="umms:string">
<enumeration value="Unknown">
<annotation>
<documentation>
Нет данных об указанном заявлении.
</documentation>
</annotation>
</enumeration>
<enumeration value="Received">
<annotation>
<documentation>
Заявление принято, но еще не обработано.
</documentation>
</annotation>
</enumeration>
<enumeration value="Processed">
<annotation>
<documentation>
Заявление обработано.
</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
</element>
<element name="statusDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Дата принятия заявления, либо его обработки в ППО "Территория".
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
<element name="case" minOccurs="0" maxOccurs="1">
<complexType>
<annotation>
<documentation>Данные о статусе дела в ППО "Территория" (если дело уже создано)</documentation>
</annotation>
<sequence>
<element name="ummsCaseNumber" type="umms:systemCaseId" minOccurs="1" maxOccurs="1">
<annotation>
<documentation>
Системный номер дела в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="ummsCaseStatus" type="umms:dictionary" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Статус оказания услуги по делу в ППО "Территория".
</documentation>
</annotation>
</element>
<element name="ummsStatusDate" type="date" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Дата установки текущего статуска оказания услуги по делу в ППО
"Территория".
</documentation>
</annotation>
</element>
<element name="errorMessage" type="umms:string" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
Описание ошибки, если она возникла при обработке запроса о статусе дела.
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
</sequence>
<attribute name="schemaVersion" type="xsd:decimal" use="required" fixed="1.0"/>
</complexType>
<element name="patentStatusResponse" type="notice:patentStatusResponse">
<annotation>
<documentation>
Ответ на запрос по актуальному статусу обработки заявлений и дел в ППО "Территория".
</documentation>
</annotation>
</element>
</schema>

2
ummsschemas.iml Normal file
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4" />