LightSensorReading

Ambient light sensor reading

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
illuminanceInLux number Ambient light level in lux
chromaticity object CIE xyY chromaticity coordinates
timestamp string
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-lightsensorreading-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LightSensorReading",
  "title": "LightSensorReading",
  "type": "object",
  "description": "Ambient light sensor reading",
  "properties": {
    "illuminanceInLux": {
      "type": "number",
      "format": "float",
      "description": "Ambient light level in lux"
    },
    "chromaticity": {
      "type": "object",
      "properties": {
        "x": {
          "type": "number",
          "format": "float"
        },
        "y": {
          "type": "number",
          "format": "float"
        }
      },
      "description": "CIE xyY chromaticity coordinates"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}