5 - OICLight: !include oic.r.light.json
6 OICLightError: !include oic.r.light-error.json
15 Resource to be exposed by any OIC Device that can act as Light.
16 displayName: OIC Light
17 is: [ interface ] # valid for all methods
26 "id": "http://openinterconnect.org/schemas/oic.r.light#",
27 "$schema": "http://json-schema.org/schema#",
29 "$ref": "#/definitions/oic.r.light",
36 "description": "Description about resource type",
37 "default": "oic.r.light"
41 "description": "Interface supported",
42 "default": "oic.if.baseline"
46 "description": "Readonly, Human friendly name",
47 "default": "OIC Light"
51 "description": "Light status",
57 "description": "brightness of the light",
65 "required": [ "rt","if","power" ]
78 This response is generated by the OIC Server when the client sends:
79 An update with an out of range property value for intensity.
80 The server responds with the range property illustrating the error.
95 This response is generated by the OIC Server when the client sends:
96 An update with an out of range property value for intensity.
97 The server responds with the range property illustrating the error.
102 "id": "http://openinterconnect.org/schemas/oic.r.light-error#",
103 "$schema": "http://json-schema.org/draft-04/schema#",
104 "title": "OIC Light",
105 "$ref": "#/definitions/oic.r.light",
112 "description": "Description about resource type",
113 "default": "oic.r.light"
117 "description": "Interface supported",
118 "default": "oic.if.baseline"
122 "description": "Readonly, Human friendly name",
123 "default": "OIC Light Error"
127 "description": "ReadOnly, Comma separated min,max values for intensity on this device",