Message

Value MUST be part of code list 'Size type code (TRED8155)'.

Context
/ubl:DespatchAdvice/cac:Shipment/cac:TransportHandlingUnit/cac:TransportEquipment/cbc:SizeTypeCode
Test
(some $code in $clTRED8155 satisfies $code = normalize-space(text()))
Code lists
Size type code (TRED8155)
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit / cac:TransportEquipment / cbc:SizeTypeCode