{
  "metadata": {
    "id": "limelight-3",
    "name": "Limelight 3",
    "type": "sensor",
    "description": "Limelight 3 Smart Camera / Coprocessor. Vision processing with Ethernet, CAN, I2C, and USB connectivity for FRC.",
    "manufacturer": "Limelight",
    "part_number": "Limelight 3",
    "datasheet_url": "https://docs.limelightvision.io/docs/docs-limelight/getting-started/summary",
    "tags": [
      "FRC",
      "camera",
      "vision",
      "coprocessor",
      "Ethernet",
      "CAN"
    ],
    "schema_version": "1.4.0",
    "version": "0.1.0",
    "taxonomy": [
      "sensor.camera",
      "robotics.frc"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "12v-in",
          "name": "12V Input",
          "nominal_voltage_V": 12,
          "voltage_range_V": [
            6,
            16
          ],
          "max_current_mA": 5000
        }
      ],
      "resources": [
        {
          "id": "pwr-in-pos",
          "name": "PWR_IN+",
          "functions": [
            {
              "name": "PWR_IN+",
              "direction": "sink",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "12v-in"
        },
        {
          "id": "pwr-in-neg",
          "name": "PWR_IN-",
          "functions": [
            {
              "name": "PWR_IN-",
              "direction": "sink",
              "signal_class": "ground"
            }
          ],
          "power_domain_id": "12v-in"
        },
        {
          "id": "eth0",
          "name": "ETH0 (RJ45)",
          "functions": [
            {
              "name": "ETH0",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ]
        },
        {
          "id": "usb-a",
          "name": "USB_A",
          "functions": [
            {
              "name": "USB_A",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ]
        },
        {
          "id": "can-h",
          "name": "CAN_H",
          "functions": [
            {
              "name": "CAN_H",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ]
        },
        {
          "id": "can-l",
          "name": "CAN_L",
          "functions": [
            {
              "name": "CAN_L",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ]
        },
        {
          "id": "i2c-scl",
          "name": "I2C_SCL",
          "functions": [
            {
              "name": "I2C_SCL",
              "direction": "bidirectional",
              "signal_class": "clock"
            }
          ]
        },
        {
          "id": "i2c-sda",
          "name": "I2C_SDA",
          "functions": [
            {
              "name": "I2C_SDA",
              "direction": "bidirectional",
              "signal_class": "data"
            }
          ]
        },
        {
          "id": "i2c-pwr",
          "name": "I2C_3V3/5V",
          "functions": [
            {
              "name": "I2C_PWR",
              "direction": "source",
              "signal_class": "power"
            }
          ]
        },
        {
          "id": "i2c-gnd",
          "name": "I2C_GND",
          "functions": [
            {
              "name": "I2C_GND",
              "direction": "source",
              "signal_class": "ground"
            }
          ]
        }
      ],
      "interfaces": [
        {
          "id": "power-in",
          "name": "Power Input",
          "protocol": {
            "type": "power",
            "role": "sink"
          },
          "requires": [
            {
              "function": "PWR_IN+",
              "count": 1
            },
            {
              "function": "PWR_IN-",
              "count": 1
            }
          ],
          "max_instances": 1
        },
        {
          "id": "ethernet-0",
          "name": "Ethernet 0",
          "protocol": {
            "type": "ethernet",
            "role": "peer"
          },
          "requires": [
            {
              "function": "ETH0",
              "count": 1
            }
          ],
          "max_instances": 1,
          "description": "Primary robot network interface"
        },
        {
          "id": "can-bus",
          "name": "CAN Bus (optional)",
          "protocol": {
            "type": "can",
            "role": "slave"
          },
          "requires": [
            {
              "function": "CAN_H",
              "count": 1
            },
            {
              "function": "CAN_L",
              "count": 1
            }
          ],
          "max_instances": 1
        },
        {
          "id": "i2c-bus",
          "name": "I2C Bus (optional)",
          "protocol": {
            "type": "i2c",
            "role": [
              "master",
              "slave"
            ]
          },
          "requires": [
            {
              "function": "I2C_SCL",
              "count": 1
            },
            {
              "function": "I2C_SDA",
              "count": 1
            },
            {
              "function": "I2C_PWR",
              "count": 1
            },
            {
              "function": "I2C_GND",
              "count": 1
            }
          ],
          "max_instances": 1
        }
      ]
    }
  ],
  "node_geometry": {
    "xScale": 0.75,
    "yScale": 1,
    "outline": {
      "preset": "rounded_rectangle"
    }
  }
}