blob: 444f33960606b0b9022e57b943699cf3040a7014 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"ExitAirTempSensor": {
"description": "implemented in dbus-sensors: ExitAirTempSensor",
"additionalProperties": false,
"properties": {
"AlphaF": {
"$ref": "#/$defs/Types/AlphaF"
},
"AlphaS": {
"$ref": "#/$defs/Types/AlphaS"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"PowerFactorMax": {
"$ref": "#/$defs/Types/PowerFactorMax"
},
"PowerFactorMin": {
"$ref": "#/$defs/Types/PowerFactorMin"
},
"QMax": {
"$ref": "#/$defs/Types/QMax"
},
"QMin": {
"$ref": "#/$defs/Types/QMin"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"Type": {
"type": "string",
"const": "ExitAirTempSensor"
}
},
"required": [
"Name",
"Type",
"AlphaF",
"AlphaS",
"PowerFactorMax",
"PowerFactorMin",
"QMax",
"QMin"
],
"type": "object"
},
"CFMSensor": {
"additionalProperties": false,
"properties": {
"C1": {
"$ref": "#/$defs/Types/C1"
},
"C2": {
"$ref": "#/$defs/Types/C2"
},
"MaxCFM": {
"$ref": "#/$defs/Types/MaxCFM"
},
"TachMaxPercent": {
"$ref": "#/$defs/Types/TachMaxPercent"
},
"TachMinPercent": {
"$ref": "#/$defs/Types/TachMinPercent"
},
"Tachs": {
"$ref": "#/$defs/Types/Tachs"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "CFMSensor"
}
},
"required": ["Name", "Type"],
"type": "object"
},
"FanRedundancy": {
"additionalProperties": false,
"properties": {
"AllowedFailures": {
"$ref": "#/$defs/Types/AllowedFailures"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "FanRedundancy"
}
},
"required": ["Name", "Type"],
"type": "object"
},
"PURedundancy": {
"additionalProperties": false,
"properties": {
"RedundantCount": {
"$ref": "#/$defs/Types/RedundantCount"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "PURedundancy"
}
},
"required": ["RedundantCount", "Name", "Type"],
"type": "object"
},
"ChassisIntrusionSensor": {
"description": "implemented in dbus-sensors: ChassisIntrusionSensor",
"additionalProperties": false,
"properties": {
"Address": {
"$ref": "#/$defs/Types/Address"
},
"Bus": {
"$ref": "#/$defs/Types/Bus"
},
"Class": {
"$ref": "#/$defs/Types/Class"
},
"GpioPolarity": {
"$ref": "#/$defs/Types/GpioPolarity"
},
"Rearm": {
"enum": ["Automatic", "Manual"]
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "ChassisIntrusionSensor"
}
},
"required": ["Name", "Type", "Class"],
"type": "object"
},
"AspeedFan": {
"additionalProperties": false,
"properties": {
"BindConnector": {
"$ref": "#/$defs/Types/BindConnector"
},
"Index": {
"$ref": "#/$defs/Types/Index"
},
"PowerState": {
"$ref": "#/$defs/Types/PowerState"
},
"Connector": {
"$ref": "#/$defs/Types/Connector"
},
"EntityId": {
"$ref": "#/$defs/Types/EntityId"
},
"EntityInstance": {
"$ref": "#/$defs/Types/EntityInstance"
},
"Presence": {
"$ref": "#/$defs/Types/Presence"
},
"MaxReading": {
"$ref": "#/$defs/Types/MaxReading"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "AspeedFan"
}
},
"required": ["Name", "Type"],
"type": "object"
},
"I2CFan": {
"additionalProperties": false,
"properties": {
"BindConnector": {
"$ref": "#/$defs/Types/BindConnector"
},
"Address": {
"$ref": "#/$defs/Types/Address"
},
"Bus": {
"$ref": "#/$defs/Types/Bus"
},
"EntityId": {
"$ref": "#/$defs/Types/EntityId"
},
"EntityInstance": {
"$ref": "#/$defs/Types/EntityInstance"
},
"Index": {
"$ref": "#/$defs/Types/Index"
},
"PowerState": {
"$ref": "#/$defs/Types/PowerState"
},
"Presence": {
"$ref": "#/$defs/Types/Presence"
},
"MaxReading": {
"$ref": "#/$defs/Types/MaxReading"
},
"Connector": {
"$ref": "#/$defs/Types/Connector"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "I2CFan"
}
},
"required": ["Name", "Type"],
"type": "object"
},
"NuvotonFan": {
"additionalProperties": false,
"properties": {
"EntityId": {
"$ref": "#/$defs/Types/EntityId"
},
"EntityInstance": {
"$ref": "#/$defs/Types/EntityInstance"
},
"Index": {
"$ref": "#/$defs/Types/Index"
},
"PowerState": {
"$ref": "#/$defs/Types/PowerState"
},
"MaxReading": {
"$ref": "#/$defs/Types/MaxReading"
},
"Connector": {
"$ref": "#/$defs/Types/Connector"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Type": {
"type": "string",
"const": "NuvotonFan"
}
},
"required": ["Name", "Type", "Connector"],
"type": "object"
},
"XeonCPU": {
"description": "implemented in dbus-sensors: IntelCPUSensor",
"additionalProperties": false,
"properties": {
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Address": {
"$ref": "#/$defs/Types/Address"
},
"Bus": {
"$ref": "#/$defs/Types/Bus"
},
"PowerState": {
"$ref": "#/$defs/Types/PowerState"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"DtsCritOffset": {
"$ref": "#/$defs/Types/DtsCritOffset"
},
"PresenceGpio": {
"$ref": "#/$defs/Types/PresenceGpio"
},
"CpuID": {
"$ref": "#/$defs/Types/CpuID"
},
"Type": {
"type": "string",
"const": "XeonCPU"
}
},
"required": ["Name", "Type", "CpuID", "Address"],
"type": "object"
},
"IpmbSensor": {
"additionalProperties": false,
"properties": {
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Class": {
"$ref": "#/$defs/Types/Class"
},
"Address": {
"$ref": "#/$defs/Types/Address"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"HostSMbusIndex": {
"$ref": "#/$defs/Types/HostSMbusIndex"
},
"PowerState": {
"$ref": "#/$defs/Types/PowerState"
},
"SensorType": {
"$ref": "#/$defs/Types/SensorType"
},
"ScaleValue": {
"$ref": "#/$defs/Types/ScaleValue"
},
"OffsetValue": {
"$ref": "#/$defs/Types/OffsetValue"
},
"Type": {
"type": "string",
"const": "IpmbSensor"
}
},
"required": ["Name", "Type", "Address", "Class"],
"type": "object"
},
"I2CMux": {
"additionalProperties": false,
"properties": {
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Bus": {
"$ref": "#/$defs/Types/Bus"
},
"Address": {
"$ref": "#/$defs/Types/Address"
},
"ChannelNames": {
"$ref": "#/$defs/Types/ChannelNames"
},
"Type": {
"type": "string",
"enum": [
"PCA9543Mux",
"PCA9544Mux",
"PCA9545Mux",
"PCA9546Mux"
]
}
},
"required": ["Name", "Type", "Address", "Bus", "ChannelNames"],
"type": "object"
},
"Gpio": {
"additionalProperties": false,
"properties": {
"Name": {
"$ref": "#/$defs/Types/Name"
},
"Index": {
"$ref": "#/$defs/Types/Index"
},
"Direction": {
"type": "string"
},
"Polarity": {
"$ref": "#/$defs/Types/Polarity"
},
"Type": {
"type": "string",
"const": "Gpio"
}
},
"required": ["Name", "Type", "Index", "Direction", "Polarity"],
"type": "object"
},
"Aggregate": {
"description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
"additionalProperties": false,
"patternProperties": {
"Name(1[0-7]|[1-9])?$": {
"$ref": "#/$defs/Types/Name"
},
"(vin|iin|pin|maxpin)_Name$": {
"$ref": "#/$defs/Types/Name"
},
"(in|in_voltage|vout)(1[0-7]|[0-9])_Name$": {
"$ref": "#/$defs/Types/Name"
},
"(curr|iin|iout|pin|pout|power|temp)(1[0-7]|[1-9])_Name$": {
"$ref": "#/$defs/Types/Name"
},
"(in|in_voltage)(1[0-7]|[0-9])_Scale$": {
"$ref": "#/$defs/Types/ScaleValue"
},
"(curr|power|iout)(1[0-7]|[1-9])_Scale$": {
"$ref": "#/$defs/Types/ScaleValue"
},
"in(1[0-7]|[0-9])_PowerState$": {
"$ref": "#/$defs/Types/PowerState"
},
"(in|vout|in_voltage)(1[0-7]|[0-9])_(Min|Max)$": {
"$ref": "#/$defs/Types/MinMaxType"
},
"(iin|vin|curr|iout|pin|pout|temp)(1[0-7]|[1-9])?_(Min|Max)$": {
"$ref": "#/$defs/Types/MinMaxType"
},
"power(1[0-7]|[1-9])?_Max$": {
"$ref": "#/$defs/Types/MinMaxType"
},
"(power|curr|iout|pout|pin)(1[0-7]|[1-9])?_Offset$": {
"$ref": "#/$defs/Types/OffsetType"
}
},
"properties": {
"Address": {
"$ref": "#/$defs/Types/Address"
},
"BridgeGpio": {
"$ref": "#/$defs/Types/BridgeGpio"
},
"Bus": {
"$ref": "#/$defs/Types/Bus"
},
"CPURequired": {
"$ref": "#/$defs/Types/CPURequired"
},
"Class": {
"$ref": "#/$defs/Types/Class"
},
"ConnectsToType": {
"$ref": "#/$defs/Types/ConnectsToType"
},
"CurrScaleFactor": {
"$ref": "#/$defs/Types/CurrScaleFactor"
},
"EntityId": {
"$ref": "#/$defs/Types/EntityId"
},
"EntityInstance": {
"$ref": "#/$defs/Types/EntityInstance"
},
"GpioPins": {
"$ref": "#/$defs/Types/GpioPins"
},
"Index": {
"$ref": "#/$defs/Types/Index"
},
"InScaleFactor": {
"$ref": "#/$defs/Types/InScaleFactor"
},
"Labels": {
"$ref": "#/$defs/Types/Labels"
},
"MaxReading": {
"$ref": "#/$defs/Types/MaxReading"
},
"MaxValue": {
"$ref": "#/$defs/Types/MaxValue"
},
"Units": {
"$ref": "#/$defs/Types/Units"
},
"MinReading": {
"$ref": "#/$defs/Types/MinReading"
},
"MinValue": {
"$ref": "#/$defs/Types/MinValue"
},
"OffsetValue": {
"$ref": "#/$defs/Types/OffsetValue"
},
"Polling": {
"$ref": "#/$defs/Types/Polling"
},
"PowerPort": {
"$ref": "#/$defs/Types/PowerPort"
},
"PowerScaleFactor": {
"$ref": "#/$defs/Types/PowerScaleFactor"
},
"PowerState": {
"$ref": "#/$defs/Types/PowerState"
},
"Presence": {
"$ref": "#/$defs/Types/Presence"
},
"PresenceGpio": {
"$ref": "#/$defs/Types/PresenceGpio"
},
"Pwm": {
"$ref": "#/$defs/Types/Pwm"
},
"ScaleFactor": {
"$ref": "#/$defs/Types/ScaleFactor"
},
"SlotId": {
"$ref": "#/$defs/Types/SlotId"
},
"Thresholds": {
"$ref": "#/$defs/Types/Thresholds"
},
"Timeout": {
"$ref": "#/$defs/Types/Timeout"
},
"maxiout1_Name": {
"$ref": "#/$defs/Types/Name"
},
"fan1_Name": {
"$ref": "#/$defs/Types/Name"
},
"pin_Scale": {
"$ref": "#/$defs/Types/ScaleValue"
},
"pout1_Scale": {
"$ref": "#/$defs/Types/ScaleValue"
},
"PollRate": {
"$ref": "#/$defs/Types/PollRate"
},
"Type": {
"$ref": "#/$defs/Types/Type"
}
},
"required": ["Name", "Type"],
"type": "object"
},
"Types": {
"Address": {
"type": ["string", "array"]
},
"AllowedFailures": {
"type": "number"
},
"AlphaF": {
"type": "number"
},
"AlphaS": {
"type": "number"
},
"BindConnector": {
"type": "string"
},
"BridgeGpio": {
"type": ["number", "array"]
},
"Bus": {
"type": ["string", "number"]
},
"C1": {
"type": "number"
},
"C2": {
"type": "number"
},
"CPURequired": {
"type": "number"
},
"ChannelNames": {
"items": {
"type": "string"
},
"type": "array"
},
"Class": {
"type": "string"
},
"Connector": {
"properties": {
"Name": {
"type": "string"
},
"Pwm": {
"type": "number"
},
"Tachs": {
"items": {
"type": "number"
},
"type": "array"
}
},
"required": ["Name", "Pwm", "Tachs"],
"type": "object"
},
"ConnectsToType": {
"type": "string"
},
"CpuID": {
"type": "number"
},
"CurrScaleFactor": {
"type": "number"
},
"Direction": {
"type": "string"
},
"DtsCritOffset": {
"type": "number"
},
"EntityId": {
"type": "number"
},
"EntityInstance": {
"type": "number"
},
"GpioPins": {
"items": {
"type": "number"
},
"type": "array"
},
"GpioPolarity": {
"enum": ["Low"]
},
"Index": {
"type": "number"
},
"InScaleFactor": {
"type": "number"
},
"Labels": {
"items": {
"type": "string"
},
"type": "array"
},
"MaxCFM": {
"type": "number"
},
"MaxReading": {
"type": "number"
},
"MaxValue": {
"type": "number"
},
"MinMaxType": {
"type": "number"
},
"Units": {
"type": "string",
"enum": [
"DegreesC",
"RPMS",
"Volts",
"Meters",
"Amperes",
"Watts",
"Joules",
"Percent",
"CFM",
"Pascals"
]
},
"MinReading": {
"type": "number"
},
"MinValue": {
"type": "number"
},
"Name": {
"type": "string"
},
"OffsetValue": {
"type": "number"
},
"Polarity": {
"enum": ["High", "Low"]
},
"Polling": {
"type": "object"
},
"PowerFactorMax": {
"type": "number"
},
"PowerFactorMin": {
"type": "number"
},
"PowerPort": {
"type": "boolean"
},
"PowerScaleFactor": {
"type": "number"
},
"PowerState": {
"type": "string"
},
"Presence": {
"properties": {
"MonitorType": {
"enum": ["Event", "Polling"]
},
"PinName": {
"type": "string"
},
"Polarity": {
"$ref": "#/$defs/Types/Polarity"
}
},
"type": "object"
},
"PresenceGpio": {
"type": ["number", "array"]
},
"Pwm": {
"type": "number"
},
"QMax": {
"type": "number"
},
"QMin": {
"type": "number"
},
"RedundantCount": {
"type": "number"
},
"ScaleFactor": {
"type": "number"
},
"ScaleValue": {
"type": "number"
},
"SensorType": {
"type": "string"
},
"SlotId": {
"type": "string"
},
"TachMaxPercent": {
"type": "number"
},
"TachMinPercent": {
"type": "number"
},
"Tachs": {
"items": {
"type": ["number", "string"]
},
"type": "array"
},
"Thresholds": {
"items": {
"properties": {
"Direction": {
"type": "string"
},
"Hysteresis": {
"type": "number"
},
"Label": {
"type": "string"
},
"Name": {
"type": "string"
},
"Severity": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"Value": {
"type": "number"
}
},
"required": ["Direction", "Name", "Severity", "Value"],
"type": "object"
},
"type": "array"
},
"Timeout": {
"type": "number"
},
"HostSMbusIndex": {
"type": "number"
},
"OffsetType": {
"type": "number"
},
"PollRate": {
"type": "number"
},
"Type": {
"type": "string",
"enum": [
"TMP75",
"TMP100",
"TMP112",
"TMP175",
"TMP411",
"TMP421",
"TMP432",
"TMP464",
"ADC",
"NCT7802",
"NCT6779",
"SBRMI",
"SBTSI",
"smpro_hwmon",
"IpmbDevice",
"IpmbPowerMonitor",
"MOSTempSensor",
"EEPROM",
"BMC",
"Board",
"pmbus",
"ADC128D818",
"INA230",
"INA233",
"INA238",
"SY24655",
"MAX5970",
"MAX6639",
"MAX11615",
"MAX11617",
"MAX34451",
"MAX31725",
"ADM1021",
"ADM1272",
"ADM1266",
"ADM1272",
"ADM1278",
"ADM1281",
"MP2971",
"MP2973",
"MP5023",
"MP5990",
"XDP710",
"IR35221",
"IR38060",
"IR38164",
"IR38263",
"PLI1209BC",
"PXE1610",
"TDA38640",
"ISL28022",
"ISL69260",
"ISL69269",
"RTQ6056",
"LTC4287",
"LTC4282",
"EMC1403",
"EMC1413",
"NVME1000",
"XDPE11280",
"XDPE132G5C",
"XDPE152C4",
"XDPE152C4D",
"PT5161L",
"RAA228000",
"RAA228004",
"HDC1080",
"SI7020",
"CRPS185",
"DPS310",
"LM25066",
"W83773G",
"UCD90160",
"UCD90320",
"EmmcDevice",
"HostCpuUtilization",
"MB Upstream Port",
"DownstreamPort",
"MultiNodeID",
"MultiNodePresence",
"PSUPresence",
"Intel HSBP CPLD",
"IntelHsbpFruDevice",
"IntelHsbpTempSensor",
"GenericSMBusMux",
"cffps",
"ExternalSensor",
"NMSensor",
"PSM7",
"JC42",
"MCP9600"
]
}
}
}
}