{
  "id": "glottocode",
  "kind": "datatype",
  "status": "draft",
  "name": "Glottocode (Glottolog language identifier)",
  "doc": "Identifier of a language, dialect or language family in the Glottolog catalogue. It has four lowercase letters or digits, usually taken from the name, and four digits. Unlike ISO 639-3 (iso639_3) it also covers families and dialects.",
  "is_pii": false,
  "categories": [
    "common",
    "science"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[a-z0-9]{4}\\d{4}$",
  "examples": [
    {
      "value": "stan1293",
      "description": "English",
      "valid": true
    },
    {
      "value": "russ1263",
      "description": "Russian",
      "valid": true
    },
    {
      "value": "sign1238",
      "description": "Pseudo-family of sign languages",
      "valid": true
    },
    {
      "value": "stan129",
      "description": "Three digits",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P1394"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://glottolog.org/glottolog/glottologinformation"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P1394"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код языка Glottolog (глоттокод)"
    }
  },
  "quality": {
    "score": 90,
    "missing": [
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/common/glottocode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/glottocode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/glottocode.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/glottocode",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/glottocode.json"
  }
}