CarrierNotice.xsd — различия между версиями
Материал из Фабиус wiki
Hisava (обсуждение | вклад) (Новая страница: «<?xml version="1.0" encoding="utf-8"?> <xs:schema version="1.0" xmlns:ns="http://fsrar.ru/WEGAIS/CarrierNotice" targetNamespace="http://fsra…») |
Hisava (обсуждение | вклад) м |
||
| Строка 1: | Строка 1: | ||
| − | <?xml version="1.0" encoding="utf-8"?> | + | <?xml version = "1.0" encoding = "utf-8"?> |
| − | <xs:schema version="1.0" | + | <xs:schema version = "1.0" |
| − | xmlns:ns="http://fsrar.ru/WEGAIS/CarrierNotice" | + | xmlns:ns = "http://fsrar.ru/WEGAIS/CarrierNotice" |
| − | targetNamespace="http://fsrar.ru/WEGAIS/CarrierNotice" | + | targetNamespace = "http://fsrar.ru/WEGAIS/CarrierNotice" |
| − | xmlns:xs="http://www.w3.org/2001/XMLSchema" | + | xmlns:xs = "http://www.w3.org/2001/XMLSchema" |
| − | elementFormDefault="qualified" | + | elementFormDefault = "qualified" |
| − | attributeFormDefault="unqualified" | + | attributeFormDefault = "unqualified" |
| − | xmlns:c="http://fsrar.ru/WEGAIS/Common" | + | xmlns:c = "http://fsrar.ru/WEGAIS/Common" |
| − | xmlns:ce="http://fsrar.ru/WEGAIS/CommonEnum" | + | xmlns:ce = "http://fsrar.ru/WEGAIS/CommonEnum" |
| − | xmlns:oref="http://fsrar.ru/WEGAIS/ClientRef_v2" | + | xmlns:oref = "http://fsrar.ru/WEGAIS/ClientRef_v2" |
| − | xmlns:pref="http://fsrar.ru/WEGAIS/ProductRef_v2" | + | xmlns:pref = "http://fsrar.ru/WEGAIS/ProductRef_v2" |
> | > | ||
| − | <xs:import namespace="http://fsrar.ru/WEGAIS/Common" schemaLocation="EGCommon.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/> |
| − | <xs:import namespace="http://fsrar.ru/WEGAIS/CommonEnum" schemaLocation="EGCommonEnum.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonEnum" schemaLocation = "EGCommonEnum.xsd"/> |
| − | <xs:import namespace="http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation="ClientRef_v2.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/> |
| − | <xs:import namespace="http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation="ProductRef_v2.xsd"/> | + | <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation = "ProductRef_v2.xsd"/> |
| − | <xs:complexType name="CarrierNotice"> | + | <xs:complexType name = "CarrierNotice"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Уведомление о перевозке</xs:documentation> | <xs:documentation>Уведомление о перевозке</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:sequence> | <xs:sequence> | ||
| − | <xs:element name="Header"> | + | <xs:element name = "Header"> |
<xs:complexType> | <xs:complexType> | ||
<xs:all> | <xs:all> | ||
| − | <xs:element name="ClientIdentity" type="c:IdentityType" nillable="false" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "ClientIdentity" type = "c:IdentityType" nillable = "false" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Идентификатор отчета (клиентский, к заполнению необязательный)</xs:documentation> | <xs:documentation>Идентификатор отчета (клиентский, к заполнению необязательный)</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Serial" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "Serial" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Серия документа(вводится оператором)(не обязательное поле)</xs:documentation> | <xs:documentation>Серия документа(вводится оператором)(не обязательное поле)</xs:documentation> | ||
| Строка 37: | Строка 37: | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Shipper" type="oref:OrgInfo_v2" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Shipper" type = "oref:OrgInfo_v2" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Отправитель</xs:documentation> | <xs:documentation>Отправитель</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Consignee" type="oref:OrgInfo_v2" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Consignee" type = "oref:OrgInfo_v2" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Получатель</xs:documentation> | <xs:documentation>Получатель</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Carrier" type="oref:OrgInfoRus_v2" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Carrier" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Грузоперевозчик</xs:documentation> | <xs:documentation>Грузоперевозчик</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="ClientTransport" type="oref:OrgInfoRus_v2" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ClientTransport" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Транспортное средство</xs:documentation> | <xs:documentation>Транспортное средство</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="ShipmentOutDate" type="c:DateNoTime" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ShipmentOutDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата отпуска груза</xs:documentation> | <xs:documentation>Дата отпуска груза</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="ShipmentInDate" type="c:DateNoTime" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "ShipmentInDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата получения груза</xs:documentation> | <xs:documentation>Дата получения груза</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="EGAISFixNumberTTN" type="c:NoEmptyString50" minOccurs="0" maxOccurs="1"> | + | <xs:element name = "EGAISFixNumberTTN" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер подтверждения о фиксации сведеий об отгрузке(Желательно, не обязательно)</xs:documentation> | <xs:documentation>Номер подтверждения о фиксации сведеий об отгрузке(Желательно, не обязательно)</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="NotifNumber" type="c:NoEmptyString50" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "NotifNumber" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Номер документа</xs:documentation> | <xs:documentation>Номер документа</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="NotifDate" type="c:DateNoTime" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "NotifDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Дата составления</xs:documentation> | <xs:documentation>Дата составления</xs:documentation> | ||
| Строка 85: | Строка 85: | ||
</xs:complexType> | </xs:complexType> | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Content"> | + | <xs:element name = "Content"> |
<xs:complexType> | <xs:complexType> | ||
<xs:sequence> | <xs:sequence> | ||
| − | <xs:element name="Position" type="ns:PositionType" minOccurs="1" maxOccurs="unbounded"> | + | <xs:element name = "Position" type = "ns:PositionType" minOccurs = "1" maxOccurs = "unbounded"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Содержимое уведомления должно содержать 1 и более позиций</xs:documentation> | <xs:documentation>Содержимое уведомления должно содержать 1 и более позиций</xs:documentation> | ||
| Строка 96: | Строка 96: | ||
</xs:complexType> | </xs:complexType> | ||
| − | <xs:unique name="PosUn"> | + | <xs:unique name = "PosUn"> |
| − | <xs:selector xpath="ns:Position"/> | + | <xs:selector xpath = "ns:Position"/> |
| − | <xs:field xpath="ns: | + | <xs:field xpath = "ns:PosIdentity"/> |
</xs:unique> | </xs:unique> | ||
</xs:element> | </xs:element> | ||
| Строка 105: | Строка 105: | ||
</xs:complexType> | </xs:complexType> | ||
| − | <xs:complexType name="PositionType"> | + | <xs:complexType name = "PositionType"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Позиция</xs:documentation> | <xs:documentation>Позиция</xs:documentation> | ||
</xs:annotation> | </xs:annotation> | ||
<xs:all> | <xs:all> | ||
| − | <xs:element name="PosIdentity" type="c:IdentityType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "PosIdentity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Идентификатор позиции внутри уведомления о перевозке</xs:documentation> | <xs:documentation>Идентификатор позиции внутри уведомления о перевозке</xs:documentation> | ||
| Строка 116: | Строка 116: | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Product" type="pref:ProductInfo_v2" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Product" type = "pref:ProductInfo_v2" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Продукция</xs:documentation> | <xs:documentation>Продукция</xs:documentation> | ||
| Строка 122: | Строка 122: | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="Quantity20" type="c:PositiveDecimalType" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "Quantity20" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Количество, дал (при 20 градусах по Цельсию)</xs:documentation> | <xs:documentation>Количество, дал (при 20 градусах по Цельсию)</xs:documentation> | ||
| Строка 128: | Строка 128: | ||
</xs:element> | </xs:element> | ||
| − | <xs:element name="AlcPerc20" type="c:AlcPercentType" nillable="false" minOccurs="1" maxOccurs="1"> | + | <xs:element name = "AlcPerc20" type = "c:AlcPercentType" nillable = "false" minOccurs = "1" maxOccurs = "1"> |
<xs:annotation> | <xs:annotation> | ||
<xs:documentation>Содержание этилового спирта, % (при 20 градусах по Цельсию)</xs:documentation> | <xs:documentation>Содержание этилового спирта, % (при 20 градусах по Цельсию)</xs:documentation> | ||
| Строка 138: | Строка 138: | ||
</xs:schema> | </xs:schema> | ||
| + | |||
| + | = Смотрите также = | ||
| + | [[Документы и их типы для отправки ( версия 4 )]] | ||
Версия 16:14, 27 апреля 2021
<?xml version = "1.0" encoding = "utf-8"?> <xs:schema version = "1.0"
xmlns:ns = "http://fsrar.ru/WEGAIS/CarrierNotice" targetNamespace = "http://fsrar.ru/WEGAIS/CarrierNotice" xmlns:xs = "http://www.w3.org/2001/XMLSchema" elementFormDefault = "qualified" attributeFormDefault = "unqualified" xmlns:c = "http://fsrar.ru/WEGAIS/Common" xmlns:ce = "http://fsrar.ru/WEGAIS/CommonEnum" xmlns:oref = "http://fsrar.ru/WEGAIS/ClientRef_v2" xmlns:pref = "http://fsrar.ru/WEGAIS/ProductRef_v2"
>
<xs:import namespace = "http://fsrar.ru/WEGAIS/Common" schemaLocation = "EGCommon.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/CommonEnum" schemaLocation = "EGCommonEnum.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/ClientRef_v2" schemaLocation = "ClientRef_v2.xsd"/> <xs:import namespace = "http://fsrar.ru/WEGAIS/ProductRef_v2" schemaLocation = "ProductRef_v2.xsd"/>
<xs:complexType name = "CarrierNotice">
<xs:annotation>
<xs:documentation>Уведомление о перевозке</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name = "Header">
<xs:complexType>
<xs:all>
<xs:element name = "ClientIdentity" type = "c:IdentityType" nillable = "false" minOccurs = "0" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Идентификатор отчета (клиентский, к заполнению необязательный)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Serial" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Серия документа(вводится оператором)(не обязательное поле)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Shipper" type = "oref:OrgInfo_v2" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Отправитель</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Consignee" type = "oref:OrgInfo_v2" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Получатель</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Carrier" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Грузоперевозчик</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "ClientTransport" type = "oref:OrgInfoRus_v2" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Транспортное средство</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "ShipmentOutDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Дата отпуска груза</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "ShipmentInDate" type = "c:DateNoTime" nillable = "false" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Дата получения груза</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "EGAISFixNumberTTN" type = "c:NoEmptyString50" minOccurs = "0" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Номер подтверждения о фиксации сведеий об отгрузке(Желательно, не обязательно)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "NotifNumber" type = "c:NoEmptyString50" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Номер документа</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "NotifDate" type = "c:DateNoTime" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Дата составления</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name = "Content">
<xs:complexType>
<xs:sequence>
<xs:element name = "Position" type = "ns:PositionType" minOccurs = "1" maxOccurs = "unbounded">
<xs:annotation>
<xs:documentation>Содержимое уведомления должно содержать 1 и более позиций</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:unique name = "PosUn">
<xs:selector xpath = "ns:Position"/>
<xs:field xpath = "ns:PosIdentity"/>
</xs:unique>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name = "PositionType">
<xs:annotation>
<xs:documentation>Позиция</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name = "PosIdentity" type = "c:IdentityType" nillable = "false" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Идентификатор позиции внутри уведомления о перевозке</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Product" type = "pref:ProductInfo_v2" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Продукция</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "Quantity20" type = "c:PositiveDecimalType" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Количество, дал (при 20 градусах по Цельсию)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name = "AlcPerc20" type = "c:AlcPercentType" nillable = "false" minOccurs = "1" maxOccurs = "1">
<xs:annotation>
<xs:documentation>Содержание этилового спирта, % (при 20 градусах по Цельсию)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
</xs:schema>