{
  "metadata": {
    "id": "mk-es17-12-battery",
    "name": "MK Battery ES17-12",
    "type": "battery",
    "description": "12V 18AH sealed lead-acid battery commonly used in FRC robots. MK Battery ES17-12 (ES17-12S variant).",
    "manufacturer": "MK Battery",
    "part_number": "ES17-12",
    "datasheet_url": "https://www.mkbattery.com/application/files/6715/5829/0413/ES17-12.pdf",
    "tags": [
      "FRC",
      "battery",
      "12V",
      "18AH",
      "SLA",
      "lead-acid"
    ],
    "schema_version": "1.4.0",
    "version": "0.1.0",
    "taxonomy": [
      "power.battery",
      "robotics.frc"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "battery-output",
          "name": "Battery Output",
          "nominal_voltage_V": 12,
          "voltage_range_V": [
            10.5,
            13.8
          ],
          "max_current_mA": 120000,
          "description": "Main battery output for FRC robot"
        }
      ],
      "resources": [
        {
          "id": "bat-pos",
          "name": "BAT+",
          "functions": [
            {
              "name": "power_output",
              "direction": "source",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "battery-output",
          "connector_type": "terminal"
        },
        {
          "id": "bat-neg",
          "name": "BAT-",
          "functions": [
            {
              "name": "ground",
              "direction": "source",
              "signal_class": "ground"
            }
          ],
          "power_domain_id": "battery-output",
          "connector_type": "terminal"
        }
      ],
      "interfaces": [
        {
          "id": "battery-out",
          "name": "Battery Output",
          "protocol": {
            "type": "power",
            "role": "source"
          },
          "requires": [
            {
              "function": "power_output",
              "count": 1
            },
            {
              "function": "ground",
              "count": 1
            }
          ],
          "max_instances": 1,
          "description": "Main battery output to PDH/PDP"
        }
      ]
    }
  ],
  "custom_fields": [
    {
      "key": "capacity_ah",
      "type": "number",
      "label": "Capacity (Ah)",
      "description": "Battery capacity in Amp-hours",
      "default": 18
    },
    {
      "key": "chemistry",
      "type": "string",
      "label": "Chemistry",
      "description": "Battery chemistry type",
      "default": "Lead-Acid (SLA)"
    }
  ],
  "warnings": [
    "Always disconnect battery before working on robot electrical system",
    "Use appropriate breaker and fusing per FRC rules",
    "Do not discharge below 10.5V to avoid damage",
    "Charge with appropriate SLA charger only"
  ],
  "node_geometry": {
    "xScale": 1.5,
    "yScale": 1,
    "outline": {
      "preset": "rounded_rectangle"
    }
  }
}