<?xml version="1.0"?>
<xs:schema targetNamespace="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:eanucc="urn:ean.ucc:2" xmlns="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:xs="http://www.w3.org/2001/XMLSchema" 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:import namespace="urn:ean.ucc:2" schemaLocation="../ean.ucc/common/Message.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:element name="message" type="eanucc:MessageType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
