{
  "format": 1, "part": "usb-b-socket", "version": "0.2.0", "title": "USB type-B socket", "license": "MIT OR Apache-2.0",
  "summary": "Right-angle USB 2.0 type-B receptacle. Leads 1 to 4 are VBUS, D-, D+ and GND. Leads 5 and 6 are the shell.",
  "tags": ["usb", "connector", "socket", "through-hole"],
  "docs": {
    "Amphenol 61729": null,
    "USB 2.0 specification": null,
  },
  "real": { "generic": true, "maker": "Amphenol", "number": "61729", "datasheet": "Amphenol 61729" },
  "pins": { "VBUS": [1], "DM": [2], "DP": [3], "GND": [4], "SHIELD": [5, 6] },
  "model": {
    "host": {
      "kind": "voltage_source",
      "voltage": { "value": 5.0, "unit": "V", "source": { "datasheet": { "doc": "USB 2.0 specification", "at": "VBUS nominal 5.0 V, the center of the high-power range 4.75 V to 5.25 V", "basis": "nominal" } } },
      // The current is the host's, out of VBUS. The board is a high-power function, which may draw
      // 500 mA once configured. A port's over-current protection removes power somewhere above that.
      "ratings": { "current": { "value": 0.5, "unit": "A", "source": { "datasheet": { "doc": "USB 2.0 specification", "at": "Table 7-7, page 178: ICCHPF, High-power Function (in), 500 mA max", "basis": "max" } } } },
      "pins": { "p": "VBUS", "n": "GND" },
    },
  },
  "not_simulated": [{ "what": "USB data and shield", "pins": ["DM", "DP", "SHIELD"], "why": "The host's 5 V stands in for a plugged cable. USB data is not modeled." }],
}
