{
    "schema":"https://iotx-tsl.oss-ap-southeast-1.aliyuncs.com/schema.json",
    "productType":"ccu",
    "profile":{
        "type":"KONKE_ZIGBEE_CCU"
    },
    "properties":[
        {
            "identifier":"SN",
            "dataType":{
                "specs":{
                    "length":"50"
                },
                "type":"text"
            },
            "name":"设备SN",
            "accessMode":"r",
            "required":false
        },
        {
            "identifier":"MACAddress",
            "dataType":{
                "specs":{
                    "length":"128"
                },
                "type":"text"
            },
            "name":"MAC地址",
            "accessMode":"r",
            "required":false
        },
        {
            "identifier":"LanIPAddress",
            "dataType":{
                "specs":{
                    "length":"255"
                },
                "type":"text"
            },
            "name":"内网IP地址",
            "accessMode":"r",
            "required":false
        },
        {
            "identifier":"WanIPAddress",
            "dataType":{
                "specs":{
                    "length":"255"
                },
                "type":"text"
            },
            "name":"内网IP地址",
            "accessMode":"r",
            "required":false
        },
        {
            "identifier":"WanState",
            "dataType":{
                "specs":{
                    "0":"无外网",
                    "1":"有外网"
                },
                "type":"bool"
            },
            "name":"外网链路状态",
            "accessMode":"r",
            "required":false
        },
        {
            "identifier":"IOTCloudState",
            "dataType":{
                "specs":{
                    "0":"无服务",
                    "1":"有服务"
                },
                "type":"bool"
            },
            "name":"云服务状态",
            "accessMode":"r",
            "required":false
        },
        {
            "identifier":"Version",
            "dataType":{
                "specs":{
                    "length":"255"
                },
                "type":"text"
            },
            "name":"版本",
            "accessMode":"r",
            "required":false
        }],
    "services":[
        {
            "outputData":[
            ],
            "identifier":"set",
            "inputData":[
            ],
            "method":"thing.service.property.set",
            "name":"set",
            "required":true,
            "callType":"async",
            "desc":"属性设置"
        },
        {
            "outputData":[
                {
                    "identifier":"SN",
                    "dataType":{
                        "specs":{
                            "length":"50"
                        },
                        "type":"text"
                    },
                    "name":"设备SN"
                },
                {
                    "identifier":"MACAddress",
                    "dataType":{
                        "specs":{
                            "length":"128"
                        },
                        "type":"text"
                    },
                    "name":"MAC地址"
                },
                {
                    "identifier":"LanIPAddress",
                    "dataType":{
                        "specs":{
                            "length":"255"
                        },
                        "type":"text"
                    },
                    "name":"内网IP地址"
                },
                {
                    "identifier":"WanIPAddress",
                    "dataType":{
                        "specs":{
                            "length":"255"
                        },
                        "type":"text"
                    },
                    "name":"内网IP地址"
                },
                {
                    "identifier":"WanState",
                    "dataType":{
                        "specs":{
                            "0":"无外网",
                            "1":"有外网"
                        },
                        "type":"bool"
                    },
                    "name":"外网链路状态"
                },
                {
                    "identifier":"IOTCloudState",
                    "dataType":{
                        "specs":{
                            "0":"无服务",
                            "1":"有服务"
                        },
                        "type":"bool"
                    },
                    "name":"云服务状态"
                },
                {
                    "identifier":"Version",
                    "dataType":{
                        "specs":{
                            "length":"255"
                        },
                        "type":"text"
                    },
                    "name":"版本"
                }],
            "identifier":"get",
            "inputData":[
                "SN",
                "MACAddress",
                "LanIPAddress",
                "WanIPAddress",
                "IOTCloudState",
                "Version"],
            "method":"thing.service.property.get",
            "name":"get",
            "required":true,
            "callType":"async",
            "desc":"属性获取"
        },
        {
            "outputData":[
            ],
            "identifier":"restoreFactory",
            "inputData":[
            ],
            "method":"thing.service.restoreFactory",
            "name":"restoreFactory",
            "required":false,
            "callType":"async",
            "desc":"恢复出厂设置"
        }],
    "events":[
        {
            "outputData":[
                {
                    "identifier":"SN",
                    "dataType":{
                        "specs":{
                            "length":"50"
                        },
                        "type":"text"
                    },
                    "name":"设备SN"
                },
                {
                    "identifier":"MACAddress",
                    "dataType":{
                        "specs":{
                            "length":"128"
                        },
                        "type":"text"
                    },
                    "name":"MAC地址"
                },
                {
                    "identifier":"LanIPAddress",
                    "dataType":{
                        "specs":{
                            "length":"255"
                        },
                        "type":"text"
                    },
                    "name":"内网IP地址"
                },
                {
                    "identifier":"WanIPAddress",
                    "dataType":{
                        "specs":{
                            "length":"255"
                        },
                        "type":"text"
                    },
                    "name":"内网IP地址"
                },
                {
                    "identifier":"WanState",
                    "dataType":{
                        "specs":{
                            "0":"无外网",
                            "1":"有外网"
                        },
                        "type":"bool"
                    },
                    "name":"外网链路状态"
                },
                {
                    "identifier":"IOTCloudState",
                    "dataType":{
                        "specs":{
                            "0":"无服务",
                            "1":"有服务"
                        },
                        "type":"bool"
                    },
                    "name":"云服务状态"
                },
                {
                    "identifier":"Version",
                    "dataType":{
                        "specs":{
                            "length":"255"
                        },
                        "type":"text"
                    },
                    "name":"版本"
                }],
            "identifier":"property",
            "method":"thing.event.property.post",
            "name":"property",
            "type":"info",
            "required":true,
            "desc":"属性上报"
        },
        {
            "outputData":[
            ],
            "identifier":"restoreFactoryNotification",
            "method":"thing.event.restoreFactoryNotification.post",
            "name":"恢复出厂通知消息",
            "type":"info",
            "required":true
        },
        {
            "outputData":[
                {
                    "identifier":"ErrorCode",
                    "dataType":{
                        "specs":{
                            "0":"正常"
                        },
                        "type":"enum"
                    },
                    "name":"故障代码"
                }],
            "identifier":"error",
            "method":"thing.event.error.post",
            "name":"故障上报",
            "type":"error",
            "required":true
        }]
}
