{
  "metadata": {
    "id": "rev-41-1300-core-hex-motor",
    "name": "REV Core Hex Motor",
    "type": "motor",
    "taxonomy": [
      "actuator.motor.dc_motor",
      "robotics.ftc"
    ],
    "tags": [
      "rev",
      "ftc",
      "motor",
      "dc-motor",
      "encoder",
      "hex-shaft"
    ],
    "version": "1.5",
    "manufacturer": "REV Robotics",
    "part_number": "REV-41-1300",
    "schema_version": "1.4.0"
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "pd_motor",
          "name": "Motor Power",
          "nominal_voltage_V": 12,
          "max_current_mA": 5000
        },
        {
          "id": "pd_logic",
          "name": "Encoder Logic",
          "nominal_voltage_V": 5,
          "voltage_range_V": [
            3.3,
            5
          ],
          "max_current_mA": 100
        }
      ],
      "resources": [
        {
          "id": "jst_vh_2_motor",
          "name": "Motor Power (JST-VH 2-pin)",
          "connector_type": "JST-VH-2",
          "power_domain_id": "pd_motor",
          "functions": [
            "motor_power"
          ]
        },
        {
          "id": "jst_ph_4_encoder",
          "name": "Encoder (JST-PH 4-pin)",
          "connector_type": "JST-PH-4",
          "power_domain_id": "pd_logic",
          "functions": [
            "encoder"
          ]
        }
      ],
      "interfaces": [
        {
          "id": "motor_power",
          "name": "Motor Power",
          "protocol": {
            "type": "brushed_motor_power",
            "role": "actuator"
          },
          "requires": [
            {
              "function": "motor_power",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1,
            "requires_connector_type": "JST-VH-2"
          }
        },
        {
          "id": "encoder_port",
          "name": "Encoder Port",
          "protocol": {
            "type": "quadrature",
            "role": "encoder"
          },
          "requires": [
            {
              "function": "encoder",
              "count": 1
            }
          ],
          "constraints": {
            "max_connections": 1,
            "requires_matching_voltage_domain": true,
            "requires_connector_type": "JST-PH-4"
          }
        }
      ]
    },
    {
      "domain": "mechanical",
      "resources": [],
      "interfaces": []
    }
  ]
}