diff --git a/oic.basecorecomposite.json b/oic.basecorecomposite.json index 9523b54..5669222 100644 --- a/oic.basecorecomposite.json +++ b/oic.basecorecomposite.json @@ -15,10 +15,12 @@ } ], "minItems" : 1, + "readOnly": true, "description": "ReadOnly, Resource Type" }, "if": { "type" : "array", + "readOnly": true, "description": "ReadOnly, The interface set supported by this resource", "items": { "type": "string", @@ -27,10 +29,12 @@ }, "n": { "type": "string", + "readOnly": true, "description": "ReadOnly, Friendly name of the resource" }, "id": { "type": "string", + "readOnly": true, "description": "ReadOnly, Instance ID of this specific resource" } } diff --git a/oic.core.json b/oic.core.json index a7ea536..27188fe 100644 --- a/oic.core.json +++ b/oic.core.json @@ -17,10 +17,12 @@ } ], "minItems" : 1, + "readOnly": true, "description": "ReadOnly, Resource Type" }, "if": { "type" : "array", + "readOnly": true, "description": "ReadOnly, The interface set supported by this resource", "items": { "type": "string", @@ -29,10 +31,12 @@ }, "n": { "type": "string", + "readOnly": true, "description": "ReadOnly, Friendly name of the resource" }, "id": { "type": "string", + "readOnly": true, "description": "ReadOnly, Instance ID of this specific resource" } } diff --git a/oic.oic-link-schema.json b/oic.oic-link-schema.json index ae1819f..73f3f86 100644 --- a/oic.oic-link-schema.json +++ b/oic.oic-link-schema.json @@ -27,6 +27,7 @@ } ], "minItems" : 1, + "readOnly": true, "description": "ReadOnly, Resource Type" }, "if": { @@ -38,9 +39,11 @@ } ], "minItems": 1, + "readOnly": true, "description": "ReadOnly, The interface set supported by this resource" }, "p": { + "readOnly": true, "description": "ReadOnly, JSON object containing a Bitmap indicating observable and discoverable plus security and port", "type": "object", "properties": { diff --git a/oic.r.activity.json b/oic.r.activity.json index 5c36ced..6f8d399 100644 --- a/oic.r.activity.json +++ b/oic.r.activity.json @@ -24,6 +24,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.airFlow.json b/oic.r.airFlow.json index 69131b7..faca92d 100644 --- a/oic.r.airFlow.json +++ b/oic.r.airFlow.json @@ -17,6 +17,7 @@ }, "range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Min,max values for the speed level", "items": { "type": "integer" diff --git a/oic.r.altimeter.json b/oic.r.altimeter.json index 6546dbf..22d97fa 100644 --- a/oic.r.altimeter.json +++ b/oic.r.altimeter.json @@ -10,6 +10,7 @@ "alt": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly. The current height of the position (metres)" } } diff --git a/oic.r.automaticDocumentFeeder.json b/oic.r.automaticDocumentFeeder.json index c5e5fbb..48ef031 100644 --- a/oic.r.automaticDocumentFeeder.json +++ b/oic.r.automaticDocumentFeeder.json @@ -9,6 +9,7 @@ "properties": { "adfStates": { "type": "array", + "readOnly": true, "description": "ReadOnly, array of the possible adf states.", "items": { "type": "string" @@ -16,6 +17,7 @@ }, "currentAdfState": { "type": "string", + "readOnly": true, "description": "ReadOnly, Current adf state." } } diff --git a/oic.r.blood.glucose.json b/oic.r.blood.glucose.json index 9d9a496..f3170a7 100644 --- a/oic.r.blood.glucose.json +++ b/oic.r.blood.glucose.json @@ -9,19 +9,23 @@ "properties": { "bloodsugar": { "type": "number", + "readOnly": true, "description": "ReadOnly, The concentration of glucose in the blood" }, "units": { "type": "string", "enum": ["mg/dL", "mmol/L"], + "readOnly": true, "description": "ReadOnly, Units used to measure blood sugar levels" }, "site": { "type": "string", + "readOnly": true, "description": "ReadOnly, Lot number of strip" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.blood.oxygen.saturation.json b/oic.r.blood.oxygen.saturation.json index 9abcec0..3c937ed 100644 --- a/oic.r.blood.oxygen.saturation.json +++ b/oic.r.blood.oxygen.saturation.json @@ -10,15 +10,18 @@ "spo2": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Oxygen saturation level in percentage" }, "perfusion": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Ratio of AC over DC of PPG" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.blood.pressure.json b/oic.r.blood.pressure.json index 42bc369..fc48d71 100644 --- a/oic.r.blood.pressure.json +++ b/oic.r.blood.pressure.json @@ -9,14 +9,17 @@ "properties": { "bloodpressure": { "type": "string", + "readOnly": true, "description": "ReadOnly, measured blood pressure in mmHG. It uses CSV (data type) containing systolic, diastolic values." }, "map": { "type": "number", + "readOnly": true, "description": "ReadOnly, measured blood pressure in mmHG. MAP(Mean Arterial Pressure) is a value of the integral of one cycle of the blood pressure curve divided by the period between successive heart beats." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.bmi.json b/oic.r.bmi.json index 37e2911..1c9afef 100644 --- a/oic.r.bmi.json +++ b/oic.r.bmi.json @@ -10,15 +10,18 @@ "bmi": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Body Mass Index of a person in kg/m^2" }, "bmip": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, BMI prime is a normalized BMI by 25" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.fat.json b/oic.r.body.fat.json index 38702ec..0f04044 100644 --- a/oic.r.body.fat.json +++ b/oic.r.body.fat.json @@ -9,14 +9,17 @@ "properties": { "bodyfat": { "type": "number", + "readOnly": true, "description": "ReadOnly, The difference between the body weight and the fat free mass" }, "units": { "enum": ["kg", "lb", "%"], + "readOnly": true, "description": "ReadOnly, Unit of a measure of the obesity of a person" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.height.json b/oic.r.body.height.json index 166e7d0..587e902 100644 --- a/oic.r.body.height.json +++ b/oic.r.body.height.json @@ -15,6 +15,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.position.json b/oic.r.body.position.json index e6bbc9f..c3382ed 100644 --- a/oic.r.body.position.json +++ b/oic.r.body.position.json @@ -10,10 +10,12 @@ "bpos": { "type": "string", "enum": ["standing", "sitting", "supine", "prone", "left", "right", "fall"], + "readOnly": true, "description": "ReadOnly, Current body position type" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.site.json b/oic.r.body.site.json index f361f3d..9b95325 100644 --- a/oic.r.body.site.json +++ b/oic.r.body.site.json @@ -11,10 +11,12 @@ "type": "integer", "minimum": 248, "maximum": 992, + "readOnly": true, "description": "ReadOnly, Nomenclature code referring a specific muscle group engaged. Refer to Annex C of IEEE Std 11073-10442-2008." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.temperature.json b/oic.r.body.temperature.json index bb332b0..0caa23b 100644 --- a/oic.r.body.temperature.json +++ b/oic.r.body.temperature.json @@ -13,10 +13,12 @@ "site": { "type": "string", "enum": ["anus", "armpit", "ear", "forehead", "mouth"], + "readOnly": true, "description": "ReadOnly, Measurement site" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.water.json b/oic.r.body.water.json index ee301b3..9c22dde 100644 --- a/oic.r.body.water.json +++ b/oic.r.body.water.json @@ -9,14 +9,17 @@ "properties": { "bodywater": { "type": "number", + "readOnly": true, "description": "ReadOnly, The total water of the human body" }, "units": { "enum": ["kg", "lb", "%"], + "readOnly": true, "description": "ReadOnly, Unit of a body water of a person" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.body.weight.json b/oic.r.body.weight.json index ce56e08..385ca47 100644 --- a/oic.r.body.weight.json +++ b/oic.r.body.weight.json @@ -12,10 +12,12 @@ "weightunits": { "type": "string", "enum": ["kg", "lb"], + "readOnly": true, "description": "ReadOnly, Unit of a person's weight" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.breath.json b/oic.r.breath.json index 33cb15d..b4ce060 100644 --- a/oic.r.breath.json +++ b/oic.r.breath.json @@ -11,6 +11,7 @@ "type": "number", "minimum": 0, "maximum": 1, + "readOnly": true, "description": "ReadOnly, Voltage of Human breathing pressure level" }, "bpm": { @@ -18,6 +19,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.button.json b/oic.r.button.json index 8b7410e..2704981 100644 --- a/oic.r.button.json +++ b/oic.r.button.json @@ -8,6 +8,7 @@ "properties": { "value": { "type": "boolean", + "readOnly": true, "description": "ReadOnly, Status of the button" } } diff --git a/oic.r.cgm.json b/oic.r.cgm.json index 3c0102e..cafc6a4 100644 --- a/oic.r.cgm.json +++ b/oic.r.cgm.json @@ -17,6 +17,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.colour.rgb.json b/oic.r.colour.rgb.json index 0937d4b..3f5d8c6 100644 --- a/oic.r.colour.rgb.json +++ b/oic.r.colour.rgb.json @@ -18,6 +18,7 @@ }, "range": { "type": "array", + "readOnly": true, "description": "ReadOnly, min max value of RGB", "minItems": 2, "maxItems": 2, diff --git a/oic.r.cycling.power.json b/oic.r.cycling.power.json index c17353a..3704425 100644 --- a/oic.r.cycling.power.json +++ b/oic.r.cycling.power.json @@ -33,6 +33,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.cycling.speedcadence.json b/oic.r.cycling.speedcadence.json index 97c0059..b68dc1f 100644 --- a/oic.r.cycling.speedcadence.json +++ b/oic.r.cycling.speedcadence.json @@ -12,6 +12,7 @@ "cadence": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Pedals per minutes" } } diff --git a/oic.r.distance.json b/oic.r.distance.json index e915e9b..00a091e 100644 --- a/oic.r.distance.json +++ b/oic.r.distance.json @@ -18,6 +18,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.door.json b/oic.r.door.json index 06df02e..4b6d449 100644 --- a/oic.r.door.json +++ b/oic.r.door.json @@ -9,10 +9,12 @@ "properties": { "openState" : { "enum": ["Open","Closed"], + "readOnly": true, "description": "ReadOnly, The state of the door (open or closed)" }, "openDuration": { "type": "string", + "readOnly": true, "description": "ReadOnly, The time duration the door has been open" }, "openAlarm": { diff --git a/oic.r.emg.json b/oic.r.emg.json index 22fb9a9..1479116 100644 --- a/oic.r.emg.json +++ b/oic.r.emg.json @@ -11,10 +11,12 @@ "type": "number", "minimum": 0, "maximum": 1023, + "readOnly": true, "description": "ReadOnly, The value of Muscle intensity that generated by skeletal muscles." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.energy.battery.json b/oic.r.energy.battery.json index 1d681f3..15a2af5 100644 --- a/oic.r.energy.battery.json +++ b/oic.r.energy.battery.json @@ -10,6 +10,7 @@ "charge" : { "type": "integer", "description": "ReadOnly, The current charge percentage.", + "readOnly": true, "minimum": 0, "maximum": 100 } diff --git a/oic.r.energy.consumption.json b/oic.r.energy.consumption.json index c2b09a5..7a222cc 100644 --- a/oic.r.energy.consumption.json +++ b/oic.r.energy.consumption.json @@ -9,10 +9,12 @@ "properties": { "power": { "type": "number", + "readOnly": true, "description": "ReadOnly, Instantaneous Power" }, "energy": { "type": "number", + "readOnly": true, "description": "ReadOnly, Energy consumed"} } } diff --git a/oic.r.fev1.json b/oic.r.fev1.json index 4d51425..c99c7db 100644 --- a/oic.r.fev1.json +++ b/oic.r.fev1.json @@ -9,10 +9,12 @@ "properties": { "fev1": { "type": "number", + "readOnly": true, "description": "ReadOnly, The expiratory volume of a subject under forced conditions at 1 second, measured from time zero. FEV1 is measured in liters" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.ffm.json b/oic.r.ffm.json index 86b1bf8..c1fa998 100644 --- a/oic.r.ffm.json +++ b/oic.r.ffm.json @@ -9,15 +9,18 @@ "properties": { "ffm": { "type": "number", + "readOnly": true, "description": "ReadOnly, The sum of the soft lean mass and mineral mass" }, "units": { "type": "string", "enum": ["kg", "lb"], + "readOnly": true, "description": "ReadOnly, Unit of a fat free mass of a person" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.gsr.json b/oic.r.gsr.json index 3f61e63..ad4be6b 100644 --- a/oic.r.gsr.json +++ b/oic.r.gsr.json @@ -10,21 +10,25 @@ "skincon": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, the value of skin conductance. unit is uS (micro siemens)" }, "skinres": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, the value of skin resistance. unit is Ohm" }, "skincv": { "type": "number", "minimum": 0, "maximum": 1, + "readOnly": true, "description": "ReadOnly, the value of skin conductance in voltage. unit is volt" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.heartrate.json b/oic.r.heartrate.json index 31b0a65..4cf458a 100644 --- a/oic.r.heartrate.json +++ b/oic.r.heartrate.json @@ -9,10 +9,12 @@ "properties": { "heartrate": { "type": "integer", + "readOnly": true, "description": "ReadOnly, measured heart rate in bpm." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.humidity.json b/oic.r.humidity.json index 8378921..286a684 100644 --- a/oic.r.humidity.json +++ b/oic.r.humidity.json @@ -9,6 +9,7 @@ "properties": { "humidity": { "type": "integer", + "readOnly": true, "description": "ReadOnly, Current sensed value for Humidity" }, "desiredHumidity": { diff --git a/oic.r.light.dimming.json b/oic.r.light.dimming.json index 00b0958..e9bdb17 100644 --- a/oic.r.light.dimming.json +++ b/oic.r.light.dimming.json @@ -13,10 +13,12 @@ }, "step": { "type": "integer", + "readOnly": true, "description": "ReadOnly, step increment for dimming values" }, "range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Min and Max values for the dimming setting", "items": { "type": "integer" diff --git a/oic.r.light.rampTime.json b/oic.r.light.rampTime.json index c2126ea..7502910 100644 --- a/oic.r.light.rampTime.json +++ b/oic.r.light.rampTime.json @@ -13,6 +13,7 @@ }, "range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Min and Max of possible values", "items": { "type": "integer" diff --git a/oic.r.mediaSource.json b/oic.r.mediaSource.json index 5dfdf5e..9677e91 100644 --- a/oic.r.mediaSource.json +++ b/oic.r.mediaSource.json @@ -12,10 +12,12 @@ }, "sourceNumber": { "type": [ "integer", "string" ], + "readOnly": true, "description": "ReadOnly, Numeric identifier to specify the instance" }, "sourceType": { "enum": [ "audioOnly", "videoOnly", "audioPlusVideo" ], + "readOnly": true, "description": "ReadOnly, Specifies the type of the source" }, "status": { diff --git a/oic.r.mode.json b/oic.r.mode.json index 4efd0ee..d9b8b06 100644 --- a/oic.r.mode.json +++ b/oic.r.mode.json @@ -9,6 +9,7 @@ "properties": { "supportedModes": { "type": "array", + "readOnly": true, "description": "ReadOnly, Array of possible modes the device supports.", "items": { "type": "string" diff --git a/oic.r.movement.linear.json b/oic.r.movement.linear.json index 7096e85..0c6eb55 100644 --- a/oic.r.movement.linear.json +++ b/oic.r.movement.linear.json @@ -9,6 +9,7 @@ "properties": { "movementSettings": { "type": "array", + "readOnly": true, "description": "ReadOnly, array of possible movement values", "items": { "type": "string" diff --git a/oic.r.muscle.oxygen.saturation.json b/oic.r.muscle.oxygen.saturation.json index cdc27f4..6e37b73 100644 --- a/oic.r.muscle.oxygen.saturation.json +++ b/oic.r.muscle.oxygen.saturation.json @@ -10,10 +10,12 @@ "smo2": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, SMO2(Muscle Oxygen Saturation). It is the percentage of hemoglobin that is carrying oxygen in muscle tissue." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.openLevel.json b/oic.r.openLevel.json index d1b3b8a..22d7f4f 100644 --- a/oic.r.openLevel.json +++ b/oic.r.openLevel.json @@ -13,10 +13,12 @@ }, "increment": { "type": "integer", + "readOnly": true, "description": "ReadOnly, The step between possible values" }, "range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Lower bound=closed, Upper bound=open", "items": { "type": "integer" diff --git a/oic.r.operational.state.json b/oic.r.operational.state.json index 61118de..266bca8 100644 --- a/oic.r.operational.state.json +++ b/oic.r.operational.state.json @@ -9,6 +9,7 @@ "properties": { "machineStates": { "type": "array", + "readOnly": true, "description": "ReadOnly, array of the possible operational states.", "items": { "type": "string" @@ -20,6 +21,7 @@ }, "jobStates": { "type": "array", + "readOnly": true, "description": "ReadOnly, array of the possible job states.", "items": { "type": "string" @@ -31,14 +33,17 @@ }, "runningTime": { "type": "string", + "readOnly": true, "description": "ReadOnly, Elapsed time in the current operational state" }, "remainingTime": { "type": "string", + "readOnly": true, "description": "ReadOnly, Time till completion of the current operational state" }, "progressPercentage": { "type": "integer", + "readOnly": true, "description": "ReadOnly, Percentage completeness of the current jobState" } } diff --git a/oic.r.pef.json b/oic.r.pef.json index 0e0501c..0977b65 100644 --- a/oic.r.pef.json +++ b/oic.r.pef.json @@ -9,10 +9,12 @@ "properties": { "pef": { "type": "number", + "readOnly": true, "description": "ReadOnly, Maximum flow measured at the mouth during an expiration delivered with maximal force starting immediately after achieving maximum lung inflation. PEF is measured in liters per minute." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.ptz.json b/oic.r.ptz.json index dbf0ca9..b54c035 100644 --- a/oic.r.ptz.json +++ b/oic.r.ptz.json @@ -17,6 +17,7 @@ }, "pan_range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Min and Max values for the pan setting", "minItems": 2, "maxItems": 2, @@ -26,6 +27,7 @@ }, "tilt_range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Min and Max values for the tilt setting", "minItems": 2, "maxItems": 2, @@ -39,6 +41,7 @@ }, "zoomFactorRange": { "enum": ["linear, 1x, 2x, 4x, 8x, 16x, 32x"], + "readOnly": true, "description": "ReadOnly, allowed Zoom Factor values. Linear equates to a 1-100 min/max." } } diff --git a/oic.r.refrigeration.json b/oic.r.refrigeration.json index 3e083c6..6b47cd9 100644 --- a/oic.r.refrigeration.json +++ b/oic.r.refrigeration.json @@ -9,6 +9,7 @@ "properties": { "filter": { "type": "integer", + "readOnly": true, "description": "ReadOnly, Percentage life time remaining for the water filter" }, "rapidFreeze": { diff --git a/oic.r.repetition.json b/oic.r.repetition.json index 990f31a..caa038b 100644 --- a/oic.r.repetition.json +++ b/oic.r.repetition.json @@ -10,10 +10,12 @@ "repetition": { "type": "integer", "minimum": 0, + "readOnly": true, "description": "ReadOnly, An instance to measure the number of a certain repetitive workout." }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.respirationrate.json b/oic.r.respirationrate.json index 8fdd2cb..59e252b 100644 --- a/oic.r.respirationrate.json +++ b/oic.r.respirationrate.json @@ -10,10 +10,12 @@ "respirate": { "type": "integer", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Respiration rate per minute" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.sensor.acceleration.json b/oic.r.sensor.acceleration.json index c7ca3f4..ecb4c62 100644 --- a/oic.r.sensor.acceleration.json +++ b/oic.r.sensor.acceleration.json @@ -8,6 +8,7 @@ "properties": { "acceleration": { "type": "number", + "readOnly": true, "description": "ReadOnly, sensed acceleration experienced in 'g'." } } diff --git a/oic.r.sensor.atmosphericPressure.json b/oic.r.sensor.atmosphericPressure.json index 4346b82..953c709 100644 --- a/oic.r.sensor.atmosphericPressure.json +++ b/oic.r.sensor.atmosphericPressure.json @@ -8,6 +8,7 @@ "properties": { "atmosphericPressure": { "type": "number", + "readOnly": true, "description": "ReadOnly, Current atmospheric pressure in hPa." } } diff --git a/oic.r.sensor.geolocation.json b/oic.r.sensor.geolocation.json index c84e5df..e41b370 100644 --- a/oic.r.sensor.geolocation.json +++ b/oic.r.sensor.geolocation.json @@ -11,31 +11,37 @@ {"properties": { "latitude": { "type": "number", + "readOnly": true, "description": "ReadOnly. Device's Current Latitude coordinate (degrees)" }, "longitude": { "type": "number", + "readOnly": true, "description": "ReadOnly. Device's Current Longitude coordinate (degrees)" }, "accuracy": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly. The accuracy level of the latitude and longitude coordinates (metres)" }, "altitudeAccuracy": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly. The accuracy level of the altitude coordinates (metres)" }, "heading": { "type": "number", "minimum": 0, "maximum": 360, + "readOnly": true, "description": "ReadOnly. Direction of travel of device (degree)" }, "speed": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly. Device's current velocity (metres per second)" } } diff --git a/oic.r.sensor.heart.zone.json b/oic.r.sensor.heart.zone.json index 888608d..9780e4b 100644 --- a/oic.r.sensor.heart.zone.json +++ b/oic.r.sensor.heart.zone.json @@ -8,6 +8,7 @@ "properties": { "heartRateZone": { "enum": ["Zone1","Zone2","Zone3", "Zone4", "Zone5"], + "readOnly": true, "description": "ReadOnly, current heart rate zone based on the Zoladz system." } } diff --git a/oic.r.sensor.illuminance.json b/oic.r.sensor.illuminance.json index 62e2b8e..737417b 100644 --- a/oic.r.sensor.illuminance.json +++ b/oic.r.sensor.illuminance.json @@ -8,6 +8,7 @@ "properties": { "illuminance": { "type": "number", + "readOnly": true, "description": "ReadOnly, sensed luminous flux per unit area in lux." } } diff --git a/oic.r.sensor.json b/oic.r.sensor.json index 00c34ff..93c7cad 100644 --- a/oic.r.sensor.json +++ b/oic.r.sensor.json @@ -9,6 +9,7 @@ "properties": { "value": { "type": "boolean", + "readOnly": true, "description": "ReadOnly, true = sensed, false = not sensed." } } diff --git a/oic.r.sensor.magneticFieldDirection.json b/oic.r.sensor.magneticFieldDirection.json index 0b7fff0..8338122 100644 --- a/oic.r.sensor.magneticFieldDirection.json +++ b/oic.r.sensor.magneticFieldDirection.json @@ -8,6 +8,7 @@ "properties": { "value": { "type": "array", + "readOnly": true, "description": "ReadOnly, array containing Hx, Hy, Hz.", "minItems": 3, "maxItems": 3, diff --git a/oic.r.sensor.radiation.uv.json b/oic.r.sensor.radiation.uv.json index c967406..31786b5 100644 --- a/oic.r.sensor.radiation.uv.json +++ b/oic.r.sensor.radiation.uv.json @@ -9,6 +9,7 @@ "properties": { "measurement": { "type": "number", + "readOnly": true, "description": "ReadOnly, the measured UV Index" } } diff --git a/oic.r.sensor.threeaxis.json b/oic.r.sensor.threeaxis.json index bdba9b5..987b906 100644 --- a/oic.r.sensor.threeaxis.json +++ b/oic.r.sensor.threeaxis.json @@ -8,6 +8,7 @@ "properties": { "orientation": { "type": "array", + "readOnly": true, "description": "ReadOnly, array containing x-plane, y-plane and z-plane orientation in 'g'.", "minItems": 3, "maxItems": 3, diff --git a/oic.r.signalStrength.json b/oic.r.signalStrength.json index 8d4f570..328f799 100644 --- a/oic.r.signalStrength.json +++ b/oic.r.signalStrength.json @@ -9,10 +9,12 @@ "properties": { "lqi": { "type": "number", + "readOnly": true, "description": "ReadOnly, current value of Link Quality Indicator" }, "rssi": { "type": "number", + "readOnly": true, "description": "ReadOnly, current value of Received Signal Strength Indicator" } } diff --git a/oic.r.sleep.json b/oic.r.sleep.json index 9f7f105..fc59956 100644 --- a/oic.r.sleep.json +++ b/oic.r.sleep.json @@ -10,30 +10,36 @@ "Type": { "type": "string", "enum": ["awake", "light", "deep"], + "readOnly": true, "description": "ReadOnly, Sleep type categorized into awake, light, and deep" }, "Tst": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Total sleep time in hours per day" }, "Dst": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Total deep sleep time in hours per day" }, "Lst": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Total light sleep time in hours per day" }, "At": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly, Total awake time in hours per day" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.slm.json b/oic.r.slm.json index aaf5b6d..80335ac 100644 --- a/oic.r.slm.json +++ b/oic.r.slm.json @@ -9,15 +9,18 @@ "properties": { "slm": { "type": "number", + "readOnly": true, "description": "ReadOnly, The sum of the body water mass and protein mass" }, "units": { "type": "string", "enum": ["kg", "lb"], + "readOnly": true, "description": "ReadOnly, Unit of a soft lean mass of a person" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.speech.tts.json b/oic.r.speech.tts.json index 604f80c..41ac1f0 100644 --- a/oic.r.speech.tts.json +++ b/oic.r.speech.tts.json @@ -13,6 +13,7 @@ }, "supportedLanguages": { "type": "array", + "readOnly": true, "description": "ReadOnly, array of supported language tags", "items": { "type": "string" @@ -20,6 +21,7 @@ }, "supportedVoices": { "type": "string", + "readOnly": true, "description": "ReadOnly, SSML document fragment indicating supported voices" } } diff --git a/oic.r.speed.json b/oic.r.speed.json index f1869da..6f34d97 100644 --- a/oic.r.speed.json +++ b/oic.r.speed.json @@ -19,6 +19,7 @@ }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.steps.json b/oic.r.steps.json index e802488..7fcdcbf 100644 --- a/oic.r.steps.json +++ b/oic.r.steps.json @@ -11,14 +11,17 @@ {"properties": { "distance": { "type": "integer", + "readOnly": true, "description": "ReadOnly, measured distance based on steps in meters" }, "kcal": { "type": "number", + "readOnly": true, "description": "ReadOnly, measured calorie based on steps" }, "observedtime": { "type": "string", + "readOnly": true, "description": "ReadOnly, An ISO8601 format time indicating when the data is observed (ex: 2016-02-15T09:19Z)" } } diff --git a/oic.r.temperature-Error.json b/oic.r.temperature-Error.json index 2f450c3..f71a4d2 100644 --- a/oic.r.temperature-Error.json +++ b/oic.r.temperature-Error.json @@ -11,6 +11,7 @@ "oneOf": [ { "enum": ["C","F","K"], + "readOnly": true, "description": "ReadOnly, Units for the temperature value" }, { @@ -23,6 +24,7 @@ }, "range": { "type": "string", + "readOnly": true, "description": "ReadOnly, Comma separated min,max values for this temperature on this device" } } diff --git a/oic.r.temperature.json b/oic.r.temperature.json index 5400518..b78684c 100644 --- a/oic.r.temperature.json +++ b/oic.r.temperature.json @@ -15,6 +15,7 @@ "oneOf": [ { "enum": ["C","F","K"], + "readOnly": true, "description": "ReadOnly, Units for the temperature value" }, { @@ -27,6 +28,7 @@ }, "range": { "type": "array", + "readOnly": true, "description": "ReadOnly, Array defining min,max values for this temperature on this device", "items": { "type": "number" diff --git a/oic.r.weight.json b/oic.r.weight.json index f5e844c..1511e11 100644 --- a/oic.r.weight.json +++ b/oic.r.weight.json @@ -10,6 +10,7 @@ "weight": { "type": "number", "minimum": 0, + "readOnly": true, "description": "ReadOnly. Weight of an object" } }