schemas: legacy: extract IntelHsbpTempSensor
Unknown use-case.
Create a schema anyways for completeness sake.
Tested: Schema Validator Pass
Change-Id: Iaef5b59ba57faa1b53ff0c6527bf50e35a250b7c
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/global.json b/schemas/global.json
index eafdba9..9380e39 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -127,6 +127,9 @@
"$ref": "legacy.json#/$defs/IntelHsbpFruDevice"
},
{
+ "$ref": "legacy.json#/$defs/IntelHsbpTempSensor"
+ },
+ {
"$ref": "virtual_sensor.json#/$defs/VirtualSensor"
},
{
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 5a2a4a2..bd60009 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -976,6 +976,18 @@
}
}
},
+ "IntelHsbpTempSensor": {
+ "description": "unknown purpose",
+ "additionalProperties": false,
+ "properties": {
+ "Name": {
+ "$ref": "#/$defs/Types/Name"
+ },
+ "Type": {
+ "const": "IntelHsbpTempSensor"
+ }
+ }
+ },
"Aggregate": {
"description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
"additionalProperties": false,
@@ -1042,7 +1054,6 @@
"UCD90160",
"UCD90320",
"Intel HSBP CPLD",
- "IntelHsbpTempSensor",
"GenericSMBusMux",
"PSM7"
]