{
  "id": "iso639_1",
  "kind": "pattern",
  "status": "draft",
  "name": "ISO 639-1 language code (two letters)",
  "doc": "Two-letter code of a language from ISO 639-1, such as en (English), de (German) or ja (Japanese). About 180 languages have such a code. It is written in lowercase, but data sets often use uppercase.",
  "semantic_type": "language",
  "is_pii": false,
  "categories": [
    "common"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:[a-z]{2}|[A-Z]{2})$",
  "examples": [
    {
      "value": "en",
      "description": "English",
      "valid": true
    },
    {
      "value": "de",
      "description": "German",
      "valid": true
    },
    {
      "value": "JA",
      "description": "Japanese, in uppercase",
      "valid": true
    },
    {
      "value": "eng",
      "description": "a three-letter ISO 639-2 code",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "LANGUAGE.ISO-639-1",
    "wikidata": "P218"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_639-1"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P218"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код языка ISO 639-1"
    }
  },
  "detected_by": {
    "tools": [
      "fta",
      "greatexpectations",
      "talend"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/common/iso639_1.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/common/iso639_1.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/common/iso639_1.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/iso639_1",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/iso639_1.json"
  }
}