Message

Value MUST be part of code list 'Type of Consignment ID (openPEPPOL)'.

Context
/ubl:ReceiptAdvice/cac:Shipment/cac:Consignment/cbc:ID
Test
not(@schemeID) or (some $code in $clConsignmentIDType satisfies $code = @schemeID)
Code lists
Type of Consignment ID (openPEPPOL)
Usage
/ ubl:ReceiptAdvice / cac:Shipment / cac:Consignment / cbc:ID / @schemeID