<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:tns="https://izi.cloud/iiko/create/incomingInvoice" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://izi.cloud/iiko/create/incomingInvoice" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:complexType name="args">
<xs:sequence>
<xs:element name="document" type="tns:documentType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="documentType">
<xs:sequence>
<xs:element name="incomingDocumentNumber" type="xs:string"/>
<xs:element name="supplier" type="tns:refType"/>
<xs:element name="defaultStore" type="tns:refType"/>
<xs:element name="items" type="tns:itemsSeqType"/>
<xs:element name="documentNumber" type="xs:string"/>
<xs:element name="status" type="xs:string"/>
<xs:element name="dateIncoming" type="xs:string"/>
<xs:element name="comment" type="xs:string"/>
<xs:element name="id" type="tns:refType"/>
</xs:sequence>
<xs:attribute name="cls" type="xs:string" use="required"/>
<xs:attribute name="eid" type="tns:refType" use="required"/>
</xs:complexType>
<xs:complexType name="invoiceType">
<xs:attribute name="cls" type="xs:string"/>
<xs:attribute name="eid" type="tns:refType"/>
</xs:complexType>
<xs:complexType name="itemType">
<xs:sequence>
<xs:element name="store" type="tns:refType"/>
<xs:element name="code" type="xs:string"/>
<xs:element name="price" type="xs:decimal"/>
<xs:element name="sum" type="xs:decimal"/>
<xs:element name="ndsPercent" type="xs:decimal"/>
<xs:element name="sumWithoutNds" type="xs:decimal"/>
<xs:element name="invoice" type="tns:invoiceType"/>
<xs:element name="discountSum" type="xs:decimal"/>
<xs:element name="actualAmount" type="xs:decimal"/>
<xs:element name="amountUnit" type="tns:refType"/>
<xs:element name="num" type="xs:decimal"/>
<xs:element name="product" type="tns:refType"/>
<xs:element name="amount" type="xs:decimal"/>
<xs:element name="id" type="tns:refType"/>
</xs:sequence>
<xs:attribute name="cls" type="xs:string" use="required"/>
<xs:attribute name="eid" type="tns:refType" use="required"/>
</xs:complexType>
<xs:complexType name="itemsSeqType">
<xs:choice>
<xs:element name="i" type="tns:itemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:simpleType name="refType">
<xs:restriction base="xs:string">
<xs:length value="36"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Понравилось это:
Нравится Загрузка...