<?xml version="1.0" encoding="UTF-8"?>
<sch:schema xmlns="http://purl.oclc.org/dsdl/schematron"
	xmlns:sch="http://purl.oclc.org/dsdl/schematron"
	xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
	xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
	xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2"
	xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2"
	xmlns:doc="urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2"
	queryBinding="xslt2"
	schemaVersion="ISO19757-3"
>
<sch:ns prefix="cbc" uri="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" />
<sch:ns prefix="cac" uri="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" />
<sch:ns prefix="qdt" uri="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2" />
<sch:ns prefix="ccts" uri="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-2" />
<sch:ns prefix="doc" uri="urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2" />
	<sch:pattern id="OrderResponse">
		<sch:rule context="/doc:OrderResponse/cbc:UBLVersionID">
			<sch:assert test="normalize-space(text()) = '2.0'">Bericht MOET gebaseerd zijn op UBL Versie 2.0</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cbc:CustomizationID">
			<sch:assert test="normalize-space(text()) = '1.4'">Bericht MOET gebaseerd zijn op versie 1.4 van de Nederlandse specificatie.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cbc:ProfileID">
			<sch:assert test="normalize-space(text()) = 'NL'">Bericht MOET gebaseerd zijn op de Nederlandse (NL) specificatie.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse">
			<sch:assert test="count(cbc:Note) lt 2 ">/doc:OrderResponse/cbc:Note element should be less than 2!</sch:assert>
			<sch:assert test="count(cac:Delivery) lt 2 ">/doc:OrderResponse/cac:Delivery element should be less than 2!</sch:assert>
			<sch:assert test="count(cac:TaxTotal) lt 2 ">/doc:OrderResponse/cac:TaxTotal element should be less than 2!</sch:assert>
			<sch:assert test="count(cac:OrderReference) lt 2 ">/doc:OrderResponse/cac:OrderReference element should be less than 2!</sch:assert>
			<sch:assert test="( (count(cac:Delivery/cac:DeliveryAddress) = 0) and (count(cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress) = count(cac:OrderLine/cac:LineItem)))or( (count(cac:Delivery/cac:DeliveryAddress) > 0) and (count(cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress) = 0))">Afleveradres MOET OF op algemeen niveau OF voor alle regels worden opgegeven.</sch:assert>
			<sch:assert test="( (count(cbc:AccountingCostCode) = 0) and (count(cac:OrderLine/cac:LineItem/cbc:AccountingCostCode) = count(cac:OrderLine/cac:LineItem)))or( (count(cbc:AccountingCostCode) > 0) and (count(cac:OrderLine/cac:LineItem/cbc:AccountingCostCode) = 0))">Kostenplaats MOET OF op algemeen niveau OF voor alle regels worden opgegeven.</sch:assert>
			<sch:assert test="not(empty(cbc:ID))">/doc:OrderResponse/cbc:ID element should not be empty!</sch:assert>
			<sch:assert test="exists(cbc:UBLVersionID) ">/doc:OrderResponse/cbc:UBLVersionID element should exist!</sch:assert>
			<sch:assert test="exists(cbc:CustomizationID) ">/doc:OrderResponse/cbc:CustomizationID element should exist!</sch:assert>
			<sch:assert test="exists(cbc:ProfileID) ">/doc:OrderResponse/cbc:ProfileID element should exist!</sch:assert>
			<sch:assert test="every $bn in //cbc:BuildingNumber satisfies (matches($bn,'^\d+(-[ \w]+)?$'))">Huisnummer en Huisnummertoevoeging moeten achter elkaar geplaatst worden, gescheiden met een koppelteken.</sch:assert>
			<sch:assert test="( (count(cac:Delivery/cac:PromisedDeliveryPeriod) = 0) and (count(cac:OrderLine/cac:LineItem/cac:Delivery/cac:PromisedDeliveryPeriod) = count(cac:OrderLine/cac:LineItem)))or( (count(cac:Delivery/cac:PromisedDeliveryPeriod) > 0) and (count(cac:OrderLine/cac:LineItem/cac:Delivery/cac:PromisedDeliveryPeriod) = 0))">Levertijd MOET OF op algemeen niveau OF voor alle regels worden opgegeven.</sch:assert>
			<sch:assert test="(count(cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryParty/cac:Contact) = count(cac:OrderLine/cac:LineItem))or(count(cac:SellerSupplierParty/cac:Party/cac:Contact) > 0)">Leverancier contactpersoon MOET voor alle regels worden opgegeven ALS NIET op algemeen niveau opgegeven.</sch:assert>
			<sch:assert test="every $id in //cac:PartyIdentification/cbc:ID satisfies (exists($id/@schemeAgencyID) and not(empty($id/@schemeAgencyID)) and exists($id/@schemeAgencyName) and not(empty($id/@schemeAgencyName)))">PartyIdentification/ID MOET @schemeAgencyID en @schemeAgencyName attributen bevatten.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderReference">
			<sch:assert test="not(empty(cbc:ID))">/doc:OrderResponse/cac:OrderReference/cbc:ID element should not be empty!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Contract">
		<sch:rule context="/doc:OrderResponse/cac:Contract/cbc:ID">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:Contract/cbc:ID element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:Contract">
			<sch:assert test="exists(cbc:ID) ">/doc:OrderResponse/cac:Contract/cbc:ID element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cbc:CustomerAssignedAccountID">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:SellerSupplierParty/cbc:CustomerAssignedAccountID element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty">
			<sch:assert test="exists(cac:Party) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party element should exist!</sch:assert>
			<sch:assert test="exists(cbc:CustomerAssignedAccountID) ">/doc:OrderResponse/cac:SellerSupplierParty/cbc:CustomerAssignedAccountID element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyName element should be less than 2!</sch:assert>
			<sch:assert test="exists(cac:PartyName) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyName element should exist!</sch:assert>
			<sch:assert test="exists(cac:PartyIdentification) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyIdentification element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyIdentification">
			<sch:assert test="not(empty(cbc:ID))">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID element should not be empty!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyName">
			<sch:assert test="not(empty(cbc:Name))">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyName/cbc:Name element should not be empty!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party_PartyIdentification">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID">
			<sch:assert test="not(empty(@schemeAgencyName))">Attribuut MOET gevuld zijn, bevat 'Kamer van Koophandel' of 'Belastingdienst' voo NL bedrijven.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party_PostalAddress">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PostalAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PostalAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party_PostalAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PostalAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty">
			<sch:assert test="exists(cac:Party) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PartyName element should be less than 2!</sch:assert>
			<sch:assert test="exists(cac:PartyName) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PartyName element should exist!</sch:assert>
			<sch:assert test="exists(cac:Contact) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:Contact element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PartyName">
			<sch:assert test="not(empty(cbc:Name))">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PartyName/cbc:Name element should not be empty!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party_PartyIdentification">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID">
			<sch:assert test="not(empty(@schemeAgencyName))">Attribuut MOET gevuld zijn, bevat 'Kamer van Koophandel' of 'Belastingdienst' voor NL bedrijven.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party_PostalAddress">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PostalAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party_PostalAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingSupplierParty_Party">
		<sch:rule context="/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingSupplierParty_Party_PartyIdentification">
		<sch:rule context="/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PartyIdentification/cbc:ID">
			<sch:assert test="not(empty(@schemeAgencyName))">Attribuut MOET gevuld worden, bevat 'Kamer van Koophandel' of 'Belastingdienst' voor NL bedrijven.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingSupplierParty_Party_PostalAddress">
		<sch:rule context="/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingSupplierParty_Party_PostalAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingCustomerParty_Party">
		<sch:rule context="/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingCustomerParty_Party_PartyIdentification">
		<sch:rule context="/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PartyIdentification/cbc:ID">
			<sch:assert test="not(empty(@schemeAgencyName))">Attribuut MOET gevuld zijn, bevat 'Kamer van Koophandel' of 'Belastingdienst' voor NL bedrijven.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingCustomerParty_Party_PostalAddress">
		<sch:rule context="/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_AccountingCustomerParty_Party_PostalAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_DeliveryAddress">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:DeliveryAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_DeliveryAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_RequestedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:RequestedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:Delivery/cac:RequestedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_DeliveryParty">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:DeliveryParty">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:Delivery/cac:DeliveryParty/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_TaxTotal">
		<sch:rule context="/doc:OrderResponse/cac:TaxTotal">
			<sch:assert test="exists(cac:TaxSubtotal) ">/doc:OrderResponse/cac:TaxTotal/cac:TaxSubtotal element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:DocumentReference">
			<sch:assert test="exists(cbc:DocumentType) and not(empty(cbc:DocumentType))">DocumentType MOET gevuld worden met de soort identificatie van het document: 'Bestelling' of 'Contract' of 'Specificatie' in geval er een bijlage meegezonden wordt.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem">
			<sch:assert test="not(empty(cbc:ID))">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cbc:ID element should not be empty!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem">
			<sch:assert test="count(cac:Delivery) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery element should be less than 2!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cbc:Quantity">
			<sch:assert test="string-length(@unitCode) > 0 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cbc:Quantity/@unitCode element should exist!</sch:assert>
			<sch:assert test="exists(@unitCode)">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cbc:Quantity/@unitCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item">
			<sch:assert test="( (count(cbc:Description) = 0) and (   (count(cac:BuyersItemIdentification/cbc:ID) + count(cac:SellersItemIdentification/cbc:ID) + count(cac:ManufacturersItemIdentification/cbc:ID) + count(cac:StandardItemIdentification/cbc:ID) + count(cac:CatalogueItemIdentification/cbc:ID)) > 0 ))or( (count(cbc:Description) > 0) and (   (count(cac:BuyersItemIdentification/cbc:ID) + count(cac:SellersItemIdentification/cbc:ID) + count(cac:ManufacturersItemIdentification/cbc:ID) + count(cac:StandardItemIdentification/cbc:ID) + count(cac:CatalogueItemIdentification/cbc:ID)) = 0 ))">Item MOET OF een Description OF een (party)Identification/ID bevatten.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Delivery_DeliveryAddress">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Delivery_DeliveryAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Delivery_RequestedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:RequestedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:RequestedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Delivery_EstimatedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:EstimatedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:EstimatedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Delivery_DeliveryParty">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryParty">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:DeliveryParty/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Item">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cbc:Description element should be less than 2!</sch:assert>
			<sch:assert test="exists(cbc:Description) ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cbc:Description element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cbc:Description">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cbc:Description element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Item_TransactionConditions">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cac:TransactionConditions">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cac:TransactionConditions/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem">
			<sch:assert test="count(cac:Delivery) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Item">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cbc:Description element should be less than 2!</sch:assert>
			<sch:assert test="count(cbc:BrandName) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cbc:BrandName element should be less than 2!</sch:assert>
			<sch:assert test="count(cbc:ModelName) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cbc:ModelName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Item_TransactionConditions">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cac:TransactionConditions">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cac:TransactionConditions/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Delivery_DeliveryAddress">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Delivery_DeliveryAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Delivery_RequestedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:RequestedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:RequestedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Delivery_DeliveryParty">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryParty">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryParty/cac:PartyName element should be less than 2!</sch:assert>
			<sch:assert test="exists(cac:PartyName) ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:DeliveryParty/cac:PartyName element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Item_ClassifiedTaxCategory_TaxScheme">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme/cbc:Name">
			<sch:assert test="string-length(text()) > 0 ">Belastingsoort MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme">
			<sch:assert test="exists(cbc:Name) ">Belastingsoort MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Item_ClassifiedTaxCategory_TaxScheme">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme/cbc:Name">
			<sch:assert test="string-length(text()) > 0 ">Belastingsoort MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme">
			<sch:assert test="exists(cbc:Name) ">Belastingsoort MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_PaymentMeans_PayeeFinancialAccount">
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount">
			<sch:assert test="exists(cbc:ID) ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cbc:ID element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_PaymentMeans_PayeeFinancialAccount_Country">
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_PaymentMeans_PayeeFinancialAccount_FinancialInstitutionBranch">
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch">
			<sch:assert test="exists(cac:FinancialInstitution) ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_PaymentMeans_PayeeFinancialAccount_FinancialInstitutionBranch_FinancialInstitution">
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution">
			<sch:assert test="exists(cbc:ID) ">/doc:OrderResponse/cac:PaymentMeans/cac:PayeeFinancialAccount/cac:FinancialInstitutionBranch/cac:FinancialInstitution/cbc:ID element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_EstimatedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:EstimatedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:Delivery/cac:EstimatedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerSubstitutedLineItem_Delivery_EstimatedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:EstimatedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Delivery/cac:EstimatedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem">
			<sch:assert test="count(cac:Delivery) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Delivery_RequestedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:RequestedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:RequestedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Delivery_DeliveryAddress">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Delivery_DeliveryAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Delivery_EstimatedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:EstimatedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:EstimatedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Delivery_DeliveryParty">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryParty">
			<sch:assert test="exists(cac:PartyName) ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryParty/cac:PartyName element should exist!</sch:assert>
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:DeliveryParty/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Item">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Item">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Item/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Item_ClassifiedTaxCategory_TaxScheme">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme/cbc:Name">
			<sch:assert test="string-length(text()) > 0 ">Belastingsoort MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Item/cac:ClassifiedTaxCategory/cac:TaxScheme">
			<sch:assert test="exists(cbc:Name) ">Belastingsoort MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Item_TransactionConditions">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Item/cac:TransactionConditions">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Item/cac:TransactionConditions/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_FreightForwarderParty">
		<sch:rule context="/doc:OrderResponse/cac:FreightForwarderParty">
			<sch:assert test="count(cac:PartyIdentification) lt 2 ">/doc:OrderResponse/cac:FreightForwarderParty/cac:PartyIdentification element should be less than 2!</sch:assert>
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:FreightForwarderParty/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_PromisedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:PromisedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:Delivery/cac:PromisedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Delivery_PromisedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:PromisedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Delivery/cac:PromisedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_SellerProposedSubstituteLineItem_Delivery_PromisedDeliveryPeriod">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:PromisedDeliveryPeriod">
			<sch:assert test="count(cbc:Description) lt 2 ">/doc:OrderResponse/cac:OrderLine/cac:SellerProposedSubstituteLineItem/cac:Delivery/cac:PromisedDeliveryPeriod/cbc:Description element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party_AgentParty">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party_AgentParty_PostalAddress">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_SellerSupplierParty_Party_AgentParty_PostalAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:SellerSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party_AgentParty">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty">
			<sch:assert test="count(cac:PartyName) lt 2 ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PartyName element should be less than 2!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party_AgentParty_PostalAddress">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PostalAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_BuyerCustomerParty_Party_AgentParty_PostalAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:BuyerCustomerParty/cac:Party/cac:AgentParty/cac:PostalAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_Despatch_DespatchAddress">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:Despatch/cac:DespatchAddress">
			<sch:assert test="exists(cac:Country) ">/doc:OrderResponse/cac:Delivery/cac:Despatch/cac:DespatchAddress/cac:Country element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_Delivery_Despatch_DespatchAddress_Country">
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:Despatch/cac:DespatchAddress/cac:Country/cbc:IdentificationCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:Delivery/cac:Despatch/cac:DespatchAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:Delivery/cac:Despatch/cac:DespatchAddress/cac:Country">
			<sch:assert test="exists(cbc:IdentificationCode) ">/doc:OrderResponse/cac:Delivery/cac:Despatch/cac:DespatchAddress/cac:Country/cbc:IdentificationCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_TaxTotal_TaxSubtotal_TaxCategory_TaxScheme">
		<sch:rule context="/doc:OrderResponse/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme/cbc:Name">
			<sch:assert test="string-length(text()) > 0 ">De soort belasting MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
		<sch:rule context="/doc:OrderResponse/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cac:TaxScheme">
			<sch:assert test="exists(cbc:Name) ">De soort belasting MOET opgegeven worden, veelal 'BTW'.</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_OrderLine_LineItem_Price">
		<sch:rule context="/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Price/cbc:PriceAmount">
			<sch:assert test="(count(../../../../cbc:PricingCurrencyCode) = 0)or( (count(../../../../cbc:PricingCurrencyCode) > 0) and (@currencyID = ../../../../cbc:PricingCurrencyCode/text()))">Valutacode op regelniveau MOET gelijk zijn aan algemeen niveau als opgegeven.</sch:assert>
			<sch:assert test="not(empty(@currencyID))">/doc:OrderResponse/cac:OrderLine/cac:LineItem/cac:Price/cbc:PriceAmount/@currencyID element should not be empty!</sch:assert>
		</sch:rule>
	</sch:pattern>
	<sch:pattern id="OrderResponse_PaymentMeans">
		<sch:rule context="/doc:OrderResponse/cac:PaymentMeans/cbc:PaymentMeansCode">
			<sch:assert test="string-length(text()) > 0 ">/doc:OrderResponse/cac:PaymentMeans/cbc:PaymentMeansCode element should exist!</sch:assert>
		</sch:rule>
	</sch:pattern>
</sch:schema>