{
    "bmc.kepler.LicenseService": {
        "properties": {
            "ESN": {
                "baseType": "String",
                "readOnly": true,
                "description": "设备序列号,由主板的序列号生成,用于web页面或redfish返回消息中信息呈现",
                "example": "1234567890ABCDEF1234567890ABCDEF12345678"
            },
            "Capability": {
                "baseType": "String[]",
                "readOnly": true,
                "description": "表示License组件是否具备本地管理和远程管理的能力,取值为Remote, Local",
                "example": [
                    "Remote",
                    "Local"
                ]
            },
            "ESNState": {
                "baseType": "String",
                "readOnly": true,
                "description": "产品ESN是否有效,主板序列号和ESN对应时认为ESN有效",
                "example": "Invalid"
            },
            "FileState": {
                "baseType": "String",
                "readOnly": true,
                "description": "LicenseId与对应的文件状态组成的json对象,文件状态取值:Normal, Incorrect",
                "example": "Normal"
            }
        },
        "methods": {
            "InstallFromRemote": {
                "initiator": true,
                "req": {
                    "LicenseFileURI": {
                        "baseType": "String"
                    },
                    "TransferProtocol": {
                        "baseType": "String"
                    },
                    "Username": {
                        "baseType": "String"
                    },
                    "Password": {
                        "baseType": "String"
                    }
                },
                "rsp": {}
            },
            "InstallFromLocal": {
                "initiator": true,
                "req": {
                    "Type": {
                        "baseType": "String"
                    },
                    "Content": {
                        "baseType": "String"
                    },
                    "FileSource": {
                        "baseType": "String"
                    }
                },
                "rsp": {
                    "TaskId": {
                        "baseType": "U32"
                    }
                }
            },
            "Export": {
                "initiator": true,
                "req": {
                    "LicenseId": {
                        "baseType": "String"
                    },
                    "Path": {
                        "baseType": "String"
                    }
                },
                "rsp": {
                    "TaskId": {
                        "baseType": "U32"
                    }
                }
            },
            "Delete": {
                "initiator": true,
                "req": {
                    "LicenseId": {
                        "baseType": "String"
                    }
                },
                "rsp": {}
            },
            "Revoke": {
                "initiator": true,
                "req": {
                    "LicenseId": {
                        "baseType": "String"
                    }
                },
                "rsp": {
                    "RevokeTicket": {
                        "baseType": "String"
                    }
                }
            }
        }
    }
}