Publishing project from SPIN to public
[platform/core/convergence/remote-rsc-svc.git] / src / common / schemas / orientation.json
1 {
2    "id":"http://openinterconnect.org/schemas/x.org.tizen.orientation",
3    "$schema":"http://json-schema.org/draft-04/schema#",
4    "title":"orientation",
5    "definitions":{
6       "x.org.tizen.orientation":{
7          "type":"object",
8          "properties":{
9             "x":{
10                "type":"double",
11                "description":"X-axis coordinate",
12                "access":"R"
13             },
14             "y":{
15                "type":"double",
16                "description":"Y-axis coordinate",
17                "access":"R"
18             },
19             "z":{
20                "type":"double",
21                "description":"Z-axis coordinate",
22                "access":"R"
23             }
24          }
25       }
26    },
27    "type":"object",
28    "allOf":[
29       {
30          "$ref":"oic.core.json#/definitions/oic.core"
31       },
32       {
33          "$ref":"oic.baseResource.json#/definitions/oic.r.baseresource"
34       },
35       {
36          "$ref":"#/definitions/x.org.tizen.orientation"
37       }
38    ],
39    "required":["x", "y", "z"]
40 }
41
42