159 lines
8.2 KiB
XML
159 lines
8.2 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/core" xmlns="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:complexType name="PartyType" abstract="true">
|
|
<xsd:complexContent>
|
|
<xsd:extension base="DocumentType"/>
|
|
</xsd:complexContent>
|
|
</xsd:complexType>
|
|
<xsd:group name="PartyLinksOrDetailsGroupType">
|
|
<xsd:sequence/>
|
|
</xsd:group>
|
|
<xsd:complexType name="PartyLinksType">
|
|
<xsd:sequence>
|
|
<xsd:element name="partyIdentification" type="PartyIdentificationType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="PartyLinkDetailsType" abstract="true"/>
|
|
<xsd:complexType name="PartyInformationType" abstract="true">
|
|
<xsd:sequence>
|
|
<xsd:group ref="TermsGroupType"/>
|
|
<xsd:element name="contact" type="ContactType" minOccurs="0" maxOccurs="unbounded"/>
|
|
<xsd:element name="facilitySpecification" type="FacilitySpecificationType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="nameAndAddress" type="NameAndAddressType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="partyDates" type="PartyDatesType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="financialInformation" type="PartyFinancialInformationType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="partyIdentification" type="PartyIdentificationType" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
<xsd:attribute name="partyRole" type="PartyRoleListType" use="required"/>
|
|
</xsd:complexType>
|
|
<xsd:simpleType name="PartyRoleListType">
|
|
<xsd:restriction base="String1to80Type">
|
|
<xsd:enumeration value="BILL_TO"/>
|
|
<xsd:enumeration value="BUYER"/>
|
|
<xsd:enumeration value="CORPORATE_IDENTITY"/>
|
|
<xsd:enumeration value="DELIVERY_PARTY"/>
|
|
<xsd:enumeration value="INFORMATION_PROVIDER"/>
|
|
<xsd:enumeration value="INVOICEE"/>
|
|
<xsd:enumeration value="ISSUER_OF_INVOICE"/>
|
|
<xsd:enumeration value="LOGISTICS_SERVICE_PROVIDER"/>
|
|
<xsd:enumeration value="MANUFACTURING_PLANT"/>
|
|
<xsd:enumeration value="MARK_FOR"/>
|
|
<xsd:enumeration value="MESSAGE_FROM"/>
|
|
<xsd:enumeration value="MESSAGE_RECIPIENT"/>
|
|
<xsd:enumeration value="PARTY_TO_RECEIVE_COMMERCIAL_INVOICE"/>
|
|
<xsd:enumeration value="PAYER"/>
|
|
<xsd:enumeration value="SELLER"/>
|
|
<xsd:enumeration value="SHIP_FROM"/>
|
|
<xsd:enumeration value="SHIP_TO"/>
|
|
<xsd:enumeration value="SUPPLIER"/>
|
|
<xsd:enumeration value="WAREHOUSE_DEPOT"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
<xsd:complexType name="PartyFinancialInformationType">
|
|
<xsd:sequence>
|
|
<xsd:element name="standardTermsOfPayment" type="String1to80Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="taxAuthority" type="String1to70Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="taxRegistrationNumber" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="transactionCurrency" type="CurrencyISOCodeType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="typeOfTaxRegistration" type="String1to3Type" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="PartyDatesType">
|
|
<xsd:sequence>
|
|
<xsd:element name="effectiveChangeDate" type="DateType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="partyEndDate" type="DateType" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="partyStartDate" type="DateType" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="NameAndAddressType">
|
|
<xsd:sequence>
|
|
<xsd:element name="city" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="countryISOcode" type="CountryISOCodeType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="languageOfTheParty" type="xsd:language" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="name" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="postalCode" type="String1to10Type" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="state" type="String1to9Type" minOccurs="0" maxOccurs="1"/>
|
|
<xsd:element name="streetAddress" type="String1to35Type" minOccurs="0" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="FacilitySpecificationType">
|
|
<xsd:sequence>
|
|
<xsd:element name="appointmentRequired" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="operatingDayFrom" type="DaysOfTheWeekListType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="operatingDayTo" type="DaysOfTheWeekListType" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="operatingTimeFrom" type="xsd:time" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="operatingTimeTo" type="xsd:time" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="CommunicationChannelType">
|
|
<xsd:attribute name="type" type="CommunicationChannelListType" use="required"/>
|
|
<xsd:attribute name="communicationNumber" type="String1to70Type" use="required"/>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="ContactType">
|
|
<xsd:sequence>
|
|
<xsd:element name="communicationChannel" type="CommunicationChannelType" minOccurs="1" maxOccurs="unbounded"/>
|
|
<xsd:element name="personOrDepartmentName" type="TextDescriptionType" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:simpleType name="CommunicationChannelListType">
|
|
<xsd:restriction base="String1to80Type">
|
|
<xsd:enumeration value="EMAIL"/>
|
|
<xsd:enumeration value="TELEFAX"/>
|
|
<xsd:enumeration value="TELEPHONE"/>
|
|
<xsd:enumeration value="WEBSITE"/>
|
|
</xsd:restriction>
|
|
</xsd:simpleType>
|
|
<xsd:complexType name="PalletSystemType">
|
|
<xsd:sequence>
|
|
<xsd:element name="acceptPallets" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="shipPallets" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
<xsd:complexType name="FinancialInstitutionalInformationType">
|
|
<xsd:sequence>
|
|
<xsd:element name="accountHolderName" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="financialInstitutionAccountNumber" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="financialInstitutionCode" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="financialInstitutionName" type="String1to35Type" minOccurs="1" maxOccurs="1"/>
|
|
<xsd:element name="transactionCurrency" type="CurrencyISOCodeType" minOccurs="1" maxOccurs="1"/>
|
|
</xsd:sequence>
|
|
</xsd:complexType>
|
|
</xsd:schema>
|