Skip to content

Instantly share code, notes, and snippets.

@mastfish
Created August 28, 2013 07:10
Show Gist options
  • Save mastfish/6362980 to your computer and use it in GitHub Desktop.
Save mastfish/6362980 to your computer and use it in GitHub Desktop.
JSON spec
{
"playbook": {
"name": "{{lang 'name'}}",
"_id": "playbook1",
"language": {
"en-US": {
"name": "Marketing Playbook 1"
},
"phases": ["phase1", "phase2"],
"type": "playbook"
}
},
"phases": [{
"name": "{{lang 'name'}}",
"_id": "phase1",
"plays": ["play1", "play2"],
"type": "phase",
"language": {
"en-US": {
"name": "Phase 1"
}
}
},{
"name": "{{lang 'name'}}",
"_id": "phase2",
"plays": ["play3", "play4"],
"type": "phase",
"language": {
"en-US": {
"name": "Phase 2"
}
}
}],
"plays": [{
"name": "{{lang 'name'}}",
"_id": "play1",
"type": "play",
"language": {
"en-US": {
"name": "Play 1"
}
}
},{
"name": "{{lang 'name'}}",
"_id": "play2",
"type": "play",
"language": {
"en-US": {
"name": "Play 2"
}
}
},{
"name": "{{lang 'name'}}",
"_id": "play3",
"type": "play",
"language": {
"en-US": {
"name": "Play 3"
}
}
},{
"name": "{{lang 'name'}}",
"_id": "play4",
"type": "play",
"language": {
"en-US": {
"name": "Play 4"
}
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment