Skip to content
Permalink
Browse files

La til XSDer for SBDH, ebms og exc-c14

  • Loading branch information...
landro committed Mar 27, 2014
1 parent 23c0ff2 commit b882dd627a2725c6a27975eb18829f30d9027492
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:simpleType name="MimeTypeQualifier">
<xs:annotation>
<xs:documentation>The MIME type as defined by IANA. Please refer to
http://www.iana.org/assignments/media-types/ for a list of types.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string"/>
</xs:simpleType>

<xs:simpleType name="Language">
<xs:annotation>
<xs:documentation>ISO 639-2; 1998 representation of Language name. Refer to http://www.loc.gov/standards/iso639-2/iso639jac.html to get the latest version of the standard.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:schema>
@@ -0,0 +1,56 @@
<?xml version="1.0"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Ted Osinski (Uniform Code Council) -->
<xs:schema targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:complexType name="BusinessScope">
<xs:sequence>
<xs:element name="Scope" type="Scope" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Scope">
<xs:sequence>
<xs:group ref="ScopeAttributes"/>
<xs:element ref="ScopeInformation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:group name="ScopeAttributes">
<xs:sequence>
<xs:element name="Type" type="xs:string"/>
<xs:element name="InstanceIdentifier" type="xs:string"/>
<xs:element name="Identifier" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:group>
<xs:element name="ScopeInformation" type="xs:anyType" abstract="true"/>
<xs:element name="CorrelationInformation" type="CorrelationInformation" substitutionGroup="ScopeInformation"/>
<xs:complexType name="CorrelationInformation">
<xs:sequence>
<xs:element name="RequestingDocumentCreationDateTime" type="xs:dateTime" minOccurs="0"/>
<xs:element name="RequestingDocumentInstanceIdentifier" type="xs:string" minOccurs="0"/>
<xs:element name="ExpectedResponseDateTime" type="xs:dateTime" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="BusinessService" type="BusinessService" substitutionGroup="ScopeInformation"/>
<xs:complexType name="BusinessService">
<xs:sequence>
<xs:element name="BusinessServiceName" type="xs:string" minOccurs="0"/>
<xs:element name="ServiceTransaction" type="ServiceTransaction" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ServiceTransaction">
<xs:attribute name="TypeOfServiceTransaction" type="TypeOfServiceTransaction" use="optional"/>
<xs:attribute name="IsNonRepudiationRequired" type="xs:string"/>
<xs:attribute name="IsAuthenticationRequired" type="xs:string"/>
<xs:attribute name="IsNonRepudiationOfReceiptRequired" type="xs:string"/>
<xs:attribute name="IsIntelligibleCheckRequired" type="xs:string"/>
<xs:attribute name="IsApplicationErrorResponseRequested" type="xs:string"/>
<xs:attribute name="TimeToAcknowledgeReceipt" type="xs:string"/>
<xs:attribute name="TimeToAcknowledgeAcceptance" type="xs:string"/>
<xs:attribute name="TimeToPerform" type="xs:string"/>
<xs:attribute name="Recurrence" type="xs:string"/>
</xs:complexType>
<xs:simpleType name="TypeOfServiceTransaction">
<xs:restriction base="xs:string">
<xs:enumeration value="RequestingServiceTransaction"/>
<xs:enumeration value="RespondingServiceTransaction"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:complexType name="DocumentIdentification">
<xs:sequence>
<xs:element name="Standard" type="xs:string"/>
<xs:element name="TypeVersion" type="xs:string"/>
<xs:element name="InstanceIdentifier" type="xs:string"/>
<xs:element name="Type" type="xs:string"/>
<xs:element name="MultipleType" type="xs:boolean" minOccurs="0"/>
<xs:element name="CreationDateAndTime" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.edi-order.org/schemas" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.edi-order.org/schemas" xmlns:unece="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" schemaLocation="StandardBusinessDocumentHeader.xsd"/>
<xs:include schemaLocation="EDIOrder.xsd"/>
</xs:schema>
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.edi-order.org/schemas" schemaLocation="EDIOrder.xsd"/>
<xs:include schemaLocation="StandardBusinessDocumentHeader.xsd"/>
</xs:schema>
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="BasicTypes.xsd"/>

<xs:complexType name="Manifest">
<xs:sequence>
<xs:element name="NumberOfItems" type="xs:integer"/>
<xs:element name="ManifestItem" type="ManifestItem" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ManifestItem">
<xs:sequence>
<xs:element name="MimeTypeQualifierCode" type="MimeTypeQualifier"/>
<xs:element name="UniformResourceIdentifier" type="xs:anyURI"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="LanguageCode" type="Language" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.ean-ucc.org/schemas/1.3/eanucc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ean-ucc.org/schemas/1.3/eanucc" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xsd:element name="order" type="OrderType"/>
<xsd:complexType name="OrderType">
<xsd:sequence>
<xsd:element name="orderIdentification" type="xsd:string"/>
<!-- rest of content model would go here -->
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader">

