<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by PostNL IT (PostNL Holding B.V.) -->
<!--org/2001/XMLSchema-->
<!--
Major/Minor versie:     1.0
datum productie         12 juli 2018
aanpassing door     NM + Arko Vos
doelgroep                   PostNL

    
   -->
<xsd:schema xmlns:me1="urn:postnl/mail/meta/1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:postnl/mail/cancelenddeliverypoint/1" xmlns:edp1="urn:postnl/mail/enddeliverypoint/1" targetNamespace="urn:postnl/mail/cancelenddeliverypoint/1" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xsd:import namespace="urn:postnl/mail/meta/1" schemaLocation="../Common/OAGI/Components/Meta1.xsd"/>
    <xsd:import namespace="urn:postnl/mail/enddeliverypoint/1" schemaLocation="../Nouns/NounsImplementatie/EndDeliveryPoint1.xsd"/>
    <xsd:element name="CancelEndDeliveryPoint" type="CancelEndDeliveryPointType">
        <xsd:annotation>
            <xsd:documentation>The purpose of the CancelEndDeliveryPoint is to notify an business Application of the need to cancel a previous order. This BOD may be used to cancel an entire EndDeliveryPoint, or a specific line on the  EndDeliveryPoint.

Processing Note:  

This cancel must refer to the original document and/or item ordered.  To cancel the entire order, include only the Header information for the instance of the  EndDeliveryPoint. you wish to cancel.  To cancel a line or several lines, each line to be cancelled must be included in the request.</xsd:documentation>
        </xsd:annotation>
    </xsd:element>
    <xsd:complexType name="CancelEndDeliveryPointType">
        <xsd:complexContent>
            <xsd:extension base="me1:BusinessDocumentMessageHeaderType">
                <xsd:sequence>
                    <xsd:element name="DataArea" type="DataAreaType">
                        <xsd:annotation>
                            <xsd:documentation>Is where the information that the BOD message carries is provided, in this case  cancel EndDeliveryPoint. The information consists of a Verb and one or more Nouns. The verb (Cancel) indicates the action to be performed on the Noun (EndDeliveryPoint).</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="DataAreaType">
        <xsd:sequence>
            <xsd:element ref="me1:Cancel" minOccurs="1"/>
            <xsd:element ref="edp1:EndDeliveryPoint" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:schema>
