Message

Value MUST be part of code list 'UBLDocumentSchema'.

Context
/ubl:ApplicationResponse/cac:DocumentResponse/cac:DocumentReference/cbc:DocumentTypeCode
Test
matches(normalize-space(.),'^(CN|CAN|PIN)$')
Usage
/ ubl:ApplicationResponse / cac:DocumentResponse / cac:DocumentReference / cbc:DocumentTypeCode