{
  "id": "isbn",
  "kind": "datatype",
  "status": "stable",
  "name": "International Standard Book Number (ISBN)",
  "doc": "ISO 2108 identifier of a book edition, in either of its two forms: the 10-character ISBN used until 2007, whose last character is a check digit or X (isbn10), and the 13-digit ISBN with the prefix 978 or 979 used since then (isbn13). Use this record when a column mixes both forms. The regexp accepts the compact form and the form with hyphens or spaces between the parts.",
  "children": [
    "isbn10",
    "isbn13"
  ],
  "is_pii": false,
  "categories": [
    "publishing",
    "objectids"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:(?:\\d[- ]?){9}[\\dX]|97[89](?:[- ]?\\d){10})$",
  "examples": [
    {
      "value": "9780521293662",
      "description": "Hamlet, Prince of Denmark",
      "valid": true
    },
    {
      "value": "0-521-29366-9",
      "description": "The same book with its ISBN-10",
      "valid": true
    },
    {
      "value": "052122151X",
      "description": "ISBN-10 with the check character X",
      "valid": true
    },
    {
      "value": "9770521293662",
      "description": "Thirteen digits without the prefix 978 or 979",
      "valid": false
    }
  ],
  "mappings": {
    "schema_org": "isbn",
    "sherlock": "isbn",
    "stdnum": "isbn"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number"
    },
    {
      "type": "doc",
      "url": "https://www.isbn-international.org/"
    },
    {
      "type": "schema.org",
      "url": "https://schema.org/isbn"
    }
  ],
  "translations": {
    "ru": {
      "name": "Международный стандартный книжный номер (ISBN)",
      "doc": "Идентификатор издания книги по ISO 2108 из 10 или 13 символов; последний символ контрольный."
    }
  },
  "detected_by": {
    "tools": [
      "collibra",
      "doduo",
      "greatexpectations",
      "ibmknowledgecatalog",
      "metacrafter",
      "pythonstdnum",
      "sato",
      "sherlock",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "isbnfield",
        "type": "field",
        "match": "text",
        "file": "common/media.yaml"
      },
      {
        "rule": "isbnvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/media.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/publishing/isbn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/publishing/isbn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/publishing/isbn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/isbn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/isbn.json"
  }
}