JUnit test cases for updated APIs.
[platform/upstream/iotivity.git] / service / simulator / unittests / SimulatorTest / ramls / oic.r.light.json
1 {
2   "id": "http://openinterconnect.org/schemas/oic.r.light#",
3   "$schema": "http://json-schema.org/schema#",
4   "title": "OIC Light",
5   "$ref": "#/definitions/oic.r.light",
6   "definitions": {
7     "oic.r.light": {
8       "type": "object",
9       "properties": {
10                 "rt": {
11           "type": "string",
12           "description": "Description about resource type",
13           "default": "oic.r.light"
14         },
15                 "if": {
16           "type": "string",
17           "description": "Interface supported",
18           "default": "oic.if.baseline"
19         },
20         "n": {
21           "type": "string",
22           "description": "Readonly, Human friendly name",
23                   "default": "OIC Light"
24         },
25                 "power": {
26                   "type": "boolean",
27                   "description": "Light status",
28                   "default": false,
29                   "enum": [true,false]
30                 },
31                 "intensity": {
32                   "type": "integer",
33                   "description": "brightness of the light",
34                   "default": 10,
35                   "minimum": 10,
36           "maximum": 20
37                 }
38                 }
39           }
40         },      
41   "required": [ "rt","if","power" ]
42 }