{
  "metadata": {
    "id": "caddx-ratel-2",
    "name": "Caddx Ratel 2 FPV Camera",
    "type": "fpv_camera",
    "description": "Analog FPV camera for quadcopters with CVBS video output.",
    "manufacturer": "Caddx",
    "part_number": "Ratel 2",
    "datasheet_url": "https://www.bzbuas.com/shop/mn01-2000b-caddx-ratel-2-fpv-camera-black-613",
    "tags": [
      "analog",
      "fpv",
      "camera",
      "caddx",
      "cvbs"
    ],
    "schema_version": "1.4.0",
    "version": "0.2.0",
    "taxonomy": [
      "robotics.rc"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "vin",
          "name": "Camera Power",
          "nominal_voltage_V": 12,
          "voltage_range_V": [
            5,
            36
          ],
          "isolation_type": "non_isolated",
          "ground_reference": "common",
          "description": "Camera supply voltage."
        }
      ],
      "resources": [
        {
          "id": "power_in_pos",
          "name": "Power In +",
          "description": "Camera supply positive input.",
          "functions": [
            {
              "name": "power_input",
              "description": "Power input",
              "direction": "sink",
              "signal_class": "power"
            }
          ],
          "power_domain_id": "vin",
          "current_rating": {
            "sink": {
              "max_continuous_mA": 300
            }
          }
        },
        {
          "id": "power_in_gnd",
          "name": "Power In GND",
          "description": "Camera ground return.",
          "functions": [
            {
              "name": "ground",
              "description": "Ground reference",
              "direction": "sink",
              "signal_class": "ground"
            }
          ],
          "power_domain_id": "vin",
          "current_rating": {
            "sink": {
              "max_continuous_mA": 300
            }
          }
        },
        {
          "id": "video_out",
          "name": "Analog Video Out",
          "description": "Analog composite (CVBS) video output.",
          "functions": [
            {
              "name": "analog_output",
              "description": "Analog video output",
              "direction": "source",
              "signal_class": "data"
            }
          ],
          "power_domain_id": "vin"
        }
      ],
      "interfaces": [
        {
          "id": "power_in_ifc",
          "name": "Power In",
          "protocol": {
            "type": "power",
            "role": "input"
          },
          "requires": [
            {
              "function": "power_input",
              "count": 1
            },
            {
              "function": "ground",
              "count": 1
            }
          ],
          "description": "Camera power input."
        },
        {
          "id": "video_out_ifc",
          "name": "Analog Video Out",
          "protocol": {
            "type": "analog",
            "role": "transmitter"
          },
          "requires": [
            {
              "function": "analog_output",
              "count": 1
            }
          ],
          "description": "Analog video output (CVBS/NTSC/PAL)."
        }
      ],
      "supply_voltage_V": [
        5,
        36
      ],
      "power_consumption_mW": 1200,
      "pin_count": 4
    }
  ],
  "design_rules": [
    "Provide clean power to minimize video noise."
  ],
  "validation_requirements": [
    "Ensure analog video compatibility with VTX."
  ],
  "usage_notes": "Analog FPV camera that outputs CVBS video to a 5.8GHz analog VTX.",
  "application_examples": [
    "Analog FPV freestyle quad",
    "Analog FPV racing quad"
  ],
  "compatibility_notes": "Analog video output only (CVBS).",
  "warnings": [
    "Use proper filtering if power noise is present."
  ],
  "node_geometry": {
    "xScale": 1,
    "yScale": 1,
    "outline": {
      "preset": "rounded_rectangle"
    }
  }
}