<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2014 (x64) (http://www.altova.com) by Group IT (PostNL Groep) -->
<!--org/2001/XMLSchema-->
<!--
Major/Minor versie:     1.0
datum productie         25 juli 2018
aanpassing door     NM + Henk Willemse
doelgroep                   PostNL

    
   -->
<xsd:schema xmlns:me1="urn:postnl/mail/meta/1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:postnl/mail/cancelcustomerorderservice/1" xmlns:cos1="urn:postnl/mail/customerorderservice/1" targetNamespace="urn:postnl/mail/cancelcustomerorderservice/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/customerorderservice/1" schemaLocation="../Nouns/NounsImplementatie/CustomerOrderService1.xsd"/>
    <xsd:element name="CancelCustomerOrderService" type="CancelCustomerOrderServiceType">
        <xsd:annotation>
            <xsd:documentation>The purpose of the CancelCustomerOrderService is to notify an business Application of the need to cancel a previous order. This BOD may be used to cancel an entire CustomerOrderService, or a specific line on the  CustomerOrderService.

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 CustomerOrder Service 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="CancelCustomerOrderServiceType">
        <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 CustomerOrderService. The information consists of a Verb and one or more Nouns. The verb (Cancel) indicates the action to be performed on the Noun (CustomerOrderService).</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="cos1:CustomerOrderService" maxOccurs="unbounded"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:schema>
