{
  "id": "us_patent_number",
  "kind": "datatype",
  "status": "draft",
  "name": "US patent number",
  "doc": "Number of a United States patent document with the US country code and, often, the WIPO ST.16 kind code, as the USPTO recommends: for example \"US 8,273,349 B2\" for a granted patent. Granted utility patents have up to eight digits; prefixes mark reissues (RE), plant patents (PP), design patents (D) and statutory invention registrations (H). Patent application publications have the publication year and a seven-digit number; some sources, PubChem among them, drop the leading zero of that number. PubChem writes the parts with hyphens, as US-8273349-B2. Bare numbers without the US code are not covered.",
  "is_pii": false,
  "categories": [
    "legal"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^US[- ]?(?:\\d{4}/?\\d{6,7}|\\d{1,3}(?:,?\\d{3}){1,2}|RE\\d{1,2},?\\d{3}|PP\\d{1,2},?\\d{3}|D\\d{1,3},?\\d{3}|H\\d{1,4})(?:[- ]?[A-Z]\\d?)?$",
  "examples": [
    {
      "value": "US-8273349-B2",
      "description": "Granted patent, as PubChem writes it",
      "valid": true
    },
    {
      "value": "US 8,273,349 B2",
      "description": "The same patent, as the USPTO recommends",
      "valid": true
    },
    {
      "value": "US-4237089-A",
      "description": "Patent granted before 2001",
      "valid": true
    },
    {
      "value": "US-20140213558-A1",
      "description": "Patent application publication",
      "valid": true
    },
    {
      "value": "US-2004121015-A1",
      "description": "Patent application publication without the leading zero of the number",
      "valid": true
    },
    {
      "value": "US-RE38496-E1",
      "description": "Reissue patent",
      "valid": true
    },
    {
      "value": "US-D693998-S1",
      "description": "Design patent",
      "valid": true
    },
    {
      "value": "EP-3319929-A1",
      "description": "European patent publication",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/United_States_patent_law"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Kind_code"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P1246"
    },
    {
      "type": "doc",
      "url": "https://www.uspto.gov/learning-and-resources/support-centers/electronic-business-center/kind-codes-included-uspto-patent"
    }
  ],
  "translations": {
    "ru": {
      "name": "Номер патента США",
      "doc": "Номер патентного документа США с кодом страны и, как правило, кодом вида документа по стандарту ВОИС ST.16."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/US/legal/us_patent_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/legal/us_patent_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/legal/us_patent_number.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/us_patent_number",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/us_patent_number.json"
  }
}