{
  "id": "gln",
  "kind": "datatype",
  "status": "stable",
  "name": "Global Location Number (GLN)",
  "doc": "The Global Location Number (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations.",
  "patterns": [
    "gs1_ai_410",
    "gs1_ai_411",
    "gs1_ai_412",
    "gs1_ai_413",
    "gs1_ai_414",
    "gs1_ai_415",
    "gs1_ai_416",
    "gs1_ai_417"
  ],
  "is_pii": false,
  "categories": [
    "geo",
    "gs1"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{13}$",
  "checksum": "gs1_mod10",
  "examples": [
    {
      "value": "0865321000104",
      "description": "Google",
      "valid": true
    },
    {
      "value": "0860484000404",
      "description": "The Coca-Cola Company",
      "valid": true
    },
    {
      "value": "0860484000405",
      "description": "Last digit changed: fails the GS1 check digit",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "gln",
    "fhir": "http://www.gs1.org/gln",
    "schema_org": "globalLocationNumber",
    "wikidata": "P9860"
  },
  "links": [
    {
      "type": "schema.org",
      "url": "https://schema.org/globalLocationNumber"
    },
    {
      "type": "other",
      "url": "https://www.gs1.org/standards/id-keys/gln"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Global_Location_Number"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P9860"
    }
  ],
  "detected_by": {
    "tools": [
      "autotype",
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "glnfield",
        "type": "field",
        "match": "text",
        "file": "common/geo.yaml"
      },
      {
        "rule": "glnvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/geo.yaml"
      },
      {
        "rule": "gs1_glnfield",
        "type": "field",
        "match": "text",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "gs1_glnvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/gs1.yaml"
      },
      {
        "rule": "objects_glnfield",
        "type": "field",
        "match": "text",
        "file": "common/objects.yaml"
      },
      {
        "rule": "objects_glnvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/objects.yaml"
      }
    ]
  },
  "quality": {
    "score": 95,
    "missing": [
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/gln.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/gln.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/gln.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/gln",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/gln.json"
  }
}