{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/device42/main/json-schema/device42-get-power-unit-return-schema.json",
  "title": "get_power_unit_return",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/device42-openapi.yaml#/components/schemas/get_power_unit_return",
  "type": "object",
  "properties": {
    "total_count": {},
    "offset": {},
    "pdus": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "building": {},
          "pdu_id": {},
          "name": {},
          "pdu_model": {
            "type": "object",
            "properties": {
              "pdu_model_id": {},
              "sequential_numbering_for_ports": {},
              "name": {},
              "width": {},
              "notes": {},
              "height": {},
              "size": {},
              "description": {},
              "width_ratio": {},
              "ports in pdu model": {},
              "back_image": {},
              "type": {},
              "front_image": {},
              "depth": {},
              "port_court": {},
              "manufacturer": {}
            }
          },
          "notes": {},
          "room": {},
          "rack": {},
          "rack_id": {},
          "pdu_serial_no": {},
          "category": {},
          "device_mapping": {
            "type": "object",
            "properties": {
              "hddcount": {},
              "hdd_details": {},
              "name": {},
              "customer_id": {},
              "hw_model_id": {},
              "ucs_manager": {},
              "cpucount": {},
              "serial_no": {},
              "hw_depth": {},
              "mac_addresses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "port": {},
                    "vlan": {},
                    "mac": {},
                    "port_name": {}
                  }
                }
              },
              "nonauthoritativealiases": {},
              "cpucore": {},
              "device_id": {},
              "custom_fields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "value": {},
                    "notes": {},
                    "key": {}
                  }
                }
              },
              "is_it_virtual_host": {},
              "cpuspeed": {},
              "virtual_host_name": {},
              "aliases": {},
              "ip_addresses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "ip": {},
                    "macaddress": {},
                    "subnet": {},
                    "type": {},
                    "subnet_id": {},
                    "label": {}
                  }
                }
              },
              "hw_model": {},
              "preferred_alias": {},
              "device_purchase_line_items": {},
              "is_it_blade_host": {},
              "hddraid": {},
              "pdu_mapping_url": {},
              "device_sub_type": {},
              "tags": {},
              "id": {},
              "asset_no": {},
              "notes": {},
              "in_service": {},
              "customer": {},
              "last_updated": {},
              "hddsize": {},
              "category": {},
              "type": {},
              "osver": {},
              "ram": {},
              "os": {},
              "is_it_switch": {},
              "service_level": {},
              "uuid": {},
              "manufacturer": {},
              "device_external_links": {},
              "hddraid_type": {}
            }
          },
          "type": {},
          "custom_fields": {},
          "gateway_pdu_id": {},
          "building_id": {},
          "room_id": {}
        }
      }
    }
  }
}