From 35b7707b3f862f922a12c91d2799b547b001f92f Mon Sep 17 00:00:00 2001 From: AEtHeLsYn Date: Mon, 21 Mar 2016 16:59:46 +0100 Subject: [PATCH] Update schema-temperature.json Former-commit-id: 3f5a96e0275e239ba0361905282b59a9bd4412d0 --- .../jsonserver/schema/schema-temperature.json | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/libsrc/jsonserver/schema/schema-temperature.json b/libsrc/jsonserver/schema/schema-temperature.json index 14ce465b..b7be1f4f 100644 --- a/libsrc/jsonserver/schema/schema-temperature.json +++ b/libsrc/jsonserver/schema/schema-temperature.json @@ -15,23 +15,16 @@ "type" : "string", "required" : false }, - "red" : { - "type" : "integer", - "required" : false, - "minimum": 0, - "maximum": 255 - }, - "green" : { - "type" : "integer", - "required" : false, - "minimum": 0, - "maximum": 255 - }, - "blue" : { - "type" : "integer", - "required" : false, - "minimum": 0, - "maximum": 255 + "correctionValues" : { + "type": "array", + "required": false, + "items" : { + "type": "integer", + "minimum": 0, + "maximum": 255 + }, + "minItems": 3, + "maxItems": 3 } }, "additionalProperties": false