Skip to content

VOC003: UNECE Rec 46 Material Code

Severity: Warning Category: Vocabulary Validation

Description

Material codes must be valid per UNECE Recommendation 46.

Rule Details

This rule validates materialType.code values in materialsProvenance against the UNECE Recommendation 46 material classification codes. This ensures interoperability and standardized material identification across supply chains.

Example

Invalid

{
  "credentialSubject": {
    "materialsProvenance": [
      {
        "name": "Cotton",
        "materialType": {
          "code": "INVALID_CODE"
        }
      }
    ]
  }
}

Message: Invalid material code 'INVALID_CODE' - not found in UNECE Rec 46

Valid

{
  "credentialSubject": {
    "materialsProvenance": [
      {
        "name": "Cotton",
        "materialType": {
          "code": "CO",
          "name": "Cotton"
        }
      }
    ]
  }
}

Common Material Codes

Code Material
CO Cotton
PL Polyester
PA Polyamide/Nylon
WO Wool
SE Silk
VI Viscose
EL Elastane
LI Linen

How to Fix

Use valid UNECE Rec 46 material codes. Refer to the full code list in the UNECE documentation.

References