From efd0bd21347c5ff5e30189e0ef92aed6bd9a8b94 Mon Sep 17 00:00:00 2001 From: zobalogh Date: Wed, 10 Dec 2014 08:05:48 -0800 Subject: [PATCH] Updated Node msg Conventions (markdown) --- Node-msg-Conventions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Node-msg-Conventions.md b/Node-msg-Conventions.md index 96d0ee3..ae4b394 100644 --- a/Node-msg-Conventions.md +++ b/Node-msg-Conventions.md @@ -21,7 +21,8 @@ There are a few reserved properties within the structure of the msg objects bein ### For Fitness/activity based nodes/flows: ### * **msg.payload.id** - The ID of the activity in the given fitness system/API +* **msg.payload.type** - The type of the activity, example: run/cycle ride * **msg.payload.duration** - Duration of the activity in **seconds** * **msg.payload.distance** - Distance of activity in **metres** * **msg.payload.calories** - Calories burned during activity in **kilocalories** -* **msg.payload.starttime** - JavaScript Date object representing the start time of the activity +* **msg.payload.starttime** - JavaScript Date object representing the start time of the activity \ No newline at end of file