>
xs:annotation>
xs:element>
<xs:element name="Issuer" type="tns:rus-and-num-200">
<xs:annotation>
<xs:documentation>Кем выданxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:complexType>
<xs:complexType name="SovietPassportType">
<xs:annotation>
<xs:documentation>Паспорт CCCP или свидетельство о рождении РФ.xs:documentation>
xs:annotation>
<xs:sequence>
<xs:element name="Series" type="tns:SovietStyleDocumentSeriesType">
<xs:annotation>
<xs:documentation>Серияxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Number" type="tns:digits-6">
<xs:annotation>
<xs:documentation>Номерxs:documentation>
xs:annotation>
xs:element>
<xs:element name="IssueDate" type="xs:date">
<xs:annotation>
<xs:documentation>Дата выдачиxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Issuer" type="tns:rus-and-num-200">
<xs:annotation>
<xs:documentation>Кем выданxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:complexType>
<xs:complexType name="InternationalPassportRFType">
<xs:annotation>
<xs:documentation>Загранпаспорт, либо вид на жительство в РФ.xs:documentation>
xs:annotation>
<xs:sequence>
<xs:element name="Series" type="tns:digits-2">
<xs:annotation>
<xs:documentation>Серияxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Number" type="tns:digits-7">
<xs:annotation>
<xs:documentation>Номерxs:documentation>
xs:annotation>
xs:element>
<xs:element name="IssueDate" type="xs:date">
<xs:annotation>
<xs:documentation>Дата выдачиxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Issuer" type="tns:rus-and-num-200">
<xs:annotation>
<xs:documentation>Кем выданxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:complexType>
<xs:complexType name="MilitaryPassportDocumentType">
<xs:annotation>
<xs:documentation>Военный билет или паспорт морякаxs:documentation>
xs:annotation>
<xs:sequence>
<xs:element name="Series">
<xs:annotation>
<xs:documentation>Серияxs:documentation>
xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="2"/>
<xs:pattern value="[А-Я]{2}"/>
xs:restriction>
xs:simpleType>
xs:element>
<xs:element name="Number" type="tns:digits-7">
<xs:annotation>
<xs:documentation>Номерxs:documentation>
xs:annotation>
xs:element>
<xs:element name="IssueDate" type="xs:date">
<xs:annotation>
<xs:documentation>Дата выдачиxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Issuer" type="tns:rus-and-num-200">
<xs:annotation>
<xs:documentation>Кем выданxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:complexType>
<xs:complexType name="DrivingLicenseRFType">
<xs:annotation>
<xs:documentation>Водительское удостоверение, выданное в РФxs:documentation>
xs:annotation>
<xs:sequence>
<xs:element name="Series">
<xs:annotation>
<xs:documentation>
Серия.
Две цифры и две русские заглавные буквы для водительского удостоверения, полученного до 1 марта 2011 г.,
или четыре цифры для водительского удостоверения, полученного после 1 марта 2011 г. Пример: 44АА или 4403
xs:documentation>
xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="4"/>
<xs:pattern value="[0-9]{2}([0-9]{2})|([А-Я]{2})"/>
xs:restriction>
xs:simpleType>
xs:element>
<xs:element name="Number" type="tns:digits-6">
<xs:annotation>
<xs:documentation>Номерxs:documentation>
xs:annotation>
xs:element>
<xs:element name="IssueDate" type="xs:date">
<xs:annotation>
<xs:documentation>Дата выдачиxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Issuer" type="tns:rus-and-num-200">
<xs:annotation>
<xs:documentation>Кем выданxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:complexType>
========================================== Заготовки для структурированных типов ==========================================-->
<xs:group name="PhysicalPersonQualifiedName-ModelGroup">
<xs:annotation>
<xs:documentation>ФИО физического лица.xs:documentation>
xs:annotation>
<xs:sequence>
<xs:element name="FamilyName" type="tns:rus-100">
<xs:annotation>
<xs:documentation>Фамилияxs:documentation>
xs:annotation>
xs:element>
<xs:element name="FirstName" type="tns:rus-100">
<xs:annotation>
<xs:documentation>Имяxs:documentation>
xs:annotation>
xs:element>
<xs:element name="Patronymic" type="tns:rus-100" minOccurs="0">
<xs:annotation>
<xs:documentation>Отчествоxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:group>
<xs:group name="PhysicalPersonIdentificationInformation-ModelGroup">
<xs:annotation>
<xs:documentation>Установочные данные физического лица: ФИО + дата и место рождения.xs:documentation>
xs:annotation>
<xs:sequence>
<xs:group ref="tns:PhysicalPersonQualifiedName-ModelGroup"/>
<xs:element name="BirthDate" type="xs:date">
<xs:annotation>
<xs:documentation>Дата рожденияxs:documentation>
xs:annotation>
xs:element>
<xs:element name="BirthPlace" type="tns:rus-and-num-500">
<xs:annotation>
<xs:documentation>Место рожденияxs:documentation>
xs:annotation>
xs:element>
xs:sequence>
xs:group>
========================================== Простые типы ==========================================-->
<xs:simpleType name="RFC2046MimeTypesType">
<xs:annotation>
<xs:documentation>Типы вложений, в формате RFC-2046.xs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="(text|image|audio|video|application)/[a-zA-Z0-9\-+.]*"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="PostalCodeRFType">
<xs:annotation>
<xs:documentation>
Почтовый индекс, РФ.
Намеренно указаны одновременно и length и pattern, чтобы облегчить JavaScript коду валидацию "на лету".
xs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="6"/>
<xs:pattern value="\d{6}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="PhoneNumberRFType">
<xs:annotation>
<xs:documentation>Номер телефона в РФ, в десятизначном форматеxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
<xs:pattern value="\d{10}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="EmailAddressType">
<xs:annotation>
<xs:documentation>Адрес электронной почтыxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
<xs:pattern value="[0-9a-zA-Z_.\-]{2,50}[@]{1}[0-9a-zA-Z_./-]{2,50}[.]{1}[a-zA-Z]{2,5}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="LegalPersonINNType">
<xs:annotation>
<xs:documentation>ИНН юридического лицаxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="10"/>
<xs:pattern value="\d{10}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="PhysicalPersonINNType">
<xs:annotation>
<xs:documentation>ИНН физического лицаxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="12"/>
<xs:pattern value="\d{12}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="SNILSType">
<xs:annotation>
<xs:documentation>СНИЛСxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="11"/>
<xs:pattern value="\d{11}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="KPPType">
<xs:annotation>
<xs:documentation>КППxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="9"/>
<xs:pattern value="\d{9}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="OGRNCompanyType">
<xs:annotation>
<xs:documentation>ОГРН юридического лицаxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="13"/>
<xs:pattern value="[125]{1}\d{12}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="OGRNSoleProprietorType">
<xs:annotation>
<xs:documentation>ОГРН индивидуального предпринимателяxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="15"/>
<xs:pattern value="[3]{1}\d{14}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="CadastralNumberType">
<xs:annotation>
<xs:documentation>Кадастровый номер земельного участкаxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="40"/>
<xs:pattern value="\d{2}:\d{2}:\d{6,7}:\d{1,}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="OKATOType">
<xs:annotation>
<xs:documentation>Код ОКАТОxs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="11"/>
<xs:pattern value="\d{1,11}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="GenderType">
<xs:annotation>
<xs:documentation>Пол.xs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Male"/>
<xs:enumeration value="Female"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="SovietStyleDocumentSeriesType">
<xs:annotation>
<xs:documentation>Серии документов, таких как свидетельства о рождении, советские паспорта, и т.д: римская цифра, тире, две прописные буквы кириллицы.xs:documentation>
xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="6"/>
<xs:pattern value="[IVXLCDM]{1,3}[\-][А-Я]{2}"/>
xs:restriction>
xs:simpleType>
<xs:simpleType name="digits-7">
Строка, состоящая из семи цифр. Например номер загранпаспорта.
Строка, состоящая из шести цифр. Например номер паспорта РФ.
Строка, состоящая из четырёх цифр. Например серия паспорта РФ.
Строка, состоящая из двух цифр. Например серия загранпаспорта.
Русский текст. Допускаются также пробелы, цифры, точки, запятые, тире, апострофы.
Русский текст, длиной до 500 символов.
Русский текст, длиной до 200 символов.
Русский текст, длиной до 100 символов.
Русский текст, длиной до 50 символов.
Русский текст. Допускаются также пробелы, точки, запятые, тире, апострофы. Цифры не допускаются.
Русский текст, длиной до 500 символов, цифры не допускаются.
Русский текст, длиной до 200 символов, цифры не допускаются.
Русский текст, длиной до 100 символов, цифры не допускаются.
Русский текст, длиной до 50 символов, цифры не допускаются.
|
|