Files
public/rsbu_fns_reporting/data/schemas/efs1/ТипыПУ_2017-10-08.xsd

78 lines
4.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema version="2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://пф.рф/ПУ/типы/2017-10-08" xmlns:УТ2="http://пф.рф/УТ/2017-08-21" xmlns:АФ4="http://пф.рф/АФ/2017-08-21" targetNamespace="http://пф.рф/ПУ/типы/2017-10-08" elementFormDefault="qualified">
<xs:import namespace="http://пф.рф/УТ/2017-08-21" schemaLocation="УнифТипы_2017-08-21.xsd" />
<xs:import namespace="http://пф.рф/АФ/2017-08-21" schemaLocation="ТипыАФ_2017-08-21.xsd" />
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig_core_schema.xsd" />
<!-- Данный тип при разработке новых проектов форматов не использовать, использовать УТ2:ТипРеквизитыДокумента -->
<xs:complexType name="ТипРеквизитыДокументаСПУ">
<xs:annotation>
<xs:documentation>Системный номер, дата приема</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="СистемныйНомер" type="УТ2:ТипНепустаяСтрока">
<xs:annotation>
<xs:documentation>Системный номер документа</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ДатаПриема" type="xs:date">
<xs:annotation>
<xs:documentation>Дата приема документа</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ТипПериодКалендарный">
<xs:annotation>
<xs:documentation>Тип для представления сведений о выработке в годах, месяцах и днях</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:group ref="ГрПериодКалендарный">
<xs:annotation>
<xs:documentation>Сведения о выработке в годах, месяцах и днях</xs:documentation>
</xs:annotation>
</xs:group>
</xs:sequence>
</xs:complexType>
<xs:element name="Стаж" type="ТипПериодКалендарный">
<xs:annotation>
<xs:documentation>Сведения о стаже в годах, месяцах и днях</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group name="ГрПериодКалендарный">
<xs:annotation>
<xs:documentation>Группа элементов со сведениями о выработке в годах, месяцах и днях</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ВсеГоды" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation>Количество лет</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ВсеМесяцы" type="УТ2:ТипКоличествоМесяцев" minOccurs="0">
<xs:annotation>
<xs:documentation>Количество месяцев</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ВсеДни" type="УТ2:ТипКоличествоДней" minOccurs="0">
<xs:annotation>
<xs:documentation>Количество дней</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:simpleType name="ТипИПК">
<xs:annotation>
<xs:documentation>Тип для величины индивидуального пенсионного коэффициента (ИПК). В случае дробных чисел значение должно округляться до трех знаков после запятой</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="3" />
<xs:pattern value="\d+\.\d{3}" />
</xs:restriction>
</xs:simpleType>
<xs:element name="ИПК" type="ТипИПК">
<xs:annotation>
<xs:documentation>Индивидуальный пенсионный коэффициент (ИПК). В случае дробных чисел значение должно округляться до трех знаков после запятой</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>