Skip to content

Instantly share code, notes, and snippets.

@cbrammer
Created December 22, 2016 17:59
Show Gist options
  • Save cbrammer/cd577bec0630b8ba8e4916595303e4ba to your computer and use it in GitHub Desktop.
Save cbrammer/cd577bec0630b8ba8e4916595303e4ba to your computer and use it in GitHub Desktop.
Proposed video Metadata data structure
{
"type": "title",
"startSeconds": 100,
"endSeconds": 200
}
{
"events": [
{
"type": "title",
"startSeconds": 100,
"endSeconds": 200,
"title": "this is my title",
"subtitle": "this is my subtitle"
},
{
"type": "calorieMultiplier",
"startSeconds": 100,
"endSeconds": 200,
"calorieMultiplier": 1.2
},
{
"type": "rest",
"startSeconds": 200,
"endSeconds": 220
},
{
"type": "superset",
"startSeconds": 100,
"endSeconds": 200,
"title": "this is my superset title",
"sets": [
{
"type": "set",
"startSeconds": 100,
"endSeconds": 130,
"title": "this is my first set title",
"reps": 10
},
{
"type": "set",
"startSeconds": 131,
"endSeconds": 180,
"title": "this is my second set title",
"reps": 10
},
{
"type": "superset",
"startSeconds": 181,
"endSeconds": 200,
"title": "this is my third set title",
"reps": 10
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment