{
  "id": "eli",
  "kind": "datatype",
  "status": "draft",
  "name": "European Legislation Identifier (ELI)",
  "doc": "HTTP URI that identifies a piece of legislation under the European Legislation Identifier framework. Each jurisdiction defines its own URI template from common components such as jurisdiction, type, year, number, version and language, in an order it chooses; the EU level uses data.europa.eu/eli/. There is no fixed syntax: the regexp only requires a web URI with an /eli/ path segment, which every known implementation has but the framework does not mandate.",
  "is_pii": false,
  "categories": [
    "legal",
    "government"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^https?://[A-Za-z0-9.-]+(?:/[^\\s/?#]+)*/eli/[^\\s?#]+$",
  "examples": [
    {
      "value": "http://data.europa.eu/eli/dir/2009/138/oj",
      "description": "ELI of Directive 2009/138/EC",
      "valid": true
    },
    {
      "value": "https://www.fedlex.admin.ch/eli/cc/1999/404/de",
      "description": "ELI of a Swiss federal act",
      "valid": true
    },
    {
      "value": "http://www.irishstatutebook.ie/eli/2012/act/10/enacted/en",
      "description": "ELI of an Irish act",
      "valid": true
    },
    {
      "value": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679",
      "description": "A EUR-Lex link without an ELI path",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/European_Legislation_Identifier"
    },
    {
      "type": "doc",
      "url": "https://data.consilium.europa.eu/doc/document/ST-14172-2017-INIT/en/pdf"
    },
    {
      "type": "doc",
      "url": "https://op.europa.eu/documents/2050822/2138819/ELI+Implementation+Methodology.pdf"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/legal/eli.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/legal/eli.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/legal/eli.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/eli",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/eli.json"
  }
}