[sample] update ilbidm library
[apps/native/iot-device-manager.git] / schema / taskRequest.json
1 {
2   "$schema": "http://json-schema.org/draft-07/schema",
3   "$id": "http://tizen.org/taskRequest.json",
4   "title": "Task Request",
5   "description": "Request for getting information about tasks",
6   "type": "object",
7   "required": [
8     "type",
9     "duration",
10     "period"
11   ],
12   "properties": {
13     "type": {
14       "$id": "#/properties/type",
15       "description": "Type of the task information - currently only supports 1 which gets task info of all apps",
16       "type": "integer",
17       "examples": [
18         1
19       ]
20     },
21     "duration": {
22       "$id": "#/properties/duration",
23       "description": "How long the task information to be gathered for (in sec)",
24       "type": "integer",
25       "examples": [
26         30
27       ]
28     },
29     "period": {
30       "$id": "#/properties/period",
31       "description": "How frequent the task information to be gathered (in sec)",
32       "type": "integer",
33       "examples": [
34         1
35       ]
36     }
37   }
38 }