--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "http://tizen.org/taskResult.json",
+ "title": "Task Result",
+ "description": "Schema for getting the result of task",
+ "type": "object",
+ "required": [
+ "time",
+ "status"
+ ],
+ "properties": {
+ "type": {
+ "$id": "#/properties/time",
+ "description": "Current time in unix timestamp",
+ "type": "integer",
+ "examples": [
+ 100000000
+ ]
+ },
+ "status": {
+ "$id": "#/properties/status",
+ "description": "Status of task being performed",
+ "type": "array",
+ "items": {
+ "$id": "#/properties/status/items",
+ "type": "object",
+ "required": [
+ "appId",
+ "cpuSnapshot",
+ "cpuAverage",
+ "memory"
+ ],
+ "properties": {
+ "appId": {
+ "$id": "#/properties/status/items/properties/appId",
+ "description": "ID of the application in which the task in peformed",
+ "type": "string",
+ "examples": [
+ "com.example.example1"
+ ]
+ },
+ "cpuSnapshot": {
+ "$id": "#/properties/status/items/properties/cpuSnapshot",
+ "description": "CPU usage at a certain point",
+ "type": "integer",
+ "examples": [
+ 5
+ ]
+ },
+ "cpuAverage": {
+ "$id": "#/properties/status/items/properties/cpuAverage",
+ "description": "Average CPU usage during the task performance",
+ "type": "integer",
+ "examples": [
+ 15
+ ]
+ },
+ "memory": {
+ "$id": "#/properties/status/items/properties/memory",
+ "description": "Memory usage during the task performance",
+ "type": "integer",
+ "examples": [
+ 1024
+ ]
+ }
+ }
+ }
+ }
+ }
+}
\ No newline at end of file