<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:tns="https://izi.cloud/iiko/create/product" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://izi.cloud/iiko/create/product" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:complexType name="args">
<xs:sequence>
<xs:element name="entities-version" type="xs:decimal"/>
<xs:element name="client-type" type="xs:string"/>
<xs:element name="enable-warnings" type="xs:boolean"/>
<xs:element name="request-watchdog-check-results" type="xs:boolean"/>
<xs:element name="product" type="tns:productType"/>
<xs:element name="overrideFastCode" type="xs:boolean" default="true"/>
<xs:element name="overrideCode" type="xs:boolean" default="true"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="productType">
<xs:sequence>
<xs:element name="mainUnit" type="tns:refType"/>
<xs:element name="placeType" type="tns:refType"/>
<xs:element name="unitWeight" type="xs:decimal"/>
<xs:element name="unitCapacity" type="xs:decimal"/>
<xs:element name="type" type="xs:string" default="GOODS"/>
<xs:element name="description" type="xs:string"/>
<xs:element name="num" type="xs:string"/>
<xs:element name="code" type="xs:string"/>
<xs:element name="parent" type="tns:refType"/>
<xs:element name="accountingCategory" type="tns:refType"/>
<xs:element name="name" type="tns:nameType"/>
<xs:element name="id" type="tns:refType"/>
</xs:sequence>
<xs:attribute name="eid" type="tns:refType" use="required"/>
</xs:complexType>
<xs:simpleType name="refType">
<xs:restriction base="xs:string">
<xs:length value="36"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="nameType">
<xs:sequence>
<xs:element name="customValue" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
Понравилось это:
Нравится Загрузка...