Message

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

Context
/espd-req:ESPDRequest/cac:ContractingParty/cac:Party/cac:PartyIdentification/cbc:ID
Test
not(@schemeID) or (some $code in $clespd-ICD satisfies $code = @schemeID)
Code lists
ISO 6523 International Code Designator (ICD)
Usage
/ espd-req:ESPDRequest / cac:ContractingParty / cac:Party / cac:PartyIdentification / cbc:ID / @schemeID