schemas: intel: fix IntelFanConnector schema
Add two properties which are in use but not in the schema
Add
```
"additionalProperties" : false
```
to prevent properties which are not in the schema.
Tested: Schema Validator Pass
Change-Id: I5e861b6c212e522e40673c12591a8d21077856e3
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/intel.json b/schemas/intel.json
index b25f1c9..8698ec7 100644
--- a/schemas/intel.json
+++ b/schemas/intel.json
@@ -2,6 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"IntelFanConnector": {
+ "additionalProperties": false,
"properties": {
"LED": {
"type": "string"
@@ -9,9 +10,15 @@
"Name": {
"type": "string"
},
+ "PwmName": {
+ "type": "string"
+ },
"Pwm": {
"type": "number"
},
+ "Status": {
+ "enum": ["enabled", "disabled"]
+ },
"Tachs": {
"items": {
"type": "number"