{
    "domain": "Memory",
    "types": [
        {
            "id": "MemoryBlock",
            "type": "object",
            "properties": [
                { "name": "size", "type": "number", "optional": true, "description": "Size of the block in bytes if available" },
                { "name": "name", "type": "string", "description": "Unique name used to identify the component that allocated this block" },
                { "name": "children", "type": "array", "optional": true, "items": { "$ref": "MemoryBlock" }}
            ]
        }
    ],
    "commands": [
        {
            "name": "getDOMCounters",
            "returns": [
                { "name": "documents", "type": "integer" },
                { "name": "nodes", "type": "integer" },
                { "name": "jsEventListeners", "type": "integer" }
            ]
        }
    ]
}
