[sample] update ilbidm library
[apps/native/iot-device-manager.git] / schema / sysInfoRequest.json
1 {
2         "$schema": "http://json-schema.org/draft-07/schema#",
3         "$id": "http://tizen.org/sysInfoRequest.json",
4         "type": "object",
5         "title": "The System Information Request Schema",
6         "description": "Request for receiving the system information",
7         "required": [
8           "feature",
9           "system"
10         ],
11         "properties": {
12           "feature": {
13                 "$id": "#/properties/feature",
14                 "type": "array",
15                 "title": "The Feature Schema",
16         "description": "Checking for supported features",
17                 "items": {
18                   "$id": "#/properties/feature/items",
19                   "type": "object",
20                   "required": [
21                         "key",
22                         "type"
23                   ],
24                   "properties": {
25                         "key": {
26                           "$id": "#/properties/feature/items/properties/key",
27                           "type": "string",
28                           "description": "Feature key for checking supported features",
29                           "examples": [
30                                 "profile"
31                           ]
32                         },
33                         "type": {
34                           "$id": "#/properties/feature/items/properties/type",
35                           "type": "string",
36               "enum" : ["bool", "int", "string"],
37                           "description": "Type of the value that the feature key represents",
38                           "examples": [
39                                 "string"
40                           ]
41                         }
42                   }
43                 }
44           },
45           "system": {
46                 "$id": "#/properties/system",
47                 "type": "array",
48                 "title": "The System Schema",
49         "description": "Getting the system information",
50                 "items": {
51                   "$id": "#/properties/system/items",
52                   "type": "object",
53                   "required": [
54                         "key",
55                         "type"
56                   ],
57                   "properties": {
58                         "key": {
59                           "$id": "#/properties/system/items/properties/key",
60                           "type": "string",
61                           "description": "System key for getting the system information",
62                           "examples": [
63                                 "build.date"
64                           ]
65                         },
66                         "type": {
67                           "$id": "#/properties/system/items/properties/type",
68                           "type": "string",
69                           "enum" : ["bool", "int", "string"],
70               "defaudescriptionlt": "Type of the value that the system key represents",
71               "examples": [
72                                 "string"
73                           ]
74                         }
75                   }
76                 }
77           }
78         }
79   }