-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathAiWorkoutPlan.json
77 lines (77 loc) · 3.5 KB
/
AiWorkoutPlan.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"description": "An object containing a description of the plan, with recommendations for their skill level and goals. Should give guidance related to their skill level, age weight, and potential nutrients. Should also say whether this plan will be suitable for them, and if not, why not.",
"required": ["Description", "Sessions"],
"properties": {
"Description": {
"type": "string",
"description": "A description of the plan, with recommendations for their skill level and goals."
},
"Sessions": {
"type": "array",
"description": "An array of sessions to perform.",
"items": {
"type": "object",
"description": "A session to perform.",
"required": ["Name", "Exercises"],
"properties": {
"Name": {
"type": "string",
"description": "The name of the session. This might relate to the day of the week, or the type of session (e.g. 'Legs')."
},
"Description": {
"type": "string",
"description": "A description of the session. (e.g. 'A session to work the legs')."
},
"Exercises": {
"type": "array",
"description": "An array of exercises to perform.",
"items": {
"type": "object",
"description": "An exercise to perform.",
"required": ["Name", "Sets", "RepsPerSet", "WeightIncreaseOnSuccess", "Rest"],
"properties": {
"Name": {
"type": "string",
"description": "The name of the exercise."
},
"Sets": {
"type": "integer",
"description": "The number of sets to perform."
},
"RepsPerSet": {
"type": "integer",
"description": "The number of reps to perform. If the exercise is timed, this is the number of seconds to perform the exercise for."
},
"WeightIncreaseOnSuccess": {
"type": "number",
"description": "The amount of weight to increase by on successful completion of all reps in the set. If the exercise is timed, this is the number of seconds to increase by on successful completion of all reps in the set. The units are the same that the user specifies."
},
"RestBetweenSets": {
"type": "object",
"description": "The rest time to use for the exercise.",
"required": ["MinRest", "MaxRest", "FailureRest"],
"properties": {
"MinRestSeconds": {
"type": "integer",
"description": "The minimum rest time to use for the exercise on successful completion of all reps"
},
"MaxRestSeconds": {
"type": "integer",
"description": "The maximum rest time to use for the exercise on successful completion of all reps. It MUST be greater than MinRest"
},
"FailureRestSeconds": {
"type": "integer",
"description": "The rest time to use for the exercise on failure to complete all reps in the set. It MUST be greater than MaxRest"
}
}
}
}
}
}
}
}
}
}
}