{
  "id": "giai",
  "kind": "datatype",
  "status": "draft",
  "name": "Global Individual Asset Identifier (GIAI)",
  "doc": "GS1 identification key for one asset that a company owns or uses, such as a machine, a computer or an aircraft part. It is a GS1 Company Prefix followed by an individual asset reference, up to 30 characters of GS1 character set 82 in total; the first four characters are digits because the shortest GS1 Company Prefix has four. Application Identifier (8004) carries it, and (7023) carries the GIAI of an assembly; the element strings are the patterns gs1_ai_8004 and gs1_ai_7023.",
  "patterns": [
    "gs1_ai_7023",
    "gs1_ai_8004"
  ],
  "is_pii": false,
  "categories": [
    "gs1",
    "objectids"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{4}[!%-?A-Z_a-z\\x22]{0,26}$",
  "examples": [
    {
      "value": "9528765ASSET-7781",
      "description": "Synthetic value with the GS1 demonstration prefix 952 and an asset reference",
      "valid": true
    },
    {
      "value": "9528765PC-0193",
      "description": "Synthetic value with the GS1 demonstration prefix 952 and an asset reference",
      "valid": true
    },
    {
      "value": "ASSET-7781",
      "description": "Does not start with a GS1 Company Prefix",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/8004"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/ai/7023"
    },
    {
      "type": "doc",
      "url": "https://ref.gs1.org/standards/genspecs/"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/gs1/giai.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/gs1/giai.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/gs1/giai.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/giai",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/giai.json"
  }
}