{
  "id": "upc",
  "kind": "datatype",
  "status": "draft",
  "name": "Universal Product Code (UPC) by field name",
  "doc": "Universal Product Code (UPC) by field name code",
  "is_pii": false,
  "categories": [
    "gs1"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "checksum": "gtin",
  "mappings": {
    "autotype": "upc",
    "fta": "CHECKDIGIT.UPC",
    "schema_org": "gtin12",
    "stdnum": "ean"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Universal_Product_Code"
    }
  ],
  "detected_by": {
    "tools": [
      "autotype",
      "fta",
      "greatexpectations",
      "ibmknowledgecatalog",
      "metacrafter",
      "pythonstdnum"
    ],
    "metacrafter_rules": [
      {
        "rule": "upcfield",
        "type": "field",
        "match": "text",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "upcvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      }
    ]
  },
  "quality": {
    "score": 45,
    "missing": [
      "longer description",
      "regexp",
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/upc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/upc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/upc.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/upc",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/upc.json"
  }
}