diff --git a/3DPrinterResURI.swagger.json b/3DPrinterResURI.swagger.json index 2fe6bc1..7b4913f 100644 --- a/3DPrinterResURI.swagger.json +++ b/3DPrinterResURI.swagger.json @@ -68,46 +68,18 @@ "readOnly": true, "type": "number" }, - "memorysize" : { "description": "This value represents the total memory size of the printer. The unit is MB(Mega Bytes)", "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -115,7 +87,6 @@ "readOnly": true, "type": "string" }, - "3dprinttype" : { "description": "The type of 3D printing technology.", @@ -133,7 +104,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -152,7 +122,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -166,21 +135,18 @@ "description": "Step value across the defined range", "readOnly": true }, - "wanconnected" : { "description": "This value indicates the connectivity capability of the 3D printer. If the value is false, the printer does not have network facility to Wide Area Network such as internet and GSM. If the value is true, the printer has network connectivity", "readOnly": true, "type": "boolean" }, - "printsizex" : { "description": "This represents the maximum size of printing object in the direction of X-axis. The unit is mm.", "readOnly": true, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -188,14 +154,12 @@ "readOnly": true, "type": "string" }, - "printsizez" : { "description": "This represents the maximum size of printing object in the direction of Z-axis. The unit is mm.", "readOnly": true, "type": "number" }, - "if" : { "description": "The interface set supported by this resource", @@ -216,7 +180,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["3dprinttype", "printsizex", "printsizey", "printsizez", "wanconnected", "memorysize"] diff --git a/AccelerationResURI.swagger.json b/AccelerationResURI.swagger.json index 6f627d0..ade09cd 100644 --- a/AccelerationResURI.swagger.json +++ b/AccelerationResURI.swagger.json @@ -51,7 +51,6 @@ "readOnly": true, "type": "number" }, - "rt" : { "description": "Resource Type", @@ -63,39 +62,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -103,7 +75,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -122,7 +93,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -136,7 +106,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +113,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +133,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["acceleration"] diff --git a/ActivityCountResURI.swagger.json b/ActivityCountResURI.swagger.json index 3e1d9ff..0bfef63 100644 --- a/ActivityCountResURI.swagger.json +++ b/ActivityCountResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/Count" }, "x-example": { - "id": "unique_example_id", "count": 5000 } } @@ -79,7 +78,6 @@ "description": "Current or Target count.", "type": "integer" }, - "rt" : { "description": "Resource Type", @@ -91,39 +89,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -131,7 +102,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -150,7 +120,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -164,7 +133,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -172,7 +140,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -193,7 +160,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["count"] diff --git a/AirFlowResURI.swagger.json b/AirFlowResURI.swagger.json index 2e2d218..873a1e5 100644 --- a/AirFlowResURI.swagger.json +++ b/AirFlowResURI.swagger.json @@ -47,7 +47,6 @@ "schema": { "$ref": "#/definitions/AirFlow" }, "x-example": { - "id": "unique_example_id", "direction": "right", "speed": 3 } @@ -103,13 +102,11 @@ "readOnly": true, "type": "array" }, - "direction" : { "description": "Directionality of the air flow", "type": "string" }, - "automode" : { "description": "Status of the automode feature, if on speed is set by the device", @@ -119,39 +116,12 @@ ], "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -159,7 +129,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -178,7 +147,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -192,7 +160,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "supporteddirections" : { "description": "Array of possible direction settings for this instance of the Resource Type", @@ -204,13 +171,11 @@ "readOnly": true, "type": "array" }, - "speed" : { "description": "Current speed level", "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -218,7 +183,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -239,7 +203,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["speed"] diff --git a/AirQualityBaselineResURI.swagger.json b/AirQualityBaselineResURI.swagger.json index b98e0ac..66714d7 100644 --- a/AirQualityBaselineResURI.swagger.json +++ b/AirQualityBaselineResURI.swagger.json @@ -90,7 +90,6 @@ ,"type" : "array" - } , "AirQuality" : { diff --git a/AirQualityResURI.swagger.json b/AirQualityResURI.swagger.json index e1f561a..1df8c6b 100644 --- a/AirQualityResURI.swagger.json +++ b/AirQualityResURI.swagger.json @@ -65,7 +65,6 @@ "readOnly": true, "type": "string" }, - "rt" : { "description": "Resource Type", @@ -77,7 +76,6 @@ "readOnly": true, "type": "array" }, - "valuetype" : { "description": "Indicates whether the provided value is qualitative or measured.", @@ -95,32 +93,6 @@ "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -128,7 +100,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -147,7 +118,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -161,14 +131,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "contaminantvalue" : { "description": "The measured or qualitative value for the contaminant.", "readOnly": true, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -176,7 +144,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -197,7 +164,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["contaminantvalue", "contaminanttype", "valuetype", "range"] diff --git a/AltimeterResURI.swagger.json b/AltimeterResURI.swagger.json index 37c0fcf..ab360a0 100644 --- a/AltimeterResURI.swagger.json +++ b/AltimeterResURI.swagger.json @@ -56,39 +56,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -96,7 +69,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -115,7 +87,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -129,14 +100,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "alt" : { "description": "The current distance (metres) above or below 'local' sea-level.", "readOnly": true, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +113,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +133,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["alt"] diff --git a/AtmosphericPressureResURI.swagger.json b/AtmosphericPressureResURI.swagger.json index 0939e68..3366d29 100644 --- a/AtmosphericPressureResURI.swagger.json +++ b/AtmosphericPressureResURI.swagger.json @@ -56,39 +56,12 @@ "readOnly": true, "type": "array" }, - "atmosphericPressure" : { "description": "Current atmospheric pressure in hPa.", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -96,7 +69,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -115,14 +87,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - "step" : { "anyOf": [ @@ -136,7 +106,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +113,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +133,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["atmosphericPressure"] diff --git a/AudioResURI.swagger.json b/AudioResURI.swagger.json index 9fe2c95..9394c6c 100644 --- a/AudioResURI.swagger.json +++ b/AudioResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/Audio" }, "x-example": { - "id": "unique_example_id", "volume": 75, "mute": false } @@ -88,45 +87,17 @@ "readOnly": true, "type": "array" }, - "mute" : { "description": "Mute setting of an audio rendering device", "type": "boolean" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -134,7 +105,6 @@ "readOnly": true, "type": "string" }, - "volume" : { "description": "Volume setting of an audio rendering device.", @@ -142,7 +112,6 @@ "minimum": 0, "type": "integer" }, - "range" : { "description": "The valid range for the value Property", @@ -161,7 +130,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -175,7 +143,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -183,7 +150,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -204,7 +170,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["volume", "mute"] diff --git a/AutoFocusResURI.swagger.json b/AutoFocusResURI.swagger.json index d050300..d6a26ae 100644 --- a/AutoFocusResURI.swagger.json +++ b/AutoFocusResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/AutoFocus" }, "x-example": { - "id": "unique_example_id", "autoFocus": true } } @@ -85,39 +84,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -125,46 +91,11 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "autoFocus" : { "description": "Status of the Auto Focus", "type": "boolean" }, - "id" : { "description": "Instance ID of this specific resource", @@ -172,7 +103,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -193,7 +123,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["autoFocus"] diff --git a/AutoWhiteBalanceResURI.swagger.json b/AutoWhiteBalanceResURI.swagger.json index 600a322..0fe4370 100644 --- a/AutoWhiteBalanceResURI.swagger.json +++ b/AutoWhiteBalanceResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/AutoWhiteBalance" }, "x-example": { - "id": "unique_example_id", "autoWhiteBalance": true } } @@ -85,45 +84,11 @@ "readOnly": true, "type": "array" }, - "autoWhiteBalance" : { "description": "Status of the Auto White balance", "type": "boolean" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -131,40 +96,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -172,7 +103,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -193,7 +123,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["autoWhiteBalance"] diff --git a/AutomaticDocumentFeederResURI.swagger.json b/AutomaticDocumentFeederResURI.swagger.json index a56a117..c748ca2 100644 --- a/AutomaticDocumentFeederResURI.swagger.json +++ b/AutomaticDocumentFeederResURI.swagger.json @@ -55,7 +55,6 @@ "readOnly": true, "type": "array" }, - "rt" : { "description": "Resource Type", @@ -67,39 +66,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -107,47 +73,12 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "currentAdfState" : { "description": "Current adf state.", "readOnly": true, "type": "string" }, - "id" : { "description": "Instance ID of this specific resource", @@ -155,7 +86,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -176,7 +106,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["adfStates", "currentAdfState"] diff --git a/BMIResURI.swagger.json b/BMIResURI.swagger.json index 21cd568..fe85a3f 100644 --- a/BMIResURI.swagger.json +++ b/BMIResURI.swagger.json @@ -56,7 +56,6 @@ "readOnly": true, "type": "array" }, - "bmi" : { "description": "Body Mass Index (BMI) in kg/m^2", @@ -64,39 +63,12 @@ "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -104,7 +76,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -123,7 +94,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -137,7 +107,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -145,7 +114,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -166,7 +134,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["bmi"] diff --git a/BatteryMaterialResURI.swagger.json b/BatteryMaterialResURI.swagger.json index 1ef12fc..af760c0 100644 --- a/BatteryMaterialResURI.swagger.json +++ b/BatteryMaterialResURI.swagger.json @@ -56,7 +56,6 @@ "readOnly": true, "type": "array" }, - "material" : { "description": "Battery construction material (type).", @@ -143,39 +142,6 @@ "readOnly": true, "type": "string" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -183,40 +149,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -224,7 +156,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -245,7 +176,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["material"] diff --git a/BatteryResURI.swagger.json b/BatteryResURI.swagger.json index b5ac939..c5ad6d6 100644 --- a/BatteryResURI.swagger.json +++ b/BatteryResURI.swagger.json @@ -48,7 +48,6 @@ "schema": { "$ref": "#/definitions/BatteryUpdate" }, "x-example": { - "id": "unique_example_id", "batterythreshold": 20 } } @@ -90,60 +89,30 @@ "readOnly": true, "type": "array" }, - "discharging" : { "description": "The status of discharging.", "readOnly": true, "type": "boolean" }, - "lowbattery" : { "description": "The status of the low battery warning based upon the defined threshold.", "readOnly": true, "type": "boolean" }, - "capacity" : { "description": "The total capacity in Amp-hours (Ah).", "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "id" : { "description": "Instance ID of this specific resource", @@ -151,7 +120,6 @@ "readOnly": true, "type": "string" }, - "batterythreshold" : { "description": "The threshold percentage for the low battery warning.", @@ -159,7 +127,6 @@ "minimum": 0, "type": "integer" }, - "charge" : { "description": "The current charge percentage.", @@ -168,7 +135,6 @@ "readOnly": true, "type": "integer" }, - "step" : { "anyOf": [ @@ -182,7 +148,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "range" : { "description": "The valid range for the value Property", @@ -201,7 +166,6 @@ "readOnly": true, "type": "array" }, - "n" : { "description": "Friendly name of the resource", @@ -209,14 +173,12 @@ "readOnly": true, "type": "string" }, - "charging" : { "description": "The status of charging.", "readOnly": true, "type": "boolean" }, - "if" : { "description": "The interface set supported by this resource", @@ -245,130 +207,15 @@ , "BatteryUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, + "batterythreshold" : { - "batterythreshold" : - { "description": "The threshold percentage for the low battery warning.", "maximum": 100, "minimum": 0, "type": "integer" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - - } - ,"type" : "object" + } + ,"type" : "object" ,"required": ["batterythreshold"] } } diff --git a/BinarySwitchResURI.swagger.json b/BinarySwitchResURI.swagger.json index 531f8d6..c974fc1 100644 --- a/BinarySwitchResURI.swagger.json +++ b/BinarySwitchResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/BinarySwitch" }, "x-example": { - "id": "unique_example_id", "value": true } } @@ -85,20 +84,11 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "Status of the switch", "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -106,40 +96,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -147,7 +103,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -168,7 +123,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/BloodPressureResURI.swagger.json b/BloodPressureResURI.swagger.json index 08252d3..1ee27d5 100644 --- a/BloodPressureResURI.swagger.json +++ b/BloodPressureResURI.swagger.json @@ -58,7 +58,6 @@ "readOnly": true, "type": "array" }, - "map" : { "description": "Mean Arterial Pressure (MAP)", @@ -66,39 +65,12 @@ "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -106,7 +78,6 @@ "readOnly": true, "type": "string" }, - "units" : { "description": "Blood pressure unit", @@ -117,7 +88,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -136,7 +106,6 @@ "readOnly": true, "type": "array" }, - "systolic" : { "description": "Systolic blood pressure", @@ -144,7 +113,6 @@ "readOnly": true, "type": "number" }, - "step" : { "anyOf": [ @@ -158,7 +126,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "diastolic" : { "description": "Diastolic blood pressure", @@ -166,7 +133,6 @@ "readOnly": true, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -174,7 +140,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -195,7 +160,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["systolic", "diastolic"] diff --git a/BodySoftLeanMassResURI.swagger.json b/BodySoftLeanMassResURI.swagger.json index 5d2f5fc..f432056 100644 --- a/BodySoftLeanMassResURI.swagger.json +++ b/BodySoftLeanMassResURI.swagger.json @@ -57,7 +57,6 @@ "readOnly": true, "type": "array" }, - "units" : { "description": "Body soft lean mass units", @@ -69,39 +68,12 @@ "readOnly": true, "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -109,7 +81,6 @@ "readOnly": true, "type": "string" }, - "slm" : { "description": "Body soft lean mass.", @@ -117,7 +88,6 @@ "readOnly": true, "type": "number" }, - "range" : { "description": "The valid range for the value Property", @@ -136,7 +106,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -150,7 +119,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -158,7 +126,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -179,7 +146,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["slm"] diff --git a/BodyWaterResURI.swagger.json b/BodyWaterResURI.swagger.json index 1c3db3a..b7d48ff 100644 --- a/BodyWaterResURI.swagger.json +++ b/BodyWaterResURI.swagger.json @@ -57,7 +57,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -71,39 +70,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -111,7 +83,6 @@ "readOnly": true, "type": "string" }, - "units" : { "description": "Body water unit", @@ -122,7 +93,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -141,7 +111,6 @@ "readOnly": true, "type": "array" }, - "id" : { "description": "Instance ID of this specific resource", @@ -149,7 +118,6 @@ "readOnly": true, "type": "string" }, - "bwater" : { "description": "Body water.", @@ -157,7 +125,6 @@ "readOnly": true, "type": "number" }, - "if" : { "description": "The interface set supported by this resource", @@ -178,7 +145,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["bwater"] diff --git a/BrewingResURI.swagger.json b/BrewingResURI.swagger.json index 3f3cbfa..a5119ad 100644 --- a/BrewingResURI.swagger.json +++ b/BrewingResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/Brewing" }, "x-example": { - "id": "unique_example_id", "amountrequested": 120, "strength": 8 } @@ -87,51 +86,16 @@ "readOnly": true, "type": "array" }, - "strength" : { "description": "The strength of a brewed drink.", "type": "integer" }, - "amountrequested" : { "description": "The amount requested in ml.", "type": "integer" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -139,7 +103,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -158,7 +121,6 @@ "readOnly": true, "type": "array" }, - "strengthrange" : { "items": { @@ -169,7 +131,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -183,7 +144,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -191,7 +151,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -212,7 +171,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["amountrequested"] diff --git a/BrightnessResURI.swagger.json b/BrightnessResURI.swagger.json index 60ea029..92f07f3 100644 --- a/BrightnessResURI.swagger.json +++ b/BrightnessResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/Brightness" }, "x-example": { - "id": "unique_example_id", "brightness": 10 } } @@ -85,7 +84,6 @@ "readOnly": true, "type": "array" }, - "brightness" : { "description": "Quantized representation in the range 0-100 of the current sensed or set value for Brightness", @@ -93,39 +91,12 @@ "minimum": 0, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -133,7 +104,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -152,7 +122,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -166,7 +135,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -174,7 +142,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -195,7 +162,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["brightness"] diff --git a/ButtonResURI.swagger.json b/ButtonResURI.swagger.json index d1a3f20..8fd5bb5 100644 --- a/ButtonResURI.swagger.json +++ b/ButtonResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "Status of the button", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/CarbonDioxideResURI.swagger.json b/CarbonDioxideResURI.swagger.json index 1f0ae15..f640a7e 100644 --- a/CarbonDioxideResURI.swagger.json +++ b/CarbonDioxideResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/CarbonMonoxideResURI.swagger.json b/CarbonMonoxideResURI.swagger.json index 3f83b3b..cdc82d2 100644 --- a/CarbonMonoxideResURI.swagger.json +++ b/CarbonMonoxideResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/ClockResURI.swagger.json b/ClockResURI.swagger.json index 3bb8d73..7c1cd00 100644 --- a/ClockResURI.swagger.json +++ b/ClockResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/Clock" }, "x-example": { - "id": "unique_example_id", "datetime": "2015-11-05T14:30Z", "countdown": 0.0 } @@ -99,39 +98,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -139,14 +111,12 @@ "readOnly": true, "type": "string" }, - "countdown" : { "description": "Desired total seconds for countdown", "minimum": 0, "type": "number" }, - "range" : { "description": "The valid range for the value Property", @@ -165,7 +135,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -179,13 +148,11 @@ "description": "Step value across the defined range", "readOnly": true }, - "datetime" : { "description": "Using ISO 8601 datetime format (e.g: 2007-04-05T14:30Z, 2007-04-05T14:30+09:00)", "type": "string" }, - "id" : { "description": "Instance ID of this specific resource", @@ -193,7 +160,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -214,7 +180,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["datetime"] diff --git a/ColourChromaResURI.swagger.json b/ColourChromaResURI.swagger.json index 8d7821d..f644a71 100644 --- a/ColourChromaResURI.swagger.json +++ b/ColourChromaResURI.swagger.json @@ -47,7 +47,6 @@ "schema": { "$ref": "#/definitions/ColourChroma" }, "x-example": { - "id": "unique_example_id", "hue": 300.0, "saturation": 212, "csc": [0.41,0.51], @@ -95,7 +94,6 @@ "readOnly": true, "type": "array" }, - "hue" : { "description": "Hue angle as defined by the CIECAM02 model definition", @@ -103,7 +101,6 @@ "minimum": 0.0, "type": "number" }, - "saturation" : { "description": "Saturation as defined by the CIECAM02 model definition", @@ -111,7 +108,6 @@ "minimum": 0, "type": "integer" }, - "maximumsaturation" : { "description": "Maximum supported value of Saturation for this Device", @@ -120,14 +116,12 @@ "readOnly": true, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - "csc" : { "description": "X and Y coordinates of the colour in CIE colour space", @@ -140,7 +134,6 @@ "minItems": 2, "type": "array" }, - "n" : { "description": "Friendly name of the resource", @@ -148,7 +141,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -167,32 +159,6 @@ "readOnly": true, "type": "array" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "step" : { "anyOf": [ @@ -206,14 +172,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "ct" : { "description": "Mired colour temperature", "minimum": 0, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -221,7 +185,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -242,7 +205,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["hue", "saturation", "csc"] diff --git a/ColourHueSaturationResURI.swagger.json b/ColourHueSaturationResURI.swagger.json index 6cb897b..d9fe332 100644 --- a/ColourHueSaturationResURI.swagger.json +++ b/ColourHueSaturationResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/ColourHS" }, "x-example": { - "id": "unique_example_id", "hue": 300.0, "saturation": 212 } @@ -95,7 +94,6 @@ "readOnly": true, "type": "array" }, - "hue" : { "description": "Hue angle as defined by the CIECAM02 model definition", @@ -103,7 +101,6 @@ "minimum": 0.0, "type": "number" }, - "saturation" : { "description": "Saturation as defined by the CIECAM02 model definition", @@ -111,7 +108,6 @@ "minimum": 0, "type": "integer" }, - "maximumsaturation" : { "description": "Maximum supported value of Saturation for this Device", @@ -120,39 +116,12 @@ "readOnly": true, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -160,7 +129,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -179,7 +147,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -193,7 +160,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -201,7 +167,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -222,7 +187,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["hue", "saturation"] diff --git a/ColourRGBResURI.swagger.json b/ColourRGBResURI.swagger.json index 096658e..759ba93 100644 --- a/ColourRGBResURI.swagger.json +++ b/ColourRGBResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/ColourRGB" }, "x-example": { - "id": "unique_example_id", "rgbValue": [255,0,0] } } @@ -86,7 +85,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -100,39 +98,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -140,7 +111,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -159,7 +129,6 @@ "readOnly": true, "type": "array" }, - "rgbValue" : { "description": "RGB value; the first item is the R, second the G, third the B.", @@ -170,7 +139,6 @@ "minItems": 3, "type": "array" }, - "id" : { "description": "Instance ID of this specific resource", @@ -178,7 +146,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -199,7 +166,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["rgbValue"] diff --git a/ColourSaturationResURI.swagger.json b/ColourSaturationResURI.swagger.json index 66bf11a..5f15327 100644 --- a/ColourSaturationResURI.swagger.json +++ b/ColourSaturationResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/Saturation" }, "x-example": { - "id": "unique_example_id", "colourSaturation": 60 } } @@ -85,39 +84,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -125,7 +97,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -144,7 +115,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -158,7 +128,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "colourSaturation" : { "description": "The colour saturation value", @@ -166,7 +135,6 @@ "minimum": 0, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -174,7 +142,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -195,7 +162,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["colourSaturation"] diff --git a/ColourSpaceCoordinatesResURI.swagger.json b/ColourSpaceCoordinatesResURI.swagger.json index 5c4fdf9..9e671fc 100644 --- a/ColourSpaceCoordinatesResURI.swagger.json +++ b/ColourSpaceCoordinatesResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/ColourCSC" }, "x-example": { - "id": "unique_example_id", "csc": [0.40,0.70] } } @@ -91,14 +90,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - "csc" : { "description": "X and Y coordinates of the colour in CIE colour space", @@ -111,7 +108,6 @@ "minItems": 2, "type": "array" }, - "n" : { "description": "Friendly name of the resource", @@ -119,7 +115,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -138,32 +133,6 @@ "readOnly": true, "type": "array" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "step" : { "anyOf": [ @@ -177,7 +146,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -185,7 +153,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -206,7 +173,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["csc"] diff --git a/ColourTemperatureResURI.swagger.json b/ColourTemperatureResURI.swagger.json index 7cfcf69..373e230 100644 --- a/ColourTemperatureResURI.swagger.json +++ b/ColourTemperatureResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/ColourTemp" }, "x-example": { - "id": "unique_example_id", "ct": 457 } } @@ -91,39 +90,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -131,7 +103,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -150,7 +121,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -164,14 +134,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "ct" : { "description": "Mired colour temperature", "minimum": 0, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -179,7 +147,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -200,7 +167,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["ct"] diff --git a/ConsumableResURI.swagger.json b/ConsumableResURI.swagger.json index 5a1e850..e201b45 100644 --- a/ConsumableResURI.swagger.json +++ b/ConsumableResURI.swagger.json @@ -59,7 +59,6 @@ "readOnly": true, "type": "array" }, - "remaining" : { "description": "Percentage remaining lifespan.", @@ -68,14 +67,12 @@ "readOnly": true, "type": "integer" }, - "typeofconsumable" : { "description": "Thing that is being consumed.", "readOnly": true, "type": "string" }, - "url" : { "description": "URL at which additional ordering information may be found.", @@ -83,39 +80,12 @@ "readOnly": true, "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -123,7 +93,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -142,7 +111,6 @@ "readOnly": true, "type": "array" }, - "orderpercentage" : { "description": "Percentage at which re-ordering is recommended by the manufacturer", @@ -151,7 +119,6 @@ "readOnly": true, "type": "integer" }, - "step" : { "anyOf": [ @@ -165,7 +132,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -173,7 +139,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -194,7 +159,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["typeofconsumable", "remaining"] diff --git a/ContactResURI.swagger.json b/ContactResURI.swagger.json index 39d38ec..557c920 100644 --- a/ContactResURI.swagger.json +++ b/ContactResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", diff --git a/DelayDefrostResURI.swagger.json b/DelayDefrostResURI.swagger.json index 0c5a2b7..050a042 100644 --- a/DelayDefrostResURI.swagger.json +++ b/DelayDefrostResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/DelayDefrost" }, "x-example": { - "id": "unique_example_id", "status": true, "startTime": "06:00Z", "interval": 180 @@ -102,13 +101,11 @@ "readOnly": true, "type": "array" }, - "status" : { "description": "Indicates whether any supported delay defrost function is active", "type": "boolean" }, - "interval" : { "default": 240, @@ -117,39 +114,12 @@ "minimum": 1, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -157,7 +127,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -176,19 +145,16 @@ "readOnly": true, "type": "array" }, - "stopTime" : { "description": "Stop time for the time period, if present interval cannot be present", "type": "string" }, - "startTime" : { "description": "Start time for the time period", "type": "string" }, - "step" : { "anyOf": [ @@ -202,7 +168,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -210,7 +175,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -231,7 +195,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" } diff --git a/DimmingResURI.swagger.json b/DimmingResURI.swagger.json index 343015f..2f2c4a9 100644 --- a/DimmingResURI.swagger.json +++ b/DimmingResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/Dimming" }, "x-example": { - "id": "unique_example_id", "dimmingSetting": 40 } } @@ -97,39 +96,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -137,7 +109,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -156,7 +127,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -170,13 +140,11 @@ "description": "Step value across the defined range", "readOnly": true }, - "dimmingSetting" : { "description": "Current dimming value", "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -184,7 +152,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -205,7 +172,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["dimmingSetting"] diff --git a/DoorResURI.swagger.json b/DoorResURI.swagger.json index 0edc18b..a33b4d1 100644 --- a/DoorResURI.swagger.json +++ b/DoorResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/DoorUpdate" }, "x-example": { - "id": "unique_example_id", "openAlarm": false } } @@ -93,39 +92,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -133,33 +99,12 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - "openDuration" : { "description": "The time duration the door has been open", "readOnly": true, "type": "string" }, - "openState" : { "description": "The state of the door (open or closed)", @@ -170,21 +115,6 @@ "readOnly": true, "type": "string" }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -192,13 +122,11 @@ "readOnly": true, "type": "string" }, - "openAlarm" : { "description": "The state of the door open alarm", "type": "boolean" }, - "if" : { "description": "The interface set supported by this resource", @@ -219,7 +147,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["openState"] @@ -227,126 +154,11 @@ , "DoorUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - "openAlarm" : { "description": "The state of the door open alarm", "type": "boolean" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" } diff --git a/EcomodeResURI.swagger.json b/EcomodeResURI.swagger.json index 6a0b42b..2c5f97f 100644 --- a/EcomodeResURI.swagger.json +++ b/EcomodeResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/ecomode-update" }, "x-example": { - "id": "unique_example_id", "modes": ["enabled"] } } @@ -87,7 +86,6 @@ "readOnly": true, "type": "array" }, - "modes" : { "description": "Array of the currently active mode(s)", @@ -96,53 +94,6 @@ }, "type": "array" }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -150,7 +101,6 @@ "readOnly": true, "type": "string" }, - "supportedModes" : { "description": "Array of possible modes the device supports.", @@ -160,26 +110,6 @@ "readOnly": true, "type": "array" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - "id" : { "description": "Instance ID of this specific resource", @@ -187,14 +117,12 @@ "readOnly": true, "type": "string" }, - "adminforced" : { "description": "Indicator that the current mode of operation has been forced by admin action.", "readOnly": true, "type": "boolean" }, - "if" : { "description": "The interface set supported by this resource", @@ -215,7 +143,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["supportedModes", "modes"] @@ -223,18 +150,6 @@ , "ecomode-update" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - "modes" : { "description": "Desired mode", @@ -242,110 +157,7 @@ "type": "string" }, "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" ,"required": ["modes"] diff --git a/EnergyConsumptionResURI.swagger.json b/EnergyConsumptionResURI.swagger.json index ac94ce4..7405950 100644 --- a/EnergyConsumptionResURI.swagger.json +++ b/EnergyConsumptionResURI.swagger.json @@ -57,53 +57,24 @@ "readOnly": true, "type": "array" }, - "power" : { "description": "Instantaneous Power", "readOnly": true, "type": "number" }, - "energy" : { "description": "Energy consumed", "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -111,7 +82,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -130,7 +100,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -144,7 +113,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -152,7 +120,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -173,7 +140,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["power", "energy"] diff --git a/EnergyGenerationResURI.swagger.json b/EnergyGenerationResURI.swagger.json index 935247f..26f231f 100644 --- a/EnergyGenerationResURI.swagger.json +++ b/EnergyGenerationResURI.swagger.json @@ -56,46 +56,18 @@ "readOnly": true, "type": "array" }, - "energygenerated" : { "description": "The energy generated in Watt-hour(Wh).", "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -103,7 +75,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -122,7 +93,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -136,7 +106,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +113,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +133,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["energygenerated"] diff --git a/EnergyOverloadResURI.swagger.json b/EnergyOverloadResURI.swagger.json index eafc67e..3526736 100644 --- a/EnergyOverloadResURI.swagger.json +++ b/EnergyOverloadResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/EnergyResURI.swagger.json b/EnergyResURI.swagger.json index 6fd0f98..7ded646 100644 --- a/EnergyResURI.swagger.json +++ b/EnergyResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/EnergyUpdate" }, "x-example": { - "id": "unique_example_id", "desiredvoltage": 130.0, "desiredcurrent": 6.0 } @@ -93,52 +92,23 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "desiredcurrent" : { "description": "The desired electric current in Amps (A).", "type": "number" }, - "current" : { "description": "The electric current in Amps (A).", "readOnly": true, "type": "number" }, - "range" : { "description": "The valid range for the value Property", @@ -157,21 +127,18 @@ "readOnly": true, "type": "array" }, - "frequency" : { "description": "The electric frequency in Hertz (Hz).", "readOnly": true, "type": "number" }, - "voltage" : { "description": "The electric voltage in Volts (V).", "readOnly": true, "type": "number" }, - "step" : { "anyOf": [ @@ -185,7 +152,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "n" : { "description": "Friendly name of the resource", @@ -193,13 +159,11 @@ "readOnly": true, "type": "string" }, - "desiredfrequency" : { "description": "The desired electric frequency in Hertz (Hz).", "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -207,13 +171,11 @@ "readOnly": true, "type": "string" }, - "desiredvoltage" : { "description": "The desired electric voltage in Volts (V).", "type": "number" }, - "if" : { "description": "The interface set supported by this resource", @@ -234,7 +196,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["voltage", "current", "frequency"] @@ -242,117 +203,21 @@ , "EnergyUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "desiredcurrent" : { "description": "The desired electric current in Amps (A).", "type": "number" }, - "desiredfrequency" : { "description": "The desired electric frequency in Hertz (Hz).", "type": "number" }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - "desiredvoltage" : { "description": "The desired electric voltage in Volts (V).", "type": "number" }, - "if" : { "description": "The interface set supported by this resource", @@ -373,7 +238,6 @@ "readOnly": true, "type": "array" } - } ,"anyOf" : [ @@ -393,7 +257,6 @@ ] } ] - ,"type" : "object" } } diff --git a/EnergyUsageResURI.swagger.json b/EnergyUsageResURI.swagger.json index 802a6cb..b337c04 100644 --- a/EnergyUsageResURI.swagger.json +++ b/EnergyUsageResURI.swagger.json @@ -72,38 +72,6 @@ "type": "array" }, - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -111,40 +79,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -152,7 +86,6 @@ "readOnly": true, "type": "string" }, - "resources" : { "items": { @@ -300,7 +233,6 @@ "minItems": 2, "type": "array" }, - "if" : { "description": "The interface set supported by this resource", @@ -321,7 +253,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["resources"] diff --git a/ExerciseResURI.swagger.json b/ExerciseResURI.swagger.json index 76f686b..f96a111 100644 --- a/ExerciseResURI.swagger.json +++ b/ExerciseResURI.swagger.json @@ -56,39 +56,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -96,7 +69,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -115,7 +87,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -129,7 +100,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -137,7 +107,6 @@ "readOnly": true, "type": "string" }, - "exercise" : { "description": "The level of exercise undertaken in percentage", @@ -146,7 +115,6 @@ "readOnly": true, "type": "number" }, - "if" : { "description": "The interface set supported by this resource", @@ -167,7 +135,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["exercise"] diff --git a/FoamingResURI.swagger.json b/FoamingResURI.swagger.json index 31c3337..c3f507f 100644 --- a/FoamingResURI.swagger.json +++ b/FoamingResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/Foaming" }, "x-example": { - "id": "unique_example_id", "foamstrength": 50 } } @@ -86,45 +85,17 @@ "readOnly": true, "type": "array" }, - "foamstrength" : { "description": "The desired foaminess of the liquid.", "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -132,7 +103,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -151,7 +121,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -165,7 +134,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -173,7 +141,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -194,7 +161,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["foamstrength"] diff --git a/GenericSensorResURI.swagger.json b/GenericSensorResURI.swagger.json index 6f1baf6..ae875e2 100644 --- a/GenericSensorResURI.swagger.json +++ b/GenericSensorResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" } diff --git a/GeolocationResURI.swagger.json b/GeolocationResURI.swagger.json index 9911ca2..568b062 100644 --- a/GeolocationResURI.swagger.json +++ b/GeolocationResURI.swagger.json @@ -62,7 +62,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -76,21 +75,18 @@ "description": "Step value across the defined range", "readOnly": true }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - "longitude" : { "description": "Device's Current Longitude coordinate (degrees)", "readOnly": true, "type": "number" }, - "heading" : { "description": "Direction of travel of device (degree)", @@ -99,7 +95,6 @@ "readOnly": true, "type": "number" }, - "range" : { "description": "The valid range for the value Property", @@ -118,7 +113,6 @@ "readOnly": true, "type": "array" }, - "n" : { "description": "Friendly name of the resource", @@ -126,39 +120,12 @@ "readOnly": true, "type": "string" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "latitude" : { "description": "Device's Current Latitude coordinate (degrees)", "readOnly": true, "type": "number" }, - "altitudeAccuracy" : { "description": "The accuracy level of the altitude coordinates (metres)", @@ -166,14 +133,12 @@ "readOnly": true, "type": "number" }, - "alt" : { "description": "The current distance (metres) above or below 'local' sea-level.", "readOnly": true, "type": "number" }, - "accuracy" : { "description": "The accuracy level of the latitude and longitude coordinates (metres)", @@ -181,7 +146,6 @@ "readOnly": true, "type": "number" }, - "speed" : { "description": "Device's current velocity (metres per second)", @@ -189,7 +153,6 @@ "readOnly": true, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -197,7 +160,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -218,7 +180,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["latitude", "longitude", "alt"] diff --git a/GlassBreakResURI.swagger.json b/GlassBreakResURI.swagger.json index eab9e7f..b5b3925 100644 --- a/GlassBreakResURI.swagger.json +++ b/GlassBreakResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/GlucoseCarbResURI.swagger.json b/GlucoseCarbResURI.swagger.json index 5cb50ba..ae54f96 100644 --- a/GlucoseCarbResURI.swagger.json +++ b/GlucoseCarbResURI.swagger.json @@ -57,7 +57,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -71,7 +70,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -79,39 +77,12 @@ "readOnly": true, "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -119,7 +90,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -138,14 +108,12 @@ "readOnly": true, "type": "array" }, - "carb" : { "description": "The amount of carbohydrates undertaken in grams", "readOnly": true, "type": "number" }, - "meal" : { "description": "Recorded time of carbohydrates intake", @@ -165,7 +133,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -186,7 +153,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["carb", "meal"] diff --git a/GrinderResURI.swagger.json b/GrinderResURI.swagger.json index bbfdb08..19b0ff0 100644 --- a/GrinderResURI.swagger.json +++ b/GrinderResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/GrinderUpdate" }, "x-example": { - "id": "unique_example_id", "coarseness": 10 } } @@ -80,7 +79,6 @@ "description": "The desired coarseness when grinding.", "type": "integer" }, - "rt" : { "description": "Resource Type", @@ -92,7 +90,6 @@ "readOnly": true, "type": "array" }, - "remaining" : { "description": "The percentage of unground material left.", @@ -101,39 +98,12 @@ "readOnly": true, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -141,7 +111,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -160,7 +129,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -174,7 +142,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -182,7 +149,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -215,122 +181,7 @@ { "description": "The desired coarseness when grinding.", "type": "integer" - }, - - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" ,"required": ["coarseness"] diff --git a/HeatingZoneResURI.swagger.json b/HeatingZoneResURI.swagger.json index 68e4639..1b605a2 100644 --- a/HeatingZoneResURI.swagger.json +++ b/HeatingZoneResURI.swagger.json @@ -57,7 +57,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -71,7 +70,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -79,39 +77,12 @@ "readOnly": true, "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -119,7 +90,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -138,21 +108,18 @@ "readOnly": true, "type": "array" }, - "heatinglevel" : { "description": "Current heating level for the zone indicated.", "readOnly": true, "type": "integer" }, - "maxheatinglevel" : { "description": "Maximum heating level for the zone indicated.", "readOnly": true, "type": "integer" }, - "if" : { "description": "The interface set supported by this resource", @@ -173,7 +140,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["maxheatinglevel", "heatinglevel"] diff --git a/HeightResURI.swagger.json b/HeightResURI.swagger.json index f984644..d4d3544 100644 --- a/HeightResURI.swagger.json +++ b/HeightResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/Height" }, "x-example": { - "id": "unique_example_id", "height": 1.8, "units": "m" } @@ -99,39 +98,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -139,7 +111,6 @@ "readOnly": true, "type": "string" }, - "units" : { "description": "Height unit", @@ -152,7 +123,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -171,7 +141,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -185,14 +154,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "height" : { "description": "Height of an object", "minimum": 0, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -200,7 +167,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -221,7 +187,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["height"] diff --git a/HumidityResURI.swagger.json b/HumidityResURI.swagger.json index c1b5460..d9f6f84 100644 --- a/HumidityResURI.swagger.json +++ b/HumidityResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/HumidityUpdate" }, "x-example": { - "id": "unique_example_id", "desiredHumidity" : 45 } } @@ -86,7 +85,6 @@ "readOnly": true, "type": "array" }, - "desiredHumidity" : { "description": "Desired value for Humidity", @@ -94,39 +92,12 @@ "minimum": 0, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -134,7 +105,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -153,7 +123,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -167,7 +136,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "humidity" : { "description": "Current sensed value for Humidity", @@ -176,7 +144,6 @@ "readOnly": true, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -184,7 +151,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -205,7 +171,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["humidity"] @@ -213,128 +178,13 @@ , "HumidityUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - "desiredHumidity" : { "description": "Desired value for Humidity", "maximum": 100, "minimum": 0, "type": "integer" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" } diff --git a/IceMakerResURI.swagger.json b/IceMakerResURI.swagger.json index 6904a33..6601de4 100644 --- a/IceMakerResURI.swagger.json +++ b/IceMakerResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/IceMakerUpdate" }, "x-example": { - "id": "unique_example_id", "status": "off" } } @@ -95,7 +94,6 @@ "readOnly": true, "type": "array" }, - "status" : { "description": "Status of the Ice Maker", @@ -106,39 +104,6 @@ ], "type": "string" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -146,40 +111,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -187,7 +118,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -216,18 +146,7 @@ , "IceMakerUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - + "status" : { "description": "Set the status of the Ice Maker", @@ -235,110 +154,7 @@ "on", "off" ] - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" ,"required": ["status"] diff --git a/IlluminanceSensorResURI.swagger.json b/IlluminanceSensorResURI.swagger.json index bc752b6..52d72d3 100644 --- a/IlluminanceSensorResURI.swagger.json +++ b/IlluminanceSensorResURI.swagger.json @@ -56,39 +56,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -96,14 +69,12 @@ "readOnly": true, "type": "string" }, - "illuminance" : { "description": "Sensed luminous flux per unit area in lux.", "readOnly": true, "type": "number" }, - "range" : { "description": "The valid range for the value Property", @@ -122,7 +93,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -136,7 +106,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +113,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +133,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["illuminance"] diff --git a/LiquidLevelResURI.swagger.json b/LiquidLevelResURI.swagger.json index 4a3567c..be102bc 100644 --- a/LiquidLevelResURI.swagger.json +++ b/LiquidLevelResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/LiquidLevelUpdate" }, "x-example": { - "id": "unique_example_id", "desiredlevel": 80 } } @@ -86,7 +85,6 @@ "readOnly": true, "type": "array" }, - "currentlevel" : { "description": "The current level of the liquid in percentage.", @@ -95,39 +93,12 @@ "readOnly": true, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -135,7 +106,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -154,7 +124,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -168,7 +137,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "desiredlevel" : { "description": "The desired level of the liquid in percentage.", @@ -176,7 +144,6 @@ "minimum": 0, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -184,7 +151,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -205,7 +171,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["currentlevel"] @@ -213,128 +178,13 @@ , "LiquidLevelUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "desiredlevel" : { "description": "The desired level of the liquid in percentage.", "maximum": 100, "minimum": 0, "type": "integer" - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" ,"required": ["desiredlevel"] diff --git a/LockCodeResURI.swagger.json b/LockCodeResURI.swagger.json index e0bc58c..fa1eca8 100644 --- a/LockCodeResURI.swagger.json +++ b/LockCodeResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/LockCode" }, "x-example": { - "id": "unique_example_id", "lockCodeList": ["543210","332211"] } } @@ -85,39 +84,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -125,7 +97,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -144,7 +115,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -158,7 +128,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "lockCodeList" : { "items": { @@ -167,7 +136,6 @@ }, "type": "array" }, - "id" : { "description": "Instance ID of this specific resource", @@ -175,7 +143,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -196,7 +163,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["lockCodeList"] diff --git a/LockStatusResURI.swagger.json b/LockStatusResURI.swagger.json index 816b1b1..24ce853 100644 --- a/LockStatusResURI.swagger.json +++ b/LockStatusResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/Lock" }, "x-example": { - "id": "unique_example_id", "lockState": "Unlocked" } } @@ -94,39 +93,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -134,7 +100,6 @@ "readOnly": true, "type": "string" }, - "lockState" : { "description": "State of the lock.", @@ -144,40 +109,6 @@ ], "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -185,7 +116,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -206,7 +136,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["lockState"] diff --git a/MagneticFieldDirectionResURI.swagger.json b/MagneticFieldDirectionResURI.swagger.json index befa38f..66ef078 100644 --- a/MagneticFieldDirectionResURI.swagger.json +++ b/MagneticFieldDirectionResURI.swagger.json @@ -56,14 +56,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - "value" : { "description": "Array containing Hx, Hy, Hz.", @@ -75,7 +73,6 @@ "readOnly": true, "type": "array" }, - "n" : { "description": "Friendly name of the resource", @@ -83,7 +80,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -102,7 +98,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -116,7 +111,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -124,7 +118,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -145,7 +138,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/MediaResURI.swagger.json b/MediaResURI.swagger.json index b214b23..892c389 100644 --- a/MediaResURI.swagger.json +++ b/MediaResURI.swagger.json @@ -80,7 +80,6 @@ "readOnly": true, "type": "array" }, - "media" : { "items": { @@ -102,39 +101,6 @@ }, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -142,40 +108,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -183,7 +115,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -204,7 +135,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["media"] diff --git a/ModeResURI.swagger.json b/ModeResURI.swagger.json index 5666427..9fdbb1f 100644 --- a/ModeResURI.swagger.json +++ b/ModeResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/ModeUpdate" }, "x-example": { - "id": "unique_example_id", "modes": ["armedAway"] } } @@ -97,7 +96,6 @@ "readOnly": true, "type": "array" }, - "modes" : { "description": "Array of the currently active mode(s)", @@ -106,39 +104,12 @@ }, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -146,7 +117,6 @@ "readOnly": true, "type": "string" }, - "supportedModes" : { "description": "Array of possible modes the device supports.", @@ -156,40 +126,6 @@ "readOnly": true, "type": "array" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -197,7 +133,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -237,7 +172,6 @@ "readOnly": true, "type": "array" }, - "modes" : { "description": "Desired mode", @@ -246,109 +180,12 @@ }, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" ,"required": ["modes"] diff --git a/MotionResURI.swagger.json b/MotionResURI.swagger.json index f784a9f..3db9d59 100644 --- a/MotionResURI.swagger.json +++ b/MotionResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/MovementResURI.swagger.json b/MovementResURI.swagger.json index 0c89ced..2985981 100644 --- a/MovementResURI.swagger.json +++ b/MovementResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/movement" }, "x-example": { - "id": "unique_example_id", "movementSettings": ["stop", "left", "right", "rotate", "forward", "backward"], "movement": "stop" } @@ -89,7 +88,6 @@ "readOnly": true, "type": "array" }, - "movementSettings" : { "description": "array of possible movement values", @@ -99,39 +97,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -139,46 +104,11 @@ "readOnly": true, "type": "string" }, - "movementModifier" : { "description": "Modifier to the movement value (e.g. spin-90, left-20), units are device dependent", "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "if" : { "description": "The interface set supported by this resource", @@ -199,7 +129,6 @@ "readOnly": true, "type": "array" }, - "id" : { "description": "Instance ID of this specific resource", @@ -207,13 +136,11 @@ "readOnly": true, "type": "string" }, - "movement" : { "description": "Current movement value", "type": "string" } - } ,"type" : "object" ,"required": ["movementSettings", "movement"] diff --git a/NightModeResURI.swagger.json b/NightModeResURI.swagger.json index f75b4e0..afaa672 100644 --- a/NightModeResURI.swagger.json +++ b/NightModeResURI.swagger.json @@ -43,7 +43,6 @@ "schema": { "$ref": "#/definitions/NightMode" }, "x-example": { - "id": "unique_example_id", "nightMode": true } } @@ -85,39 +84,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -125,46 +91,11 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - "nightMode" : { "description": "Status of the Night Mode", "type": "boolean" }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -172,7 +103,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -193,7 +123,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["nightMode"] diff --git a/ORFIDStationResURI.swagger.json b/ORFIDStationResURI.swagger.json index b290651..f82bc2f 100644 --- a/ORFIDStationResURI.swagger.json +++ b/ORFIDStationResURI.swagger.json @@ -87,7 +87,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -101,46 +100,18 @@ "description": "Step value across the defined range", "readOnly": true }, - "process" : { "description": "the process step that is being performed at this station", "readOnly": true, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -148,13 +119,11 @@ "readOnly": true, "type": "string" }, - "actionrequest" : { "description": "the action request identifier", "type": "integer" }, - "range" : { "description": "The valid range for the value Property", @@ -173,7 +142,6 @@ "readOnly": true, "type": "array" }, - "id" : { "description": "Instance ID of this specific resource", @@ -181,13 +149,11 @@ "readOnly": true, "type": "string" }, - "event" : { "description": "when True, the action request should be applied to the product identified by the tagid", "type": "boolean" }, - "if" : { "description": "The interface set supported by this resource", @@ -208,7 +174,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["event", "actionrequest"] diff --git a/ORFIDTagResURI.swagger.json b/ORFIDTagResURI.swagger.json index eb06a8b..90b63d7 100644 --- a/ORFIDTagResURI.swagger.json +++ b/ORFIDTagResURI.swagger.json @@ -57,46 +57,18 @@ "readOnly": true, "type": "array" }, - "tagid" : { "description": "the tag read by the reader", "readOnly": true, "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -104,7 +76,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -123,7 +94,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -137,14 +107,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "reading" : { "description": "true, the tagid is read e.g. being valid. false, the tagid is invalid", "readOnly": true, "type": "boolean" }, - "id" : { "description": "Instance ID of this specific resource", @@ -152,7 +120,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -173,7 +140,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["tagid", "reading"] diff --git a/OpenLevelResURI.swagger.json b/OpenLevelResURI.swagger.json index 067dfbc..0d73c60 100644 --- a/OpenLevelResURI.swagger.json +++ b/OpenLevelResURI.swagger.json @@ -55,7 +55,6 @@ "description" : "", "x-example": { - "id": "unique_example_id", "openLevel": 0 } , @@ -99,45 +98,17 @@ "readOnly": true, "type": "array" }, - "openLevel" : { "description": "How open or ajar the entity is", "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -145,7 +116,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -171,7 +141,6 @@ "readOnly": true, "type": "integer" }, - "step" : { "anyOf": [ @@ -185,7 +154,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -193,7 +161,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -214,7 +181,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["openLevel"] diff --git a/OperationalStateResURI.swagger.json b/OperationalStateResURI.swagger.json index 707ca33..bd918ba 100644 --- a/OperationalStateResURI.swagger.json +++ b/OperationalStateResURI.swagger.json @@ -60,7 +60,6 @@ "description" : "", "x-example": { - "id": "unique_example_id", "currentMachineState": "pause", "currentJobState": "wash" } @@ -109,19 +108,16 @@ "readOnly": true, "type": "array" }, - "currentMachineState" : { "description": "Current state of operation of the device.", "type": "string" }, - "currentJobState" : { "description": "Currently active jobState", "type": "string" }, - "machineStates" : { "description": "array of the possible operational states.", @@ -131,39 +127,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -171,14 +140,12 @@ "readOnly": true, "type": "string" }, - "runningTime" : { "description": "Elapsed time in the current operational state", "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -197,14 +164,12 @@ "readOnly": true, "type": "array" }, - "remainingTime" : { "description": "Time till completion of the current operational state", "readOnly": true, "type": "string" }, - "step" : { "anyOf": [ @@ -218,7 +183,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "progressPercentage" : { "description": "Percentage completeness of the current jobState", @@ -227,7 +191,6 @@ "readOnly": true, "type": "integer" }, - "id" : { "description": "Instance ID of this specific resource", @@ -235,7 +198,6 @@ "readOnly": true, "type": "string" }, - "jobStates" : { "description": "array of the possible job states.", @@ -245,7 +207,6 @@ "readOnly": true, "type": "array" }, - "if" : { "description": "The interface set supported by this resource", @@ -266,7 +227,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["machineStates", "currentMachineState"] @@ -274,132 +234,16 @@ , "OperationUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "currentMachineState" : + "currentMachineState" : { "description": "Current state of operation of the device.", "type": "string" }, - "currentJobState" : { "description": "Currently active jobState", "type": "string" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" } diff --git a/PanTiltZoomResURI.swagger.json b/PanTiltZoomResURI.swagger.json index b0873d8..3d4a1b6 100644 --- a/PanTiltZoomResURI.swagger.json +++ b/PanTiltZoomResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/PanTiltZoom" }, "x-example": { - "id": "unique_example_id", "pan": 10.0, "tilt": -10.0, "zoomFactor": "4x" @@ -91,7 +90,6 @@ "readOnly": true, "type": "array" }, - "tilt_range" : { "description": "Min and Max values for the tilt setting", @@ -103,51 +101,22 @@ "readOnly": true, "type": "array" }, - "zoomFactor" : { "description": "The Zoomfactor value", "type": "string" }, - "tilt" : { "description": "vertical tilt in degrees", "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -155,7 +124,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -174,7 +142,6 @@ "readOnly": true, "type": "array" }, - "pan_range" : { "description": "Min and Max values for the pan setting", @@ -186,7 +153,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -200,7 +166,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "zoomFactorRange" : { "description": "allowed Zoom Factor values. Linear equates to a 1-100 min/max.", @@ -216,7 +181,6 @@ "readOnly": true, "type": "string" }, - "id" : { "description": "Instance ID of this specific resource", @@ -224,13 +188,11 @@ "readOnly": true, "type": "string" }, - "pan" : { "description": "horizontal pan in degrees", "type": "number" }, - "if" : { "description": "The interface set supported by this resource", @@ -251,7 +213,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["pan", "tilt", "zoomFactor"] diff --git a/PowerSourcesResourceURI.swagger.json b/PowerSourcesResourceURI.swagger.json index df3b8c9..482a4ec 100644 --- a/PowerSourcesResourceURI.swagger.json +++ b/PowerSourcesResourceURI.swagger.json @@ -62,7 +62,6 @@ "readOnly": true, "type": "array" }, - "powerSources" : { "items": { @@ -82,39 +81,6 @@ }, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -122,40 +88,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -163,7 +95,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -184,7 +115,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["powerSources"] diff --git a/PresenceResURI.swagger.json b/PresenceResURI.swagger.json index 89876e2..e8f89c2 100644 --- a/PresenceResURI.swagger.json +++ b/PresenceResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/PrintQueueResURI.swagger.json b/PrintQueueResURI.swagger.json index e2d6999..35931de 100644 --- a/PrintQueueResURI.swagger.json +++ b/PrintQueueResURI.swagger.json @@ -66,39 +66,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -106,7 +73,6 @@ "readOnly": true, "type": "string" }, - "queue" : { "description": "The array of queue items for the printer.", @@ -141,40 +107,6 @@ "readOnly": true, "type": "array" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -182,7 +114,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -203,7 +134,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["queue"] diff --git a/RampTimeResURI.swagger.json b/RampTimeResURI.swagger.json index 9ffeb6c..a355057 100644 --- a/RampTimeResURI.swagger.json +++ b/RampTimeResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/RampTime" }, "x-example": { - "id": "unique_example_id", "rampTime": 50 } } @@ -96,39 +95,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -136,7 +108,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -155,13 +126,11 @@ "readOnly": true, "type": "array" }, - "rampTime" : { "description": "Actual speed of changing between 2 dimming values", "type": "integer" }, - "step" : { "anyOf": [ @@ -175,7 +144,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -183,7 +151,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -204,7 +171,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["rampTime"] diff --git a/RefrigerationResURI.swagger.json b/RefrigerationResURI.swagger.json index b45f533..64517a7 100644 --- a/RefrigerationResURI.swagger.json +++ b/RefrigerationResURI.swagger.json @@ -46,7 +46,6 @@ "schema": { "$ref": "#/definitions/RefrigerationUpdate" }, "x-example": { - "id": "unique_example_id", "rapidFreeze": true } } @@ -88,51 +87,22 @@ "readOnly": true, "type": "array" }, - "rapidFreeze" : { "description": "Indicates whether the unit has a rapid freeze capability active.", "type": "boolean" }, - "defrost" : { "description": "Indicates whether a defrost cycle is currently active", "type": "boolean" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -140,7 +110,6 @@ "readOnly": true, "type": "string" }, - "filter" : { "description": "Percentage life time remaining for the water filter", @@ -149,7 +118,6 @@ "readOnly": true, "type": "integer" }, - "range" : { "description": "The valid range for the value Property", @@ -168,13 +136,11 @@ "readOnly": true, "type": "array" }, - "rapidCool" : { "description": "Indicates whether the unit has a rapid cool capability active", "type": "boolean" }, - "step" : { "anyOf": [ @@ -188,7 +154,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -196,7 +161,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -217,7 +181,6 @@ "readOnly": true, "type": "array" } - } ,"anyOf" : [ @@ -242,144 +205,26 @@ ] } ] - ,"type" : "object" } , "RefrigerationUpdate" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "rapidFreeze" : + "rapidFreeze" : { "description": "Indicates whether the unit has a rapid freeze capability active.", "type": "boolean" }, - "defrost" : { "description": "Indicates whether a defrost cycle is currently active", "type": "boolean" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - "rapidCool" : { "description": "Indicates whether the unit has a rapid cool capability active", "type": "boolean" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"anyOf" : [ @@ -399,7 +244,6 @@ ] } ] - ,"type" : "object" } } diff --git a/SelectableLevelsResURI.swagger.json b/SelectableLevelsResURI.swagger.json index afed8b4..822f56f 100644 --- a/SelectableLevelsResURI.swagger.json +++ b/SelectableLevelsResURI.swagger.json @@ -95,39 +95,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -135,7 +102,6 @@ "readOnly": true, "type": "string" }, - "targetlevel" : { "anyOf": [ @@ -148,26 +114,6 @@ ], "description": "The target level from the available selectable set" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - "availablelevels" : { "description": "Set of levels from which one can be selected", @@ -184,21 +130,6 @@ "readOnly": true, "type": "array" }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -206,7 +137,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -235,58 +165,6 @@ , "UpdateSchema" : { "properties": { - "rt" : - { - "description": "Resource Type", - "items": { - "maxLength": 64, - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" - }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - - "n" : - { - "description": "Friendly name of the resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - "targetlevel" : { "description": "The target level from the available selectable set", @@ -294,70 +172,7 @@ "integer", "number" ] - }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - - "id" : - { - "description": "Instance ID of this specific resource", - "maxLength": 64, - "readOnly": true, - "type": "string" - }, - - "if" : - { - "description": "The interface set supported by this resource", - "items": { - "enum": [ - "oic.if.baseline", - "oic.if.ll", - "oic.if.b", - "oic.if.lb", - "oic.if.rw", - "oic.if.r", - "oic.if.a", - "oic.if.s" - ], - "type": "string" - }, - "minItems": 1, - "readOnly": true, - "type": "array" } - } ,"type" : "object" ,"required": ["targetlevel"] diff --git a/SensorPropsResURI.swagger.json b/SensorPropsResURI.swagger.json index d4cfae7..3351e04 100644 --- a/SensorPropsResURI.swagger.json +++ b/SensorPropsResURI.swagger.json @@ -45,7 +45,6 @@ "schema": { "$ref": "#/definitions/SensorProps" }, "x-example": { - "id": "unique_example_id", "silenttime": 20, "sensitivity": 10.75 } @@ -88,51 +87,22 @@ "readOnly": true, "type": "array" }, - "silenttime" : { "description": "The time in seconds from the previous report that the Sensor restrains from sending a state change. This is used to avoid repeated state change reports.", "type": "integer" }, - "sensitivity" : { "description": "The level of the detection accuracy of the Sensor. This is used to control the level at which the Senor detects a state change. Range should be specified per manufacturer device capabilities.", "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -140,7 +110,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -159,7 +128,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -173,7 +141,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -181,7 +148,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -202,7 +168,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["silenttime", "sensitivity"] diff --git a/SignalStrengthResURI.swagger.json b/SignalStrengthResURI.swagger.json index 9d35978..ab21dda 100644 --- a/SignalStrengthResURI.swagger.json +++ b/SignalStrengthResURI.swagger.json @@ -57,39 +57,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -97,7 +70,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -116,14 +88,12 @@ "readOnly": true, "type": "array" }, - "lqi" : { "description": "current value of Link Quality Indicator", "readOnly": true, "type": "number" }, - "step" : { "anyOf": [ @@ -137,14 +107,12 @@ "description": "Step value across the defined range", "readOnly": true }, - "rssi" : { "description": "current value of Received Signal Strength Indicator", "readOnly": true, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -152,7 +120,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -173,7 +140,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["lqi", "rssi"] diff --git a/SleepSensorResURI.swagger.json b/SleepSensorResURI.swagger.json index efaea09..3a2fb07 100644 --- a/SleepSensorResURI.swagger.json +++ b/SleepSensorResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/SmokeSensorResURI.swagger.json b/SmokeSensorResURI.swagger.json index c463b38..f714401 100644 --- a/SmokeSensorResURI.swagger.json +++ b/SmokeSensorResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/SpeechTTSResURI.swagger.json b/SpeechTTSResURI.swagger.json index 69d1d29..1867e2e 100644 --- a/SpeechTTSResURI.swagger.json +++ b/SpeechTTSResURI.swagger.json @@ -56,8 +56,6 @@ "description" : "", "x-example": { - "rt": ["oic.r.speech.tts"], - "id": "unique_example_id", "utterance": "SSML Document" } , @@ -89,7 +87,6 @@ "readOnly": true, "type": "array" }, - "supportedLanguages" : { "description": "array of supported language tags", @@ -99,39 +96,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -139,53 +103,17 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - "supportedVoices" : { "description": "SSML document fragment indicating supported voices", "readOnly": true, "type": "string" }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "utterance" : { "description": "SSML document including the speech body", "type": "string" }, - "id" : { "description": "Instance ID of this specific resource", @@ -193,7 +121,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -214,7 +141,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["utterance"] diff --git a/TemperatureResURI.swagger.json b/TemperatureResURI.swagger.json index ed49071..e964319 100644 --- a/TemperatureResURI.swagger.json +++ b/TemperatureResURI.swagger.json @@ -63,7 +63,6 @@ "schema": { "$ref": "#/definitions/Temperature" }, "x-example": { - "id": "unique_example_id", "temperature": 18.0 } } @@ -117,45 +116,17 @@ "readOnly": true, "type": "array" }, - "temperature" : { "description": "Current temperature setting or measurement", "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -163,7 +134,6 @@ "readOnly": true, "type": "string" }, - "units" : { "description": "Units for the temperature value", @@ -175,7 +145,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -194,7 +163,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -208,7 +176,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -216,7 +183,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -237,7 +203,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["temperature"] diff --git a/ThreeAxisResURI.swagger.json b/ThreeAxisResURI.swagger.json index 7b379b9..1957eaf 100644 --- a/ThreeAxisResURI.swagger.json +++ b/ThreeAxisResURI.swagger.json @@ -56,7 +56,6 @@ "readOnly": true, "type": "array" }, - "orientation" : { "description": "Array containing x-plane, y-plane and z-plane orientation in 'g'.", @@ -68,39 +67,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -108,7 +80,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -127,7 +98,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -141,7 +111,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -149,7 +118,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -170,7 +138,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["orientation"] diff --git a/TimePeriodResURI.swagger.json b/TimePeriodResURI.swagger.json index a062fa4..41e6f4b 100644 --- a/TimePeriodResURI.swagger.json +++ b/TimePeriodResURI.swagger.json @@ -44,7 +44,6 @@ "schema": { "$ref": "#/definitions/TimePeriod" }, "x-example": { - "id": "unique_example_id", "startTime":"2015-01-09T14:30Z", "stopTime": "2015-01-09T14:45Z" } @@ -88,45 +87,17 @@ "readOnly": true, "type": "array" }, - "interval" : { "description": "Time interval in minutes after the startTime, if present stopTime cannot be present", "type": "integer" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -134,7 +105,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -153,19 +123,16 @@ "readOnly": true, "type": "array" }, - "stopTime" : { "description": "Stop time for the time period, if present interval cannot be present", "type": "string" }, - "startTime" : { "description": "Start time for the time period", "type": "string" }, - "step" : { "anyOf": [ @@ -179,7 +146,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -187,7 +153,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -208,7 +173,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" } diff --git a/TimeStampResURI.swagger.json b/TimeStampResURI.swagger.json index e548260..1c7bf1c 100644 --- a/TimeStampResURI.swagger.json +++ b/TimeStampResURI.swagger.json @@ -56,7 +56,6 @@ "readOnly": true, "type": "array" }, - "timestamp" : { "description": "An RFC3339 formated time indicating when the data was observed (e.g.: 2016-02-15T09:19Z, 1996-12-19T16:39:57-08:00)", @@ -64,39 +63,12 @@ "readOnly": true, "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -104,7 +76,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -123,7 +94,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -137,7 +107,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -145,7 +114,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -166,7 +134,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["timestamp"] diff --git a/TouchResURI.swagger.json b/TouchResURI.swagger.json index a2646e1..cedafd0 100644 --- a/TouchResURI.swagger.json +++ b/TouchResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/UVRadiationResURI.swagger.json b/UVRadiationResURI.swagger.json index 289b7b2..f035cd9 100644 --- a/UVRadiationResURI.swagger.json +++ b/UVRadiationResURI.swagger.json @@ -56,39 +56,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -96,7 +69,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -115,14 +87,12 @@ "readOnly": true, "type": "array" }, - "measurement" : { "description": "The measured UV Index", "readOnly": true, "type": "number" }, - "step" : { "anyOf": [ @@ -136,7 +106,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +113,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +133,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["measurement"] diff --git a/UserIDResURI.swagger.json b/UserIDResURI.swagger.json index 55348f3..2cea58a 100644 --- a/UserIDResURI.swagger.json +++ b/UserIDResURI.swagger.json @@ -56,46 +56,12 @@ "readOnly": true, "type": "array" }, - "userid" : { "description": "ID of a patient/user of healthcare devices", "readOnly": true, "type": "string" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -103,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -144,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -165,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["userid"] diff --git a/ValueConditionalResURI.swagger.json b/ValueConditionalResURI.swagger.json index e0853e0..876428b 100644 --- a/ValueConditionalResURI.swagger.json +++ b/ValueConditionalResURI.swagger.json @@ -76,14 +76,12 @@ "readOnly": true, "type": "array" }, - "maxnotifyperiod" : { "description": "Maximum elapsed time in ms before a notification must be sent.", "minimum": 0, "type": "integer" }, - "n" : { "description": "Friendly name of the resource", @@ -91,21 +89,18 @@ "readOnly": true, "type": "string" }, - "minnotifyperiod" : { "description": "Minimum elapsed time in ms before a notification is sent.", "minimum": 0, "type": "integer" }, - "threshold" : { "description": "Amount by which the measured value must change before a notification is sent.", "minimum": 0, "type": "number" }, - "id" : { "description": "Instance ID of this specific resource", @@ -113,7 +108,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -134,7 +128,6 @@ "readOnly": true, "type": "array" } - } ,"anyOf" : [ @@ -154,7 +147,6 @@ ] } ] - ,"type" : "object" } } diff --git a/VehicleConnectorResURI.swagger.json b/VehicleConnectorResURI.swagger.json index 3d67c1b..1a01739 100644 --- a/VehicleConnectorResURI.swagger.json +++ b/VehicleConnectorResURI.swagger.json @@ -58,39 +58,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -98,7 +71,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -117,28 +89,24 @@ "readOnly": true, "type": "array" }, - "connected" : { "description": "The connection state.", "readOnly": true, "type": "boolean" }, - "ratedchargingcapacity" : { "description": "The rated charging capacity in Amps (A).", "readOnly": true, "type": "number" }, - "rateddischargingcapacity" : { "description": "The rated discharging capacity in Amps (A).", "readOnly": true, "type": "number" }, - "step" : { "anyOf": [ @@ -152,7 +120,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -160,7 +127,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -181,7 +147,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["connected"] diff --git a/WaterResURI.swagger.json b/WaterResURI.swagger.json index c8a5f3e..7a5550a 100644 --- a/WaterResURI.swagger.json +++ b/WaterResURI.swagger.json @@ -56,21 +56,12 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - "value" : { "description": "true = sensed, false = not sensed.", "readOnly": true, "type": "boolean" }, - "n" : { "description": "Friendly name of the resource", @@ -78,40 +69,6 @@ "readOnly": true, "type": "string" }, - - "range" : - { - "description": "The valid range for the value Property", - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "integer" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "readOnly": true, - "type": "array" - }, - - "step" : - { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "number" - } - ], - "description": "Step value across the defined range", - "readOnly": true - }, - "id" : { "description": "Instance ID of this specific resource", @@ -119,7 +76,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -140,7 +96,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["value"] diff --git a/WeightResURI.swagger.json b/WeightResURI.swagger.json index ec5d0a7..09c2843 100644 --- a/WeightResURI.swagger.json +++ b/WeightResURI.swagger.json @@ -57,7 +57,6 @@ "readOnly": true, "type": "array" }, - "weight" : { "description": "Weight of an object", @@ -65,39 +64,12 @@ "readOnly": true, "type": "number" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -105,7 +77,6 @@ "readOnly": true, "type": "string" }, - "units" : { "description": "Weight unit", @@ -118,7 +89,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -137,7 +107,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -151,7 +120,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -159,7 +127,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -180,7 +147,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["weight", "units"] diff --git a/mediaSourceInputResURI.swagger.json b/mediaSourceInputResURI.swagger.json index 1fd843b..645d38a 100644 --- a/mediaSourceInputResURI.swagger.json +++ b/mediaSourceInputResURI.swagger.json @@ -56,7 +56,6 @@ "schema": { "$ref": "#/definitions/mediaSourceList" }, "x-example": { - "id": "unique_example_id", "sources": [ { "sourceName": "my new name", @@ -110,39 +109,6 @@ "readOnly": true, "type": "array" }, - - "precision" : - { - "description": "Accuracy granularity of the exposed value", - "readOnly": true, - "type": "number" - }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -150,7 +116,6 @@ "readOnly": true, "type": "string" }, - "sources" : { "items": { @@ -189,7 +154,6 @@ }, "type": "array" }, - "range" : { "description": "The valid range for the value Property", @@ -208,7 +172,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -222,7 +185,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -230,7 +192,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -251,7 +212,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["sources"] diff --git a/mediaSourceListResURI.swagger.json b/mediaSourceListResURI.swagger.json index 0bfb5e2..443ce09 100644 --- a/mediaSourceListResURI.swagger.json +++ b/mediaSourceListResURI.swagger.json @@ -56,7 +56,6 @@ "schema": { "$ref": "#/definitions/mediaSourceList" }, "x-example": { - "id": "unique_example_id", "sources": [ { "sourceName": "my new name", @@ -110,39 +109,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -150,7 +122,6 @@ "readOnly": true, "type": "string" }, - "sources" : { "items": { @@ -189,7 +160,6 @@ }, "type": "array" }, - "range" : { "description": "The valid range for the value Property", @@ -208,7 +178,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -222,7 +191,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -230,7 +198,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -251,7 +218,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["sources"] diff --git a/mediaSourceOutputResURI.swagger.json b/mediaSourceOutputResURI.swagger.json index fd75893..4514f79 100644 --- a/mediaSourceOutputResURI.swagger.json +++ b/mediaSourceOutputResURI.swagger.json @@ -56,7 +56,6 @@ "schema": { "$ref": "#/definitions/mediaSourceList" }, "x-example": { - "id": "unique_example_id", "sources": [ { "sourceName": "my new name", @@ -110,39 +109,12 @@ "readOnly": true, "type": "array" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -150,7 +122,6 @@ "readOnly": true, "type": "string" }, - "sources" : { "items": { @@ -189,7 +160,6 @@ }, "type": "array" }, - "range" : { "description": "The valid range for the value Property", @@ -208,7 +178,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -222,7 +191,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "id" : { "description": "Instance ID of this specific resource", @@ -230,7 +198,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -251,7 +218,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["sources"] diff --git a/mediaSourceResURI.swagger.json b/mediaSourceResURI.swagger.json index 454e52d..909807f 100644 --- a/mediaSourceResURI.swagger.json +++ b/mediaSourceResURI.swagger.json @@ -46,7 +46,6 @@ "schema": { "$ref": "#/definitions/mediaSource" }, "x-example": { - "id": "unique_example_id", "sourceName": "my new name", "sourceNumber": "1", "status": true @@ -92,13 +91,11 @@ "readOnly": true, "type": "array" }, - "status" : { "description": "Specifies if the specific source instance is selected or not", "type": "boolean" }, - "sourceType" : { "description": "Specifies the type of the source", @@ -110,45 +107,17 @@ "readOnly": true, "type": "string" }, - "sourceName" : { "description": "Specifies a pre-defined media input or output", "type": "string" }, - "precision" : { "description": "Accuracy granularity of the exposed value", "readOnly": true, "type": "number" }, - - "value" : - { - "anyOf": [ - { - "type": "array" - }, - { - "type": "string" - }, - { - "type": "boolean" - }, - { - "type": "integer" - }, - { - "type": "number" - }, - { - "type": "object" - } - ], - "description": "The value sensed or actuated by this Resource" - }, - "n" : { "description": "Friendly name of the resource", @@ -156,7 +125,6 @@ "readOnly": true, "type": "string" }, - "range" : { "description": "The valid range for the value Property", @@ -175,7 +143,6 @@ "readOnly": true, "type": "array" }, - "step" : { "anyOf": [ @@ -189,7 +156,6 @@ "description": "Step value across the defined range", "readOnly": true }, - "sourceNumber" : { "description": "Numeric identifier to specify the instance", @@ -199,7 +165,6 @@ "string" ] }, - "id" : { "description": "Instance ID of this specific resource", @@ -207,7 +172,6 @@ "readOnly": true, "type": "string" }, - "if" : { "description": "The interface set supported by this resource", @@ -228,7 +192,6 @@ "readOnly": true, "type": "array" } - } ,"type" : "object" ,"required": ["sourceName", "status"]