{
	"schema": "https://iot-ap.ikonke.com/model/product_3084.json",
    "productType": "sensor",
    "version": "1",
	"profile": {
		"heartbeat": "300",
		"productCode": "3084",
		"productName": "环境检测面板(KONKE)"
	},
	"services": [
        {
            "outputData": [
                {
                    "identifier": "Temperature",
                    "name": "当前温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "-10",
                            "max": "50",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.1"
                        }
                    }
                }, 
                {
                    "identifier": "Humidity",
                    "name": "当前湿度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "100",
                            "unit": "%",
                            "unitName": "百分比",
                            "step": "0.01"
                        }
                    }
                },
                {
                    "identifier": "Illuminance",
                    "name": "当前光照度检测值",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "5000",
                            "unit": "Lux",
                            "unitName": "照度",
                            "step": "1.0"
                        }
                    }
                },
                {
                    "identifier": "IlluminanceLevel",
                    "name": "当前光照度等级",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "黑夜",
                            "1": "昏暗",
                            "2": "正常",
                            "3": "明亮",
                            "4": "刺眼"
                        }
                    }
                },
                {
                    "identifier": "Carbondioxide",
                    "name": "CO2检测值",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "0",
                            "max": "5000",
                            "unit": "ppm",
                            "unitName": "百万分之一",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "PM2.5",
                    "name": "PM2.5检测值",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "0",
                            "max": "999",
                            "unit": "ug/m3",
                            "unitName": "微克每立方米",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "Formaldehyde",
                    "name": "当前甲醛检测值",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "1",
                            "unit": "mg/m3",
                            "unitName": "毫克每立方米",
                            "step": "0.01"
                        }
                    }
                }
            ],
            "identifier": "get",
            "inputData": [
                "Temperature", 
                "Humidity", 
                "Illuminance",
                "Carbondioxide",
                "PM2.5",
                "Formaldehyde",
                "IlluminanceLevel"
            ],
            "method": "thing.service.property.get",
            "name": "get",
            "required": true,
            "callType": "async",
            "desc": "属性获取"
        }
    ],
	"properties": [
        {
            "identifier": "Temperature",
            "name": "当前温度",
            "accessMode": "r",
            "required": true,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "-40",
                    "max": "100",
                    "unit": "°C",
                    "unitName": "摄氏度",
                    "step": "0.01"
                }
            }
        }, 
        {
            "identifier": "Humidity",
            "name": "当前湿度",
            "accessMode": "r",
            "required": true,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "0",
                    "max": "100",
                    "unit": "%",
                    "unitName": "百分比",
                    "step": "0.01"
                }
            }
        }, 
        {
            "identifier": "Illuminance",
            "name": "当前光照度检测值",
            "accessMode": "r",
            "required": false,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "0",
                    "max": "65535",
                    "unit": "Lux",
                    "unitName": "照度",
                    "step": "1.0"
                }
            }
        },
        {
            "identifier": "IlluminanceLevel",
            "name": "当前光照度等级",
            "accessMode": "r",
            "required": true,
            "dataType": {
                "type": "enum",
                "specs": {
                    "0": "黑夜",
                    "1": "昏暗",
                    "2": "正常",
                    "3": "明亮",
                    "4": "刺眼"
                }
            }
        },
        {
            "identifier": "Carbondioxide",
            "name": "CO2检测值",
            "accessMode": "r",
            "required": false,
            "dataType": {
                "type": "int",
                "specs": {
                    "min": "0",
                    "max": "5000",
                    "unit": "ppm",
                    "unitName": "百万分之一",
                    "step": "1"
                }
            }
        },
        {
            "identifier": "PM2.5",
            "name": "PM2.5检测值",
            "accessMode": "r",
            "required": false,
            "dataType": {
                "type": "int",
                "specs": {
                    "min": "0",
                    "max": "999",
                    "unit": "ug/m3",
                    "unitName": "微克每立方米",
                    "step": "1"
                }
            }
        },
        {
            "identifier": "Formaldehyde",
            "name": "当前甲醛检测值",
            "accessMode": "r",
            "required": false,
            "dataType": {
                "type": "double",
                "specs": {
                    "min": "0",
                    "max": "1",
                    "unit": "mg/m3",
                    "unitName": "毫克每立方米",
                    "step": "0.01"
                }
            }
        }
    ],
	"events": [
        {
            "outputData": [
                {
                    "identifier": "Temperature",
                    "name": "当前温度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "-40",
                            "max": "100",
                            "unit": "°C",
                            "unitName": "摄氏度",
                            "step": "0.01"
                        }
                    }
                }, 
                {
                    "identifier": "Humidity",
                    "name": "当前湿度",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "100",
                            "unit": "%",
                            "unitName": "百分比",
                            "step": "0.01"
                        }
                    }
                }, 
                {
                    "identifier": "Illuminance",
                    "name": "当前光照度检测值",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "65535",
                            "unit": "Lux",
                            "unitName": "照度",
                            "step": "1.0"
                        }
                    }
                },
                {
                    "identifier": "IlluminanceLevel",
                    "name": "当前光照度等级",
                    "dataType": {
                        "type": "enum",
                        "specs": {
                            "0": "黑夜",
                            "1": "昏暗",
                            "2": "正常",
                            "3": "明亮",
                            "4": "刺眼"
                        }
                    }
                },
                {
                    "identifier": "Carbondioxide",
                    "name": "CO2检测值",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "0",
                            "max": "5000",
                            "unit": "ppm",
                            "unitName": "百万分之一",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "PM2.5",
                    "name": "PM2.5检测值",
                    "dataType": {
                        "type": "int",
                        "specs": {
                            "min": "0",
                            "max": "999",
                            "unit": "ug/m3",
                            "unitName": "微克每立方米",
                            "step": "1"
                        }
                    }
                },
                {
                    "identifier": "Formaldehyde",
                    "name": "当前甲醛检测值",
                    "dataType": {
                        "type": "double",
                        "specs": {
                            "min": "0",
                            "max": "1",
                            "unit": "mg/m3",
                            "unitName": "毫克每立方米",
                            "step": "0.01"
                        }
                    }
                }
            ],
            "identifier": "property",
            "method": "thing.event.property.post",
            "name": "property",
            "type": "info",
            "required": true,
            "desc": "属性上报"
        }
    ]
}