{
    "$id": "https://alwaysai.co/device-stats-schema.json",
    "$schema": "https://json-schema.org/draft/2019-09/schema",
    "title": "device_stats",
    "type": "object",
    "properties": {
        "cpuUsage": {
            "type": "number",
            "description": "The percentage of the CPU that is currently being used."
        },
        "diskUtil": {
            "type": "number",
            "description": "The percentage of the drive storage that is being used."
        },
        "usedMemoryPercentage": {
            "type": "number",
            "description": "The percentage of the memory that is being used."
        },
        "cpuDetails": {
            "type": "object",
            "description": "CPU utilization information",
            "properties": {
                "usedPerc": {
                    "type": ["number"]
                },
                "temperature": {
                    "type": ["number"]
                }
            }
        },
        "diskDetails": {
            "type": "object",
            "description": "Disk utilization information",
            "properties": {
                "usedGb": {
                    "type": ["number"]
                },
                "freeGb": {
                    "type": ["number"]
                }
            }
        },
        "memDetails": {
            "type": "object",
            "description": "Memory utilization information",
            "properties": {
                "usedMb": {
                    "type": ["number"]
                },
                "freeMb": {
                    "type": ["number"]
                }
            }
        }
    },
    "required": []
}