<xs:import namespace="http://www.ean-ucc.org/schemas/1.3/eanucc"
schemaLocation="Order.xsd"/>
<xs:include schemaLocation="StandardBusinessDocumentHeader.xsd"/>

</xs:schema>
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.ean-ucc.org/schemas/1.3/eanucc" xmlns="http://www.ean-ucc.org/schemas/1.3/eanucc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xsd:element name="orderResponse" type="OrderResponseType"/>
<xsd:complexType name="OrderResponseType">
<xsd:sequence>
<xsd:element name="orderResponseIdentification" type="xsd:string"/>
<!-- rest of content model would go here -->
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.ean-ucc.org/schemas/1.3/eanucc" schemaLocation="OrderResponse.xsd"/>
<xs:include schemaLocation="StandardBusinessDocumentHeader.xsd"/>
</xs:schema>
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader"
elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:complexType name="Partner">
<xs:sequence>
<xs:element name="Identifier" type="PartnerIdentification"/>
<xs:element name="ContactInformation" type="ContactInformation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PartnerIdentification">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Authority" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="ContactInformation">
<xs:sequence>
<xs:element name="Contact" type="xs:string"/>
<xs:element name="EmailAddress" type="xs:string" minOccurs="0"/>
<xs:element name="FaxNumber" type="xs:string" minOccurs="0"/>
<xs:element name="TelephoneNumber" type="xs:string" minOccurs="0"/>
<xs:element name="ContactTypeIdentifier" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="DocumentIdentification.xsd"/>
<xs:include schemaLocation="Partner.xsd"/>
<xs:include schemaLocation="Manifest.xsd"/>
<xs:include schemaLocation="BusinessScope.xsd"/>
<xs:complexType name="StandardBusinessDocumentHeader">
<xs:sequence>
<xs:element name="HeaderVersion" type="xs:string"/>
<xs:element name="Sender" type="Partner" maxOccurs="unbounded"/>
<xs:element name="Receiver" type="Partner" maxOccurs="unbounded"/>
<xs:element name="DocumentIdentification" type="DocumentIdentification"/>
<xs:element name="Manifest" type="Manifest" minOccurs="0"/>
<xs:element name="BusinessScope" type="BusinessScope" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="StandardBusinessDocumentHeader" type="StandardBusinessDocumentHeader"/>
<xs:element name="StandardBusinessDocument" type="StandardBusinessDocument"/>
<xs:complexType name="StandardBusinessDocument">
<xs:sequence>
<xs:element ref="StandardBusinessDocumentHeader" minOccurs="0"/>
<xs:any namespace="##other" processContents="lax"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<sh:StandardBusinessDocumentHeader xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader StandardBusinessDocumentHeader.xsd">
<sh:HeaderVersion>2.2</sh:HeaderVersion>
<sh:Sender>
<sh:Identifier Authority="EAN.UCC">6903148000007</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>Corporate Headquarters</sh:Contact>
<sh:EmailAddress>Corporate_Headquarters@XYZretailer.com</sh:EmailAddress>
<sh:FaxNumber>+1-212-555-1212</sh:FaxNumber>
<sh:TelephoneNumber>+1-212-555-2121</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Corporate Organization</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Sender>
<sh:Sender>
<sh:Identifier Authority="EAN.UCC">6903148000008</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>John Doe</sh:Contact>
<sh:EmailAddress>John_Doe@purchasing.XYZretailer.com</sh:EmailAddress>
<sh:FaxNumber>+1-212-555-1213</sh:FaxNumber>
<sh:TelephoneNumber>+1-212-555-2122</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Buyer</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Sender>
<sh:Receiver>
<sh:Identifier Authority="Widgets">2203148000007</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>Mary Smith</sh:Contact>
<sh:EmailAddress>Mary_Smith@widgets.com</sh:EmailAddress>
<sh:FaxNumber>+1-312-555-1214</sh:FaxNumber>
<sh:TelephoneNumber>+1-312-555-2125</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Seller</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Receiver>
<sh:Receiver>
<sh:Identifier Authority="Widgets">2203148000008</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>Jane Austin</sh:Contact>
<sh:EmailAddress>Jane _Austin@widgets.com</sh:EmailAddress>
<sh:FaxNumber>+1-312-555-1216</sh:FaxNumber>
<sh:TelephoneNumber>+1-312-555-2127</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Assistant Seller</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Receiver>
<sh:DocumentIdentification>
<sh:Standard>http://www.uc-council.org/smp/schemas/simpl-eb/Order</sh:Standard>
<sh:TypeVersion>Order V1.3</sh:TypeVersion>
<sh:InstanceIdentifier>100002</sh:InstanceIdentifier>
<sh:Type>Ordering</sh:Type>
<sh:MultipleType>false</sh:MultipleType>
<sh:CreationDateAndTime>2003-05-02T00:31:52Z</sh:CreationDateAndTime>
</sh:DocumentIdentification>
<sh:Manifest>
<sh:NumberOfItems>2</sh:NumberOfItems>
<sh:ManifestItem>
<sh:MimeTypeQualifierCode>application/xml</sh:MimeTypeQualifierCode>
<sh:UniformResourceIdentifier> http://www.widgets.com//ProductImage
</sh:UniformResourceIdentifier>
<sh:Description>MPEG Video Image of Product</sh:Description>
<sh:LanguageCode>EN</sh:LanguageCode>
</sh:ManifestItem>
</sh:Manifest>
</sh:StandardBusinessDocumentHeader>
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8"?>
<sh:StandardBusinessDocument xmlns:sh="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:eanucc="http://www.ean-ucc.org/schemas/1.3/eanucc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader OrderProxy.xsd">
<sh:StandardBusinessDocumentHeader>
<sh:HeaderVersion>2.2</sh:HeaderVersion>
<sh:Sender>
<sh:Identifier Authority="EAN.UCC">6903148000007</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>John Doe</sh:Contact>
<sh:EmailAddress>John_Doe@purchasing.XYZretailer.com</sh:EmailAddress>
<sh:FaxNumber>+1-212-555-1213</sh:FaxNumber>
<sh:TelephoneNumber>+1-212-555-2122</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Buyer</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Sender>
<sh:Receiver>
<sh:Identifier Authority="EAN.UCC">2203148000007</sh:Identifier>
<sh:ContactInformation>
<sh:Contact>Mary Smith</sh:Contact>
<sh:EmailAddress>Mary_Smith@widgets.com</sh:EmailAddress>
<sh:FaxNumber>+1-312-555-1214</sh:FaxNumber>
<sh:TelephoneNumber>+1-312-555-2125</sh:TelephoneNumber>
<sh:ContactTypeIdentifier>Seller</sh:ContactTypeIdentifier>
</sh:ContactInformation>
</sh:Receiver>
<sh:DocumentIdentification>
<sh:Standard>http://www.uc-council.org/smp/schemas/simpl-eb/Order</sh:Standard>
<sh:TypeVersion>Order V1.3</sh:TypeVersion>
<sh:InstanceIdentifier>100002</sh:InstanceIdentifier>
<sh:Type>Ordering</sh:Type>
<sh:MultipleType>false</sh:MultipleType>
<sh:CreationDateAndTime>2003-05-02T00:31:52Z</sh:CreationDateAndTime>
</sh:DocumentIdentification>
<sh:BusinessScope>
<sh:Scope>
<sh:Type>BusinessProcess</sh:Type>
<sh:InstanceIdentifier>Order-Sell/version2-123</sh:InstanceIdentifier>
<sh:Identifier>Contract Order-Sell</sh:Identifier>
<sh:BusinessService>
<sh:BusinessServiceName>Order-Sell</sh:BusinessServiceName>
<sh:ServiceTransaction TypeOfServiceTransaction="RequestingServiceTransaction" IsAuthenticationRequired="true" IsNonRepudiationRequired="true" IsNonRepudiationOfReceiptRequired="true" IsIntelligibleCheckRequired="true" IsApplicationErrorResponseRequested="true" TimeToAcknowledgeReceipt="P12H" TimeToAcknowledgeAcceptance="P2D" TimeToPerform="P5D" Recurrence="3"/>
</sh:BusinessService>
<sh:CorrelationInformation>
<sh:RequestingDocumentCreationDateTime>2003-05-02T00:31:52Z</sh:RequestingDocumentCreationDateTime>
<sh:RequestingDocumentInstanceIdentifier>100002</sh:RequestingDocumentInstanceIdentifier>
<sh:ExpectedResponseDateTime>2003-05-10T00:31:52Z</sh:ExpectedResponseDateTime>
</sh:CorrelationInformation>
</sh:Scope>
<sh:Scope>
<sh:Type>BusinessProcess</sh:Type>
<sh:InstanceIdentifier>XYZ</sh:InstanceIdentifier>
<sh:Identifier>BP346</sh:Identifier>
<!--<sh:AsYetUndefined>...</sh:AsYetUndefined>-->
</sh:Scope>
</sh:BusinessScope>
</sh:StandardBusinessDocumentHeader>
<eanucc:order>
<orderIdentification>5412345000013</orderIdentification>
<!-- rest of order document goes here -->
</eanucc:order>
</sh:StandardBusinessDocument>
Oops, something went wrong.

0 comments on commit b882dd6

Please sign in to comment.
You can’t perform that action at this time.