{
  "metadata": {
    "id": "rev-31-1387",
    "name": "REV Switch Cable and Bracket",
    "description": "Inline panel-mount power switch assembly with XT30 connectors for switching a DC supply line.",
    "manufacturer": "REV Robotics",
    "part_number": "REV-31-1387",
    "datasheet_url": "https://www.revrobotics.com/rev-31-1387/",
    "tags": [
      "switch",
      "power",
      "xt30"
    ],
    "schema_version": "1.4.0",
    "version": "1.3",
    "taxonomy": [
      "connector.power_connector",
      "robotics.ftc"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "resources": [
        {
          "id": "pwr_in",
          "name": "Power Input (XT30)",
          "description": "Upstream power input side of the inline switch.",
          "functions": [
            {
              "name": "POWER_IN",
              "direction": "sink",
              "signal_class": "power"
            }
          ],
          "connector_type": "xt30"
        },
        {
          "id": "pwr_out",
          "name": "Power Output (XT30)",
          "description": "Downstream power output side of the inline switch.",
          "functions": [
            {
              "name": "POWER_OUT",
              "direction": "source",
              "signal_class": "power"
            }
          ],
          "connector_type": "xt30"
        }
      ],
      "interfaces": [
        {
          "id": "inline-power-switch",
          "name": "Inline Power Switch",
          "protocol": {
            "type": "power",
            "role": "peer"
          },
          "requires": [
            {
              "function": "POWER_IN",
              "count": 1
            },
            {
              "function": "POWER_OUT",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1,
            "requires_connector_type": "xt30"
          },
          "description": "Inline switched power path: input side connects to supply, output side connects to load."
        }
      ]
    }
  ],
  "usage_notes": "Connect POWER_IN to the upstream supply and POWER_OUT to the downstream load (e.g., hub). Switch controls continuity between the two sides.",
  "application_examples": [
    "Main inline power switch for robot electronics",
    "Switching power to a hub/controller"
  ],
  "warnings": [
    "Install in a properly sized panel cutout and ensure wiring/connectors are current-rated for the application."
  ]
}