{
    "name": "Image Generator",
    "description": "Карточки с текстом, показателями и своим фоном. Готовые изображения доступны другим модулям без полного доступа к файлам.",
    "version": "1.0.0",
    "permissions": {
        "files.read": {},
        "files.write": {}
    },
    "dependencies": [],
    "requirements": [
        "Pillow==13.0.0"
    ],
    "changes": "Первый выпуск: карточки PNG, загрузка фона, чтение частями и освобождение результата.",
    "source": true,
    "interface": {
        "commands": [],
        "handlers": [],
        "callbacks": [],
        "actions": [],
        "functions": [
            {
                "id": "chunk",
                "fields": {
                    "id": {
                        "type": "string",
                        "max": 64,
                        "required": true
                    },
                    "offset": {
                        "type": "integer",
                        "min": 0,
                        "max": 2097152,
                        "default": 0
                    }
                }
            },
            {
                "id": "release",
                "fields": {
                    "id": {
                        "type": "string",
                        "max": 64,
                        "required": true
                    }
                }
            },
            {
                "id": "render",
                "fields": {
                    "document": {
                        "type": "json",
                        "required": true
                    }
                }
            },
            {
                "id": "upload",
                "fields": {
                    "data": {
                        "type": "string",
                        "max": 24000,
                        "required": true
                    },
                    "offset": {
                        "type": "integer",
                        "min": 0,
                        "max": 2097152,
                        "default": 0
                    },
                    "id": {
                        "type": "string",
                        "max": 64,
                        "default": ""
                    }
                }
            }
        ],
        "signals": [],
        "tasks": [],
        "requests": [],
        "config": {},
        "pages": []
    }
}
