"$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",
+ "description": "Result of task information request",
"type": "object",
"required": [
"time",
"status"
],
"properties": {
- "type": {
+ "time": {
"$id": "#/properties/time",
- "description": "Current time in unix timestamp",
+ "description": "Time when the task information was created (in unix timestamp)",
"type": "integer",
"examples": [
100000000
},
"status": {
"$id": "#/properties/status",
- "description": "Status of task being performed",
+ "description": "Status of the task information",
"type": "array",
"items": {
"$id": "#/properties/status/items",
"properties": {
"appId": {
"$id": "#/properties/status/items/properties/appId",
- "description": "ID of the application in which the task in peformed",
+ "description": "ID of the application running at the time",
"type": "string",
"examples": [
"com.example.example1"
},
"cpuSnapshot": {
"$id": "#/properties/status/items/properties/cpuSnapshot",
- "description": "CPU usage at a certain point",
+ "description": "Percentage of the CPU usage at a certain period",
"type": "integer",
"examples": [
5
},
"cpuAverage": {
"$id": "#/properties/status/items/properties/cpuAverage",
- "description": "Average CPU usage during the task performance",
+ "description": "Percentage of the average CPU usage after the application is launched",
"type": "integer",
"examples": [
15
},
"memory": {
"$id": "#/properties/status/items/properties/memory",
- "description": "Memory usage during the task performance",
+ "description": "Memory usage of the application (in kilobyte)",
"type": "integer",
"examples": [
1024
}
}
}
-}
\ No newline at end of file
+}