{
    "version": { "major": "1", "minor": "0" },
    "domains": [{
        "domain": "SystemInfo",
        "description": "The SystemInfo domain defines methods and events for querying low-level system information.",
        "hidden": true,
        "types": [
            {
                "id": "GPUDevice",
                "type": "object",
                "properties": [
                    { "name": "vendorId", "type": "number", "description": "PCI ID of the GPU vendor, if available; 0 otherwise." },
                    { "name": "deviceId", "type": "number", "description": "PCI ID of the GPU device, if available; 0 otherwise." },
                    { "name": "vendorString", "type": "string", "description": "String description of the GPU vendor, if the PCI ID is not available." },
                    { "name": "deviceString", "type": "string", "description": "String description of the GPU device, if the PCI ID is not available." }
                ],
                "description": "Describes a single graphics processor (GPU)."
            },
            {
                "id": "GPUInfo",
                "type": "object",
                "properties": [
                    { "name": "devices", "type": "array", "items": { "$ref": "GPUDevice" }, "description": "The graphics devices on the system. Element 0 is the primary GPU." },
                    { "name": "auxAttributes", "type": "object", "optional": "true", "description": "An optional dictionary of additional GPU related attributes." },
                    { "name": "featureStatus", "type": "object", "optional": "true", "description": "An optional dictionary of graphics features and their status." },
                    { "name": "driverBugWorkarounds", "type": "array", "items": { "type": "string" }, "description": "An optional array of GPU driver bug workarounds." }
                ],
                "description": "Provides information about the GPU(s) on the system."
            },
            {
                "id": "SystemInfo",
                "type": "object",
                "properties": [
                    { "name": "gpu", "$ref": "GPUInfo", "description": "Information about the GPUs on the system." },
                    { "name": "modelName", "type": "string", "description": "A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro 10.1'. Will be the empty string if not supported." }
                ],
                "description": "Provides information about the system."
            }
        ],
        "commands": [
            {
                "name": "getInfo",
                "description": "Returns information about the system.",
                "returns": [
                    { "name": "info", "$ref": "SystemInfo", "description": "Information about the system." }
                ],
                "handlers": ["browser"]
            }
        ]
    }]
}