{
  "id": "eclass_class_code",
  "kind": "datatype",
  "status": "draft",
  "name": "ECLASS classification class code",
  "doc": "Coded name of a class in the ECLASS product classification maintained by ECLASS e.V.: eight digits, two for each of four levels (segment, main group, group and commodity class). Higher levels end in 00 pairs. The code is also displayed with hyphens between the pairs.",
  "is_pii": false,
  "categories": [
    "industry",
    "ecommerce"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:\\d{8}|\\d{2}-\\d{2}-\\d{2}-\\d{2})$",
  "examples": [
    {
      "value": "27141120",
      "description": "Feed-through terminal block",
      "valid": true
    },
    {
      "value": "16-04-03-01",
      "description": "Blackberry, in the hyphenated display form",
      "valid": true
    },
    {
      "value": "2714112",
      "description": "Seven digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://eclass.eu/support/technical-specification/structure-and-elements/classification-class"
    },
    {
      "type": "doc",
      "url": "https://eclass.eu/support/guides/guides-for-implementers/classification-class-xml-mapping"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/industry/eclass_class_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/industry/eclass_class_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/industry/eclass_class_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/eclass_class_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/eclass_class_code.json"
  }
}