{
  "id": "imdb_id",
  "kind": "datatype",
  "status": "draft",
  "name": "IMDb ID",
  "doc": "Identifier of a page in the Internet Movie Database: a two-letter prefix and seven or eight digits. tt is a title (film, series, episode or game), nm a person or group, co a company, ev an event, ch a character and ni a news item. An event edition adds the year, as in ev0000003/2015. Some datasets store title IDs without the tt prefix, as the digits only (MovieLens writes 0114709 for tt0114709); the regexp does not accept that form.",
  "is_pii": false,
  "categories": [
    "media",
    "objectids"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:(?:tt|nm|co|ch|ni)\\d{7,8}|ev\\d{7}(?:/(?:19|20)\\d{2}(?:/[12])?)?)$",
  "examples": [
    {
      "value": "tt0068646",
      "description": "The Godfather",
      "valid": true
    },
    {
      "value": "tt0114709",
      "description": "Toy Story",
      "valid": true
    },
    {
      "value": "nm1397313",
      "description": "The Beatles",
      "valid": true
    },
    {
      "value": "co0071326",
      "description": "Lucasfilm",
      "valid": true
    },
    {
      "value": "ch0000985",
      "description": "Harry Potter",
      "valid": true
    },
    {
      "value": "ev0000003/2015",
      "description": "87th Academy Awards",
      "valid": true
    },
    {
      "value": "ni61008607",
      "description": "‘Captain Marvel’ Finds Directors in Anna Boden, Ryan Fleck (EXCLUSIVE)",
      "valid": true
    },
    {
      "value": "0114709",
      "description": "Toy Story without the tt prefix, as in the MovieLens links file",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P345"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/IMDb"
    },
    {
      "type": "doc",
      "url": "https://developer.imdb.com/documentation/key-concepts"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P345"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор IMDb",
      "doc": "Идентификатор страницы в Internet Movie Database из двухбуквенного префикса (tt, nm, co, ev, ch, ni) и семи или восьми цифр."
    }
  },
  "detected_by": {
    "tools": [
      "greatexpectations"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/media/imdb_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/media/imdb_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/media/imdb_id.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/imdb_id",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/imdb_id.json"
  }
}