Message

Value MUST be part of code list 'ISO 6523 International Code Designator (ICD)'.

Context
/espd:ESPDResponse/cac:ContractingParty/cac:Party/cbc:EndpointID
Test
not(@schemeID) or (some $code in $clICD satisfies $code = @schemeID)
Code lists
ISO 6523 International Code Designator (ICD)
Usage
/ espd:ESPDResponse / cac:ContractingParty / cac:Party / cbc:EndpointID / @schemeID