schemas: legacy: extract NVME1000
Extracting config for sensors which are covered by 'NVMeSensor' in
dbus-sensors.
Tested: Schema Validator Pass
Change-Id: Iea04300d76cb337a28a12ea80874bf3debfd8835
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/global.json b/schemas/global.json
index 5514466..a61d11d 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -112,6 +112,9 @@
"$ref": "legacy.json#/$defs/TempSensor"
},
{
+ "$ref": "legacy.json#/$defs/NVME1000"
+ },
+ {
"$ref": "virtual_sensor.json#/$defs/VirtualSensor"
},
{
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 12a0e5e..958a357 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -726,6 +726,32 @@
"required": ["Name", "Type", "Bus", "Address"],
"type": "object"
},
+ "NVME1000": {
+ "description": "implemented in dbus-sensors: NVMEeSensor",
+ "additionalProperties": false,
+ "properties": {
+ "Name": {
+ "$ref": "#/$defs/Types/Name"
+ },
+ "Bus": {
+ "$ref": "#/$defs/Types/Bus"
+ },
+ "Address": {
+ "$ref": "#/$defs/Types/Address"
+ },
+ "PowerState": {
+ "$ref": "#/$defs/Types/PowerState"
+ },
+ "Thresholds": {
+ "$ref": "#/$defs/Types/Thresholds"
+ },
+ "Type": {
+ "const": "NVME1000"
+ }
+ },
+ "required": ["Name", "Type", "Bus", "Address"],
+ "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,
@@ -1156,7 +1182,6 @@
"RTQ6056",
"LTC4287",
"LTC4282",
- "NVME1000",
"XDPE11280",
"XDPE132G5C",
"XDPE152C4",