94 lines
4.7 KiB
XML
94 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (C) 2017 Oracle
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<xsd:schema targetNamespace="http://www.uc-council.org/smp/schemas/core" xmlns="http://www.uc-council.org/smp/schemas/core" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
|
|
<xsd:annotation>
|
|
<xsd:documentation>
|
|
© Uniform Code Council, Inc. and EAN International, Inc. 2001
|
|
The Uniform Code Council, Inc. (UCC) is providing this XML Schema Definition file and resultant XML file as a service to interested industries.
|
|
This XML Schema Definition file and resultant XML file were developed through a consensus process of interested parties.
|
|
|
|
Although efforts have been made to assure that the XML Schema Definition file and resultant XML file are correct, reliable, and technically
|
|
accurate, the UCC makes NO WARRANTY, EXPRESS OR IMPLIED, THAT THIS XML Schema Definition file and resultant XML file ARE
|
|
CORRECT, WILL NOT REQUIRE MODIFICATION AS EXPERIENCE AND TECHNOLOGICAL ADVANCES DICTATE, OR WILL BE SUITABLE FOR
|
|
ANY PURPOSE OR WORKABLE IN ANY APPLICATION, OR OTHERWISE. Use of the XML Schema Definition file and resultant XML
|
|
file are with the understanding that the UCC has no liability for any claim to the contrary, or for any damage or loss of any kind or nature.
|
|
|
|
Version Information:
|
|
Version Number: 1.0
|
|
Date of creation: July, 2001.
|
|
|
|
The schema and subsequent updates will be provided on the EAN and UCC websites.
|
|
|
|
</xsd:documentation>
|
|
</xsd:annotation>
|
|
<xsd:complexType name="DespatchAdviceType" abstract="true">
|
|
<xsd:complexContent>
|
|
<xsd:extension base="DocumentType">
|
|
<xsd:sequence>
|
|
<xsd:element name="estimatedDeliveryDate" type="DateChoiceType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="typedEntityIdentification" type="TypedEntityIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="buyer" type="PartyIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="seller" type="PartyIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="shipTo" type="PartyIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="carrier" type="PartyIdentificationType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="deliveryNote" type="ReferenceType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="orderNumber" type="ReferenceType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="consignmentNumber" type="ReferenceType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="actualShipDate" type="DateChoiceType" minOccurs="0" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:extension>
|
|
</xsd:complexContent>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="DespatchLineItemType" abstract="true">
|
|
<xsd:complexContent>
|
|
<xsd:extension base="LineItemType"/>
|
|
</xsd:complexContent>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="LogisticUnitsType" abstract="true">
|
|
<xsd:attribute name="id" type="SSCCType" use="required"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="TradeItemUnitType" abstract="true"/>
|
|
<xsd:complexType name="ItemContainmentType" abstract="true">
|
|
<xsd:sequence>
|
|
<xsd:element name="contained" type="QuantityType" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:simpleType name="SSCCType">
|
|
<xsd:restriction base="Integer18Type"/>
|
|
</xsd:simpleType>
|
|
<xsd:group name="DespatchItemIdentificationGroupType">
|
|
<xsd:sequence>
|
|
<xsd:element name="listForEachItem" type="SpecificItemDataType" minOccurs="0" maxOccurs="unbounded"/>
|
|
<xsd:element name="extendedAttributes" type="TransactionalItemDataType" minOccurs="0" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:group>
|
|
<xsd:complexType name="SpecificItemDataType">
|
|
<xsd:sequence>
|
|
<xsd:element name="serial" type="String1to20Type" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="TransactionalItemDataType">
|
|
<xsd:sequence>
|
|
<xsd:element name="itemExpirationDate" type="DateType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="lotNumber" type="String1to20Type" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="sellByDate" type="DateType" minOccurs="0" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:schema>
|