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