{
"config": { // All clients listen here permanently
"articleBaseUrl": "http://cloud-storage.com/articles/",
}, "userslegalsUrl": {"http://impossible.am/legalstuff/",
"user_id_01for7MW": {
// Clients listen here permanently
"usernamefacebookPage": "user",
"emailfacebookGroup": "user@somewhere.com",
"fitnessLevelinstagramUser": 10"",
"fitnessBiasfaqsUrl": 1,""
},
"createdforAfterburner": 987654345,{
// Unix timestamp (seconds)
"maxImpactCreditfacebookPage": 3"",
"impactCreditfacebookGroup": 0.9"",
"updatedICinstagramUser": 987654345"",
// Unix timestamp (seconds) "apnIdsfaqsUrl": []""
}
},
"visibleWorkoutDefsusers": { //
Workout defs that are visible to the user
"user_id_01": { // Clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"wktdef1username": {
"user", // [default:null]
"recommendedemail": "user@somewhere.com", // Not recommended, just visible[default:null]
"MWIfitnessLevel": 0.5410, // [default:10]
"breakdownfitnessBias": {1, // [default:1]
"epoccreated": 0.1,
987654345, // Unix timestamp (seconds) [default:0]
"cardiomaxImpactCredit": 0.13, // [default:0]
"metabolicimpactCredit": 0.19, // [default:0]
"strengthupdatedIC": 0.1
987654345, // Unix timestamp (seconds) [default:0]
} },
"wktdef2"triggersFired": { "recommended"triggerId_01": true, "triggerId_02": "You need to work on your abs"true }, // Recommended[default:null]
and reason for this to be shown to user"sessions": {
"MWIfor7MW": 0.54,2, // [default:0]
"breakdown": {forAfterburner": 0 // [default:0]
},
"epoctotalActivities": 0.12, // [default:0]
"cardiototalActivities7MW": 0.1, // [default:0]
"metabolictotalActivitiesAF": 0.1, // [default:0]
"strengthfirstActivity7MW": 0.1
987654345, // Unix timestamp (seconds) [default:0]
} "firstActivityAF": 987654345, // Unix }timestamp }(seconds) [default:0]
}, "workoutstimedNotifSeqVersion": 0, {// Version of timed notif "activities": {
"user_id_01": {sequence user is on (server use) [default:0]
"testMode": false, // ClientsPuts listenthe hereapp permanentlyin for ChildAdded, ChildChanged and ChildRemoved
'test mode' for this user [default:false]
"workout_id_01notifTokens": { // ClientsAPN posttokens newfor activitythe touser's here with auto id, server listens
devices [default:null]
"workoutDefIdfor7MW": { "wktdef1apn_token",: true }, // Where 'api_token' is the actual token "finish": 987654345, // Unix timestamp (seconds)
string
"forAfterburner": { "apn_token": true }
"exertion": 0.5, }
}
},
"finalHeartRateBPMvisibles": 160,
{
"finalHeartRateDelayworkoutDefs": 0{ // LengthWorkout ofdefs delaythat (inare secs)visible afterto the user
workout before the HR was measured (0 if they didn't press the 'start again' button)
}
} "user_id_01": {
"for7MW": { // 7MW clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
}, "resultswktdef1": {
"user_id_01 "recommended": {"", // Not Clientsrecommended, listenjust herevisible permanently for ChildAdded, ChildChanged and ChildRemoved// [default:null]
"workout_id_01locked": {true, // ServerNot postsavailable workoutto resultsuser here(unlocked via IAP and/or journey trigger) [default:false]
"workoutDefId "lockString": "wktdef1",Finish 6 more workouts before Thurs 9th "finish": 987654345June", // Unix timestamp (seconds) Displayed to user [default:null]
"AWIMWI": 0.154, // [default:0.5]
"responseDurationbreakdown": {
3456, "intensityepoc": 0.91, // [default:0.25]
"responses": { "cardio": {"cardio": 0.1, // [default:0.25]
"stressmetabolic": 430.1, // [default:0.25]
"magnitudeProductstrength": 0.6,1 // [default:0.25]
}
"halflifeProduct": 0.3, },
"durationwktdef2": 5678,
{
"volumerecommended": 3456"You need to work on your abs", // Recommended and reason for this },to be shown to user
"strengthlocked": {
false, // Available to user
"stresslockString": 43"",
"magnitudeProductMWI": 0.654,
"halflifeProductbreakdown": 0.3,{
"durationepoc": 56780.1,
"volumecardio": 34560.1,
}, "metabolic": 0.1,
"epoc": { "strength": 0.1
"stress": 43, }
}
"magnitudeProduct": 0.6, },
"halflifeProductforAfterburner": 0.3,
{ // Afterburner clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"durationwktdef1": 5678,{
"recommended": "volume": 3456
", // Not recommended, just visible
"locked": }false, // Available to user
"metaboliclockString": {"",
"stressMWI": 430.54,
"magnitudeProductbreakdown": 0.6,{
"halflifeProductepoc": 0.31,
"durationcardio": 56780.1,
"volumemetabolic": 3456
0.1,
} "strength": 0.1
}, }
"muscleGroups": { },
"upperwktdef2": 0.3,{
"lowerrecommended": 0.3,
"core": 0.4
"You need to work on your abs", // Recommended and reason for this to be shown to user
} "locked": false, // Available }to user
} } },"lockString": "",
"afterburn": { "user_id_01MWI": { // Clients listen here permanently0.54,
"startbreakdown": 345678987, // Unix timestamp (seconds){
"responseepoc": {0.1,
"resolutioncardio": 600, // Secs0.1,
"epocmetabolic": [0.6,0.5,0.3,0.2,0.1,0.0],1,
"cardiostrength": [0.6,0.5,0.3,0.2,0.1,0.0],0.1
}
"strength": [0.6,0.5,0.3,0.2,0.1,0.0], }
"metabolic": [0.6,0.5,0.3,0.2,0.1,0.0] },
"impactCredit":}
{ },
"resolutionroutines": 600, // Secs
{
"futureCredituser_id_01": 0.9,{
"pendingfor7MW": [0.0,0.1,0.2,0.3,0.4,0.5]
},
{ // 7MW clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"messages": [ // Messages displayed below the radar chart "routine_id_01": {
{"t":0,"body":"Restoring body temperature", "detaillocked": ""}true, // Not available to user (unlocked via {"t":120,"body":"Replenishing glycogen stores", "detail": "detail/glycogen"}
IAP and/or journey trigger) [default:false]
], "notificationslockString": ["Finish 6 more workouts before Thurs 9th {"t":6000,"body":"Great workout! You're still burning calories and building strength."},June" // Displayed to user [default:null]
{"t":14400,"body":"Fitness test unlocked! You're ready to take another fitness test."}
},
"routine_id_02": {
] } "locked": }true,
"timelineArticles": { "user_id_01lockString": {"" // Clients listen here permanently for ChildAdded, ChildChanged and ChildRemovedNo lock string, so only unlocked via IAP [default:null]
"article_id_01": { },
"date "routine_id_03": 4567890987,{
// Unix timestamp (seconds) "titlelocked": "Post title"false, // Available
"read": false, "locationlockString": "post/location.html""
}
} },
"definitions": { "version": 1,
"exerciseDefsforAfterburner": { // 7MW Clientsclients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"exdef1routine_id_03": {
"behaviourlocked": 1false, // Available
"title": "Cruches", "videolockString": "01-Crunches.mp4",
"image": "abs", }
"desc": "A crunch begins with lying face up on the floor with knees bent. The movement begins by curling the shoulders towards the pelvis. The hands can be behind or beside the neck or crossed over the chest. Injury can be caused by pushing against the head or neck with hands.",
"subtitle": "Target your abs for a balanced set of stomach muscles.", }
}
}
},
"workouts": {
"activities": {
"user_id_01": { // Clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"workout_id_01": { // Clients post new activity to here with auto id, server listens
"calPerSecworkoutDefId": 5,"wktdef1", // [no default]
"skillfinish": 0.2987654345, // Unix timestamp (seconds) [default:0]
"strength": 0.7, "cardioiterations": 01.15, // Number of times it was performed "epoc": 0.4,[default:1]
"metabolicexertion": 0.45, "upper": // [default:0.5,]
"corefinalHeartRateBPM": 0.5,160, // [default:140]
"lowerfinalHeartRateDelay": 0.5, // Length of delay (in secs) },after the workout before the HR "exdef2": {
"behaviour": 1,
"title": "Squats",
was measured (0 if they didn't press the 'start again' button) [default:0]
"app": "7MW" // Short code of the app the activity was performed in: 7MW, AF, etc [default:null]
"video": "02-Squats.mp4", }
"image": "abs",}
},
"descresults": "Squats{
are an excellent exercise for training the lower body and core muscles, if done regularly they help to define thighs and buttocks.", "user_id_01": { // Clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"subtitleworkout_id_01": "Train your lower body and core.", { // Server posts workout results here
"calPerSecworkoutDefId": 4"wktdef1", // [no default]
"skillfinish": 0.2987654345, // Unix timestamp (seconds) // [no default]
"strength": 0.6, "cardioAWI": 0.3,1, // [default:0.5]
"epocresponseDuration": 0.43456, // [default: 0]
"metabolic": 0.6,
"upperintensity": 0.59, // [default:0.5]
"coreapp": 0.5"7MW", // Short code of the app the activity "lower": 0.5
was performed in: 7MW, AF, etc [no default]
}, "exdef3responses": { // [no default]
"behaviourcardio": 1,{
"titlestress": "Planks"43,
"videomagnitudeProduct": "03-Plank.mp4",0.6,
"imagehalflifeProduct": "abs"0.3,
"desc "duration": "The5678,
plank helps you to build strength in your core, upper and lower body so its a good full body work out. You do not need any equipment to perform this exercise all you need is a bit of space, and it really helps improve flexibility by stretching muscles and will improve posture if performed regularly.",
"subtitle": "Work out your core muscles.","volume": 3456
},
"strength": {
"stress": 43,
"calPerSecmagnitudeProduct": 0.6,
"skillhalflifeProduct": 0.3,
"strength "duration": 0.55678,
"cardio "volume": 0.2, 3456
"epoc": 0.4, },
"metabolicepoc": 0.4, {
"upperstress": 0.5,43,
"coremagnitudeProduct": 0.56,
"lowerhalflifeProduct": 0.53,
}, "exdef4duration": { 5678,
"behaviourvolume": 3456
1, "title": "Push Ups" },
"video": "04-PushUps.mp4", "metabolic": {
"image": "abs", "descstress": "The43,
push up is a great muscle toning exercise for the arms, chest, triceps and the front of the shoulders, whether performed on the knees or toes this is a good strength building exercise that can be performed anywhere.","magnitudeProduct": 0.6,
"halflifeProduct": 0.3,
"subtitleduration": "Train your upper body.",5678,
"calPerSecvolume": 3456
3, "skill": 0.1,}
"strength": 0.8, },
"cardiomuscleGroups": 0.2, {
"epocupper": 0.63, // [default: 0.3]
"metaboliclower": 0.63, // [default: 0.3]
"upper": 0.5,
"core": 0.5,4 // [default: 0.3]
"lower": 0.5
}
}, }
"exdef5": { }
}
"behaviour": 1},
"afterburn": {
"titleuser_id_01": "Side Plank",
{ // Clients listen here permanently
"videostart": "06-SidePlank.mp4"345678987, // Unix timestamp (seconds) // [no default]
"image": "abs",
"descresponse": "The side plank helps you to build strength in your core, upper and lower body so its a good full body work out. It helps improve flexibility by stretching muscles and will improve posture if performed regularly."{ // [default:null]
"resolution": 600, // Secs
"epoc": [0.6,0.5,0.3,0.2,0.1,0.0],
"subtitle": "Target your abs for a balanced set of stomach muscles."cardio": [0.6,0.5,0.3,0.2,0.1,0.0],
"calPerSecstrength": [0.6,0.5,0.3,0.2,0.1,0.0],
"strengthmetabolic": [0.6,0.7,5,0.3,0.2,0.1,0.0]
},
"cardio": 0.2, "impactCredit": { // [default:null]
"epocresolution": 0.5600, // Secs
"metabolicfutureCredit": 0.59,
"skillpending": [0.0,0.1,0.2,0.3,0.4,0.5]
"upper": 0.5,
},
"coremessages": 0.5,
"lower": 0.5[ // Messages displayed below the radar chart [default:null]
},
"exdef6": { {"t":0,"body":"Restoring body temperature", "detail": ""},
{"behaviourt": 1,
"title120,"body":"Replenishing glycogen stores", "detail": "Jumping Jacks",detail/glycogen"}
"video": "33-JumpingJack.mp4",
],
"imagenotifications": "abs",[ // [default:null]
{"desct": "Jumping Jacks are the original circuit training exercise that evenly targets your muscle groups to elicit a strong cardiovascular response.",
"subtitle": "Get those heart muscles jumping!",
6000,"body":"Great workout! You're still burning calories and building strength."},
{"t":14400,"body":"Fitness test unlocked! You're ready to take another fitness test."}
]
}
"calPerSec": 6},
"timelineArticles": {
"strengthuser_id_01": 0.1,
"cardio": 0.8,
{ // Clients listen here permanently for ChildAdded, ChildChanged and ChildRemoved
"metabolicarticle_id_01": 0.6,{
"epocdate": 0.64567890987, // Unix timestamp (seconds) // [no default]
"skill": 0.1,
"uppertitle": 0.5 "Post title", // [no default]
"coreread": 0.5,
false, // [default:true]
"lowerlocation": 0.5
},
"exdef7": {"post/location.html", // [no default]
"icon": "default", // [default:"default"]
"appMask": "behaviour": 1,7MW,AF", // [default: all apps]
"titlepromptRating": "Burpees",
true // [default:false]
}
"video": "42-Burps.mp4", }
},
"imagedefinitions": "abs",{
"descroutines": "Burpees{ are// aClients fulllisten bodyhere exercisepermanently which work virtually every muscle in the body, this means that you can burn more calories in a lot less time.",for ChildAdded, ChildChanged and ChildRemoved
"routine_id_01": {
"subtitletitle": "BurpeesThe areWonder tough but well worth your time.",Routine", // [no default]
"calPerSecimage": 6"wonder-routine", // [default:"default-routine"]
"strengthdesc": 0.2 "Big long description", // [default:null]
"cardioappStoreId7MW": 0.9"routine01", // StoreKit product "metabolic": 0.6,
id [default:null]
"epocin7MW": 0.6true, // For server "skill": 0.3,use [default:false]
"upperinAfterburner": 0.5false, // For server "core": 0.5,use [default:false]
"lowerlockedIn7MW": 0.5
}
},false, // For server use [default:false]
"workoutDefslockedInAfterburner": {false, // ClientsFor listenserver here permanently for ChildAdded, ChildChanged and ChildRemoveduse [default:false]
"video": "", "wktdef1": {// [default:null]
"typeminFitnessLevel": 1,4, // [default:1]
"titleworkoutDefs": "Aerobic",
{ // [no default]
"image": "abs",
"descwktdef1": {
"Aerobic Basic Movement", "breakDurationtype": 51, // [default:1]
"exercises": [ "title": "Aerobic", // [no {default]
"idimage": "exdef1abs", // [default:"default"]
"durationdesc": 20
"Aerobic Basic Movement", // [default:null]
}, "breakDuration": 5, // {// [default:10]
"idappStoreId7MW": "exdef2workout01", // StoreKit product id [default:null]
"durationlocked": 15
false, // For server use [default:false]
"MWI": 0.54, // [default:0.5]
}, "exercises": [ {// [no default]
"id": "exdef3", {
"duration": 10 }"id": "exdef1", // [no default]
{ "idduration": "exdef4",
20 // [no default]
"duration": 5 },
}, {
{ "id": "exdef5exdef2",
"duration": 1015
} },
], "adaptiveStress": {
"strength": 0.2, "id": "exdef3",
"cardio": 0.9, "metabolicduration": 0.6,10
"epoc": 0.6 },
}, {
"muscleStress": { "upperid": 10"exdef4",
"lower": 10, "duration": 5
"core": 10 },
}, "wktdef2": {
"type": 1, "titleid": "Thai Boxingexdef5",
"image": "abs", "descduration": "Boxing10
With Kicking", "breakDuration": 4, }
"exercises": [ ],
{ "adaptiveStress": {
"id": "exdef5", "durationstrength": 15
0.2, // [default:1]
}, "cardio": 0.9, // [default:1]
{ "idmetabolic": "exdef3"0.6, // [default:1]
"duration": 10 "epoc": 0.6 // [default:1]
}, },
{ "idmuscleStress": "exdef1", {
"durationupper": 510, // [default:1]
} "lower": 10, // ],[default:1]
"stresscore": {10 // [default:1]
}
"strength": 0.2, }
"cardio": 0.9, }
"metabolic": 0.6, }
},
"epocexerciseDefs": 0.6{ // Clients listen here permanently for ChildAdded, ChildChanged },and ChildRemoved
"muscleStressexdef1": {
"behaviour"upper": 101, // [default:1]
"lowertitle": 10,
"Cruches", // [no default]
"corevideo": 10
"01-Crunches.mp4", // [no default]
} "image": "abs", // [default:"default"]
}, "wktdef3desc": {"A crunch begins with lying face up on the "type": 1,
"title": "Silat",
"image": "abs",
"desc": "Traditional Martial Arts",
"breakDuration": 5,floor with knees bent. The movement begins by curling the shoulders towards the pelvis. The hands can be behind or beside the neck or crossed over the chest. Injury can be caused by pushing against the head or neck with hands.", // [default:null]
"exercisessubtitle": ["Target your abs for a balanced set of stomach muscles.", {
// [default:null]
"idcalPerSec": "exdef4"5, // [default:0]
"durationskill": 0.2, // [default:0.5]
}"strength": 0.7, // [default:0.5]
{
"cardio": 0.1, // [default:0.5]
"idepoc": "exdef5"0.4, // [default:0.5]
"durationmetabolic": 10
}
],0.4, // [default:0.5]
"adaptiveStressupper": {
0.5, // [default:0.5]
"strengthcore": 0.25, // [default:0.5]
"cardiolower": 0.95, "metabolic": 0.6,
// [default:0.5]
"epocneedsHalfwaySwap": 0.6false // [default:false]
},
"muscleStressexdef2": {
"upperbehaviour": 101,
"title": "Squats",
"lower "video": 10,
"02-Squats.mp4",
"coreimage": 10"abs",
}
},
"wktdef4": {
"type": 1"desc": "Squats are an excellent exercise for training the lower body and core muscles, if done regularly they help to define thighs and buttocks.",
"titlesubtitle": "OCDTrain your lower body and core.",
"imagecalPerSec": "abs"4,
"descskill": "Modern Exercise"0.2,
"breakDurationstrength": 0.6,
"exercisescardio": [0.3,
"epoc": 0.4,
{ "idmetabolic": "exdef3",
0.6,
"durationupper": 200.5,
}"core": 0.5,
"lower": 0.5,
{ "needsHalfwaySwap": true
"id": "exdef2", }
},
"durationjourneyTriggers": 15{
"forAfterburner": {
}, "trigger01": {
"idcategory": "exdef4achievement",
"durationtriggerType": 5"activeDaysInWeeks",
}
"condition1": 4, // 4 active days
], "adaptiveStresscondition2": {8, // every week for 8 weeks
"strength": 0.2,
"cardioactions": 0.9, [
{"metabolicactionType": 0.6,
"epoc": 0.6"postArticle","articleId":"article_id_01","data":"e.g. url parameters"},
}, {"actionType":"unlockWorkout","workoutDefId":"workoutDef_id_01","articleId":"article_id_02","data":""}
"muscleStress": { ]
"upper": 10, },
"lowertrigger02": 10,{
"corecategory": 10"education",
} "triggerType": "totalActivities",
},
"wktdef5condition1": {10, // 10 activities
"typecondition2": 1,0, // Not used
"titleactions": "Warming Up",[
{"imageactionType": "abspostArticle",
"desc"articleId": "Basicarticle_id_01","data":"e.g. url parameters"}
"breakDuration": 5, ]
"exercises": [ }
},
{ "for7MW": {
"idtrigger01": "exdef2",
{
"durationcategory": 20
}"achievement",
{
"id"triggerType": "exdef2activeDaysInWeeks",
"durationcondition1": 154, // 4 active days
} ]"condition2": 8, // every week for 8 weeks
"adaptiveStress": { "strengthactions": 0.2,[
{"cardio": 0.9actionType":"postArticle","articleId":"article_id_01","data":"e.g. url parameters"},
"metabolic": 0.6, {"actionType":"unlockWorkout","workoutDefId":"workoutDef_id_01","articleId":"article_id_02","data":""}
"epoc": 0.6]
},
"muscleStresstrigger02": {
"uppercategory": 10"education",
"lowertriggerType": 10"totalActivities",
"corecondition1": 10, // 10 activities
} "condition2": 0, },// Not used
"wktdef6": { "actions": [
"type": 1, "title{"actionType":"postArticle","articleId": "6 Min Strength",
"article_id_01","data":"e.g. url parameters"}
"image": "abs", ]
"desc": "Quick workout that}
targets strength building, increasing your restimng metabilic}
rate.", }
"breakDurationtimedNotifs": 5,{
"exercisesforAfterburner": [{
"notif01": {
"iddeltaHours": "exdef1"24, // Delta after APN token reg that the notif is delivered "duration": 55[no default]
"seqVersion": }0, // Sequence version to allow future updates without flooding existing {
users [default:0]
"idtitle": "exdef4Title of notification", // [default:""]
"durationbody": 55
"Body of notification" // [no default]
},
},
{ "for7MW": {
"idnotif01": "exdef5",
{
"durationdeltaHours": 55
24,
}, "seqVersion": 0,
{ "id"title": "exdef1Title of notification",
"durationbody": 55"Body of notification"
},
}
{ }
},
"receipts": {
"user_id_01": "exdef4",{
"duration"receipt_auto_id_01": 55{
}"receipt": "receipt_data", // Written by the client after an {
IAP purchase
"idvalidation": "exdef5",
"duration": 55{ // Written by the server after the receipt has been processed
"validationDate": 3456789, // }Timestamp [default:0]
],
"adaptiveStressisValid": { true [default:false]
}
"strength": 0.2, }
}
"cardio": 0.9,
"metabolic": 0.6,
"epoc": 0.6
},
"muscleStress": {
"upper": 10,
"lower": 10,
"core": 10
}
},
"wktdef7": {
"type": 1,
"title": "6 Min Cardio",
"image": "abs",
"desc": "Short workout that pushes your cardiovascular system to burn fat now and for the next 24 hours.",
"breakDuration": 5,
"exercises": [
{
"id": "exdef6",
"duration": 55
},
{
"id": "exdef7",
"duration": 55
},
{
"id": "exdef6",
"duration": 55
},
{
"id": "exdef7",
"duration": 55
},
{
"id": "exdef6",
"duration": 55
},
{
"id": "exdef7",
"duration": 55
}
],
"adaptiveStress": {
"strength": 0.2,
"cardio": 0.9,
"metabolic": 0.6,
"epoc": 0.6
},
"muscleStress": {
"upper": 10,
"lower": 10,
"core": 10
}
},
"wktdef8": {
"type": 1,
"title": "2 Min Cardio Blast",
"image": "abs",
"desc": "Short workout that pushes your cardiovascular system to burn fat now and for the next 24 hours.",
"breakDuration": 5,
"exercises": [
{
"id": "exdef6",
"duration": 55
},
{
"id": "exdef7",
"duration": 55
}
],
"adaptiveStress": {
"strength": 0.2,
"cardio": 0.9,
"metabolic": 0.6,
"epoc": 0.6
},
"muscleStress": {
"upper": 10,
"lower": 10,
"core": 10
}
},
"wktdef9": {
"type": 1,
"title": "2 Min Cardio Blast 2x",
"image": "abs",
"desc": "Short workout that pushes your cardiovascular system to burn fat now and for the next 24 hours.",
"breakDuration": 5,
"exercises": [
{
"id": "exdef6",
"duration": 55
},
{
"id": "exdef7",
"duration": 55
}
],
"adaptiveStress": {
"strength": 0.2,
"cardio": 0.9,
"metabolic": 0.6,
"epoc": 0.6
},
"muscleStress": {
"upper": 10,
"lower": 10,
"core": 10
}
}
}
}
} },
} |