{
  "id": "lcnaf_id",
  "kind": "datatype",
  "status": "draft",
  "name": "Library of Congress authority ID (LCCN of an authority record)",
  "doc": "Identifier of a name, subject or genre authority record of the Library of Congress: a prefix such as n, nb, nr, no or sh, then the year and a serial number. It is used in library catalogues and in id.loc.gov.",
  "parent": "lccn",
  "is_pii": false,
  "categories": [
    "publishing",
    "objectids"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(cf|ct|gf|n|nb|nr|no|ns|sh|sj)([4-9][0-9]|00|01|20[0-2][0-9])[0-9]{6}$",
  "examples": [
    {
      "value": "sh2020006558",
      "description": "astronomical survey",
      "valid": true
    },
    {
      "value": "n81092084",
      "description": "Royal Society for the Prevention of Cruelty to Animals",
      "valid": true
    },
    {
      "value": "n84023326",
      "description": "Baranagar",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P244"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Library_of_Congress_Name_Authority_File"
    },
    {
      "type": "doc",
      "url": "https://id.loc.gov/authorities/names.html"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P244"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/US/publishing/lcnaf_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/publishing/lcnaf_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/publishing/lcnaf_id.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/lcnaf_id",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/lcnaf_id.json"
  }
}