Message

Value MUST be part of code list 'Period Types' or 'UN/ECE Recommandation 20'.

Context
ccv:Requirement/ccv:Response/cbc:Quantity
Test
not(@unitCode) or (some $code in $clespd-PeriodMeasureTypeCodes satisfies $code = @unitCode) or (some $code in $clespd-UNECERec20 satisfies $code = @unitCode)
Code lists
Period Types, UN/ECE Recommandation 20
Usage
/ espd:ESPDResponse / ccv:Criterion / ccv:RequirementGroup / ccv:Requirement / ccv:Response / cbc:Quantity / @unitCode