Update json schema for fan control
Add new fields to schema so we can patch updates.
Change-Id: Ibfa0c0e336a134080e06ead58ff9e55fcb033b55
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/schemas/Stepwise.json b/schemas/Stepwise.json
index 36cb5d9..e6814ff 100644
--- a/schemas/Stepwise.json
+++ b/schemas/Stepwise.json
@@ -2,6 +2,9 @@
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
+ "Class": {
+ "type": "string"
+ },
"Inputs": {
"type": "array",
"items": {
@@ -23,6 +26,12 @@
"PositiveHysteresis": {
"type": "number"
},
+ "Profiles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
"Reading": {
"type": "array",
"items": {
@@ -40,6 +49,7 @@
}
},
"required": [
+ "Class",
"Inputs",
"Name",
"NegativeHysteresis",