78 lines
3.9 KiB
XML
78 lines
3.9 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 xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.uc-council.org/smp/schemas/msg" xmlns="http://www.uc-council.org/smp/schemas/msg" xmlns:fmcg="http://www.uc-council.org/smp/schemas/fmcg" xmlns:core="http://www.uc-council.org/smp/schemas/core" 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:import namespace="http://www.uc-council.org/smp/schemas/core" schemaLocation="Core.xsd"/>
|
|
<xsd:include schemaLocation="Document.xsd"/>
|
|
<xsd:include schemaLocation="Command.xsd"/>
|
|
<xsd:complexType name="BodyType">
|
|
<xsd:sequence>
|
|
<xsd:element name="transaction" type="TransactionType" minOccurs="1" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ResponseType" abstract="true"/>
|
|
<xsd:complexType name="DocumentIdentifierListType">
|
|
<xsd:sequence>
|
|
<xsd:element name="documentIdentifier" type="DocumentIdentifierType" minOccurs="1" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="DocumentIdentifierType">
|
|
<xsd:sequence>
|
|
<xsd:group ref="DocumentIdentifierTypeGroupType"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="contentVersion" type="core:VersionType" use="optional"/>
|
|
</xsd:complexType>
|
|
<xsd:group name="DocumentIdentifierTypeGroupType">
|
|
<xsd:choice>
|
|
<xsd:element name="partyIdentification" type="core:PartyIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element ref="fmcg:itemIdentification" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="typedEntityIdentification" type="core:TypedEntityIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:choice>
|
|
</xsd:group>
|
|
<xsd:element name="body" type="BodyType"/>
|
|
<xsd:complexType name="TransactionType">
|
|
<xsd:sequence>
|
|
<xsd:element name="entityIdentification" type="core:EntityIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="command" type="CommandType" minOccurs="1" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="CommandType">
|
|
<xsd:group ref="CommandTypeGroupType"/>
|
|
</xsd:complexType>
|
|
</xsd:schema>
|