{
  "id": "usb_vendor_id",
  "kind": "datatype",
  "status": "draft",
  "name": "USB vendor ID (VID)",
  "doc": "Identifier of a device manufacturer that the USB Implementers Forum assigns. It is written as four hexadecimal digits, sometimes with the prefix 0x, and together with the product ID tells an operating system which driver to load. PCI vendor IDs (pci_vendor_id) have the same form but come from another registry, so use the field name or context.",
  "is_pii": false,
  "categories": [
    "software",
    "identifiers"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:0x)?[0-9A-Fa-f]{4}$",
  "examples": [
    {
      "value": "05ac",
      "description": "Apple",
      "valid": true
    },
    {
      "value": "046d",
      "description": "Logitech",
      "valid": true
    },
    {
      "value": "0x04e8",
      "description": "Samsung Electronics, with the prefix",
      "valid": true
    },
    {
      "value": "5ac",
      "description": "Leading zero lost",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "other",
      "url": "http://www.linux-usb.org/usb.ids"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/USB_Implementers_Forum"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор производителя USB (VID)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/usb_vendor_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/usb_vendor_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/usb_vendor_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/usb_vendor_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/usb_vendor_id.json"
  }
}