diff --git a/SleepMonitorAM.swagger.json b/SleepMonitorAM.swagger.json index ea99b91..5f1601b 100644 --- a/SleepMonitorAM.swagger.json +++ b/SleepMonitorAM.swagger.json @@ -143,70 +143,69 @@ "responses": { "200": { "description": "Retrieves the sleep monitor's information.", - "x-example": [ - { - "rt": [ - "oic.r.sleepmonitor-am", - "oic.wk.atomicmeasurement" - ], - "if": [ - "oic.if.b", - "oic.if.ll", - "oic.if.baseline" - ], - "rts-m": [ - "oic.r.sleep" - ], - "rts": [ - "oic.r.sleep", - "oic.r.heartrate", - "oic.r.time.stamp", - "oic.r.userid" - ], - "links": [ - { - "href": "/mySleepMonitor", - "rt": [ - "oic.r.sleep" - ], - "if": [ - "oic.if.s", - "oic.if.baseline" - ] - }, - { - "href": "/myHeartRate", - "rt": [ - "oic.r.heartrate" - ], - "if": [ - "oic.if.s", - "oic.if.baseline" - ] - }, - { - "href": "/myUserId", - "rt": [ - "oic.r.userid" - ], - "if": [ - "oic.if.r", - "oic.if.baseline" - ] - }, - { - "href": "/myTimeStamp", - "rt": [ - "oic.r.time.stamp" - ], - "if": [ - "oic.if.r", - "oic.if.baseline" - ] - } - ] - } - ], + "x-example": + { + "rt": [ + "oic.r.sleepmonitor-am", + "oic.wk.atomicmeasurement" + ], + "if": [ + "oic.if.b", + "oic.if.ll", + "oic.if.baseline" + ], + "rts-m": [ + "oic.r.sleep" + ], + "rts": [ + "oic.r.sleep", + "oic.r.heartrate", + "oic.r.time.stamp", + "oic.r.userid" + ], + "links": [ + { + "href": "/mySleepMonitor", + "rt": [ + "oic.r.sleep" + ], + "if": [ + "oic.if.s", + "oic.if.baseline" + ] + }, + { + "href": "/myHeartRate", + "rt": [ + "oic.r.heartrate" + ], + "if": [ + "oic.if.s", + "oic.if.baseline" + ] + }, + { + "href": "/myUserId", + "rt": [ + "oic.r.userid" + ], + "if": [ + "oic.if.r", + "oic.if.baseline" + ] + }, + { + "href": "/myTimeStamp", + "rt": [ + "oic.r.time.stamp" + ], + "if": [ + "oic.if.r", + "oic.if.baseline" + ] + } + ] + }, "schema": { "$ref": "#/definitions/baseline" } @@ -438,4 +437,4 @@ "type": "object" } } -} \ No newline at end of file +}