Документ не вступил в силу. Подробнее см. Справку

Приложение N 3

к Правилам электронного обмена

сообщениями и связанными с ними файлами

с использованием интегрированной

информационной системы Евразийского

экономического союза

СХЕМА ДАННЫХ МЕТАИНФОРМАЦИИ СИСТЕМЫ ПЕРЕДАЧИ ДАННЫХ

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

xmlns:mtd="urn:EEC:M:Metadata:v1.0.0"

targetNamespace="urn:EEC:M:Metadata:v1.0.0"

elementFormDefault="qualified"

version="1.0.0">

<xs:element name="Attachments">

<xs:annotation>

<xs:documentation>Связанные с сообщением

файлы</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element ref="mtd:Attachment" minOccurs="1"

maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Attachment" type="mtd:AttachmentType">

<xs:annotation>

<xs:documentation>Метаданные

файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:complexType name="AttachmentType">

<xs:annotation>

<xs:documentation>Тип, описывающий метаданные

файла</xs:documentation>

</xs:annotation>

<xs:sequence>

<xs:element name="FileID" type="xs:string"

minOccurs="1">

<xs:annotation>

<xs:documentation>Уникальный идентификатор

файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="FileName" type="xs:string"

minOccurs="1">

<xs:annotation>

<xs:documentation>Оригинальное имя

файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Hash" type="xs:string"

minOccurs="1">

<xs:annotation>

<xs:documentation>Хеш-сумма

файла</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="Size" type="xs:integer"

minOccurs="1">

<xs:annotation>

<xs:documentation>Размер файла в

байтах</xs:documentation>

</xs:annotation>

</xs:element>

<xs:element name="AdditionalData" minOccurs="0">

<xs:annotation>

<xs:documentation>Блок дополнительных

сведений о файле в формате XML</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:any namespace="##any"

processContents="lax" maxOccurs="unbounded"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:schema>