{

    "bmc.kepler.Systems.GraphicalConsole": {

        "properties": {

            "PersistentUSBConnectionEnabled": {

                "baseType": "Boolean",

                "readOnly": false,

                "description": "虚拟键鼠是否支持连接",

                "example": true

            },

            "VideoEnabled": {

                "baseType": "Boolean",

                "readOnly": true,

                "description": "录像使能",

                "default": true

            },

            "ScreenshotEnabled": {

                "baseType": "Boolean",

                "readOnly": true,

                "description": "最后一屏使能",

                "default": true

            },

            "VideoAttributes": {

                "baseType": "Array",

                "items": {

                    "$ref": "#/defs/VideoItem"

                },

                "readOnly": true,

                "description": "录像文件信息",

                "example": [

                    [

                        0,

                        "",

                        ""

                    ],

                    [

                        0,

                        "",

                        ""

                    ],

                    [

                        121212,

                        "2025-01-01 00:00:00",

                        "caterror"

                    ]

                ]

            },

            "ScreenshotAttributes": {

                "baseType": "Array",

                "items": {

                    "$ref": "#/defs/ScreenshotItem"

                },

                "readOnly": true,

                "description": "截屏文件信息",

                "example": [

                    [

                        121212,

                        "2025-01-01 00:00:00",

                        "Auto"

                    ],

                    [

                        121212,

                        "2025-01-01 00:04:12",

                        "Manual"

                    ],

                    [

                        0,

                        "",

                        ""

                    ]

                ]

            },

            "AutoOSLockEnabled": {

                "baseType": "Boolean",

                "default": false,

                "readOnly": false,

                "description": "系统自动锁定使能"

            },

            "AutoOSLockType": {

                "baseType": "String",

                "readOnly": false,

                "description": "系统自动锁定方式,取值:Custom(自定义快捷键)、Windows(Windows默认锁定快捷键)",

                "example": "Custom"

            },

            "AutoOSLockKey": {

                "baseType": "String[]",

                "readOnly": false,

                "description": "系统自动锁定自定义快捷键",

                "example": [

                    "A"

                ]

            },

            "AutoScreenshotTriggers": {

                "baseType": "U32[]",

                "readOnly": false,

                "description": "自动截屏触发类型,取值:0:PowerOff,1: OSReset,2:CatError",

                "example": [

                    0,

                    1

                ]

            },

            "DisableKeyboardDuringBiosStartup": {

                "baseType": "Boolean",

                "readOnly": false,

                "default": false,

                "description": "BIOS启动过程中是否允许kvm键盘输入"

            }

        },

        "methods": {

            "SetPersisUSBConnEnabled": {

                "description": "设置虚拟键鼠是否支持连接",

                "req": {

                    "Enabled": {

                        "description": "是/否",

                        "baseType": "Boolean"

                    }

                },

                "rsp": {

                    "Result": {

                        "description": "设置结果",

                        "baseType": "S32"

                    }

                }

            },

            "CaptureScreenshot": {

                "description": "手动截屏",

                "req": {

                    "Mode": {

                        "description": "手动截屏模式(是否唤醒屏幕)",

                        "baseType": "U8"

                    },

                    "DstPath": {

                        "description": "目标路径",

                        "baseType": "String"

                    }

                },

                "rsp": {

                    "TaskId": {

                        "description": "创建的任务标识",

                        "baseType": "U32"

                    } 

                }

            },

            "RemoveScreenshot": {

                "description": "删除手动截屏",

                "req": {},

                "rsp": {}

            },

            "CreateVideoPlayToken": {

                "description": "登录录像播放服务",

                "req": {

                    "WebToken": {

                        "description": "Web端Token",

                        "baseType": "String"

                    },

                    "VideoName": {

                        "description": "录像名称",

                        "baseType": "String",

                        "enum": [

                            "LocalVideo",

                            "OsresetVideo",

                            "CaterrorVideo",

                            "PoweroffVideo"

                        ]

                    }

                },

                "rsp": {

                    "VideoPlayToken": {

                        "description": "播放录像Token",

                        "baseType": "String"

                    },

                    "VideoType": {

                        "description": "录像类型",

                        "baseType": "U8"

                    }

                }

            },

            "ExportVideo": {

                "description": "导出录像文件",

                "req": {

                    "VideoName": {

                        "description": "录像名称",

                        "baseType": "String",

                        "enum": [

                            "OsresetVideo",

                            "CaterrorVideo",

                            "PoweroffVideo"

                        ]

                    },

                    "DstPath": {

                        "description": "导出路径",

                        "baseType": "String"

                    }

                },

                "rsp": {

                    "TaskId": {

                        "description": "创建的任务标识",

                        "baseType": "U32"

                    }

                }

            },

            "ExportScreenshots": {

                "description": "导出截图文件",

                "req": {

                    "DstPath": {

                        "description": "导出路径",

                        "baseType": "String"

                    }

                },

                "rsp": {

                    "TaskId": {

                        "description": "创建的任务标识",

                        "baseType": "U32"

                    }

                }

            },

            "EnableGraphicDisplay": {

                "description": "使能图像通道",

                "req": {},

                "rsp": {}

            }

        }

    },

    "defs": {

        "VideoItem": {

            "VideoSizeByte": {

                "baseType": "U32"

            },

            "CreateTime": {

                "baseType": "String"

            },

            "VideoType": {

                "baseType": "String"

            }

        },

        "ScreenshotItem": {

            "ScreenshotSizeByte": {

                "baseType": "U32"

            },

            "CreateTime": {

                "baseType": "String"

            },

            "ScreenshotType": {

                "baseType": "String"

            }

        }

    }

}