Content Configuration
Content Schema contains bunch document data[Array of objects | objects]. There are various type of schema and based on a schema configure the stuff. Schema of content are contains following configuration.
Content Schema
Each Content schema contain the different type of schema describe below and based on user requirement.
ProgramTask:-
Attributes
handle
: handle of each taskvariant
: variant of taskorNext
: allow to move next taskmodel
: model of taskinstance
:- Different options for each task from below describe ##Excersise Profile
ExerciseImage:-
Attributes
previewImage
: contain the attachment detailsattachment
relation
url
slideshow
: contain array of attachment detailslang
model
SupportImage:-
Attributes
previewImage
: contain the attachment detailsattachment
relation
url
image
: contain array of attachment detailslang
model
EntryExercise:-
Attributes
images
:attachment
relation
url
profiles
: Different options for below describe Exercise Profile Optionstask
: Array of object of task which consist below attributestitle
body
introduction
goodForms
: consist the array ##ExceriseAdvise option from belowpoorForms
: consist the array ##ExceriseAdvise option from belowequipment
Excersise Profile Options
level
low
high
normalized
prep
: allow prep time or notrestType
: Rest between each sets."failure" | "deep-burn" | "rep-max" | "none"rest
countUnit
: Count unit of task from one of"steps" | "seconds" | "minutes" | "repetitions" | "breaths" | "kilometers" | "jumps"
.default is "minutes"max
weight
prepTime
: preparation time for tasksets
: number of set of each taskstyles
classes
overlay
: Allow overlay text for each tasktext
: text to be display on overlayicon
: icon to be display on overlay
userEntry
"workout" | "set" | "exercise"userKey
: api key for the component schemafield
: component schema
By providing userEntry, userKey and field the system will prompt the user for input.
The component schema is based on Tracker $capture.as
.
ExerciseAdvise options
title
body
image
attachment
relation
url