Add extra lines at the end
[apps/native/iot-device-manager.git] / schema / taskResult.json
index e3e6e7b..926f495 100644 (file)
@@ -2,16 +2,16 @@
   "$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
@@ -19,7 +19,7 @@
     },
     "status": {
       "$id": "#/properties/status",
-      "description": "Status of task being performed",
+      "description": "Status of the task information",
       "type": "array",
       "items": {
         "$id": "#/properties/status/items",
@@ -33,7 +33,7 @@
         "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"
@@ -41,7 +41,7 @@
           },
           "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
@@ -49,7 +49,7 @@
           },
           "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
@@ -57,7 +57,7 @@
           },
           "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
@@ -67,4 +67,4 @@
       }
     }
   }
-}
\ No newline at end of file
+}