{
  "id": "elf_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Entity legal form code (ELF, ISO 20275)",
  "doc": "Four-character code of a legal form in one jurisdiction, for example a German GmbH or a UK private limited company. ISO 20275 defines the codes and GLEIF maintains the list; LEI records use them to state an entity's legal form. 8888 marks a legal form whose code has been requested from GLEIF, and 9999 an entity that has no separate legal form.",
  "is_pii": false,
  "categories": [
    "companies",
    "legal"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z0-9]{4}$",
  "examples": [
    {
      "value": "2HBR",
      "description": "Germany, Gesellschaft mit beschränkter Haftung (GmbH)",
      "valid": true
    },
    {
      "value": "H0PO",
      "description": "United Kingdom, private limited company",
      "valid": true
    },
    {
      "value": "XTIQ",
      "description": "United States, Delaware corporation",
      "valid": true
    },
    {
      "value": "2HB",
      "description": "three characters",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P10421"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_20275"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P10421"
    },
    {
      "type": "doc",
      "url": "https://www.gleif.org/en/about-lei/code-lists/iso-20275-entity-legal-forms-code-list"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код организационно-правовой формы (ELF, ISO 20275)"
    }
  },
  "quality": {
    "score": 90,
    "missing": [
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/companies/elf_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/companies/elf_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/companies/elf_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/elf_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/elf_code.json"
  }
}