Message

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

Context
/espd-req:ESPDRequest/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-req:ESPDRequest / cac:ContractingParty / cac:Party / cbc:EndpointID / @schemeID