{
  "id": "casrn",
  "name": "CAS Registry Number",
  "status": "draft",
  "doc": "Identifier that the Chemical Abstracts Service (CAS) gives to a chemical substance: two to seven digits, a hyphen, two digits, a hyphen and a check digit.",
  "categories": [
    {
      "id": "chemistry",
      "name": "Chemistry"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "classification": "identifier",
  "regexp": "^[1-9]\\d{1,6}-\\d{2}-\\d$",
  "examples": [
    {
      "value": "7732-18-5",
      "description": "Water"
    },
    {
      "value": "64-17-5",
      "description": "Ethanol"
    },
    {
      "value": "50-00-0",
      "description": "Formaldehyde"
    },
    {
      "value": "7732-18-57",
      "valid": false,
      "description": "One character too many"
    }
  ],
  "mappings": {
    "autotype": "cas",
    "wikidata": "P231",
    "bioregistry": "cas",
    "stdnum": "casrn"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/CAS_Registry_Number"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P231"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.casrn.html"
    }
  ],
  "type": "datatype",
  "wikidata_property": "P231",
  "translations": {}
}