Created
May 4, 2017 19:08
-
-
Save steve-ross/057a8dac511d5239aaf0e338cf00882b to your computer and use it in GitHub Desktop.
fixed schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"blocks": [ | |
{ | |
"type": "hero", | |
"name": "Hero Banner", | |
"settings": [ | |
{ | |
"id": "bannerImage", | |
"type": "image_picker", | |
"label": "Banner Image" | |
} | |
] | |
}, | |
{ | |
"type": "program", | |
"name": "Program Selector", | |
"settings": [ | |
{ | |
"id": "program", | |
"type": "radio", | |
"label": "Choose a program", | |
"options": [ | |
{"value": "planA", "label": "Plan Type A"}, | |
{"value": "planB", "label": "Plan Type B"}, | |
{"value": "planC", "label": "Plan Type C"} | |
] | |
} | |
] | |
}, | |
{ | |
"type": "coaching", | |
"name": "Coaching", | |
"settings": [ | |
{ | |
"id": "coachingTitle", | |
"type": "text", | |
"label": "Title" | |
}, | |
{ | |
"id": "coachingSummary", | |
"type": "textarea", | |
"label": "Summary" | |
}, | |
{ | |
"id": "coachingImage", | |
"type": "image_picker", | |
"label": "Image" | |
} | |
] | |
}, | |
{ | |
"type": "shop", | |
"name": "Shop Now", | |
"settings": [ | |
{ | |
"id": "shopNowTitle", | |
"type": "text", | |
"label": "Title", | |
"default": "What do you have to lose? Shop now." | |
}, | |
{ | |
"id": "shopNowHeader1", | |
"type": "text", | |
"label": "Left Header", | |
"default": "The 4-1-1" | |
}, | |
}, | |
{ | |
"type": "promo", | |
"name": "Promo", | |
"settings": [ | |
{ | |
"id": "promoTitle", | |
"type": "textarea", | |
"label": "Title" | |
}, | |
{ | |
"id": "promoSubtitle", | |
"type": "textarea", | |
"label": "Subtitle" | |
} | |
] | |
}, | |
{ | |
"type": "comparison", | |
"name": "Compare", | |
"settings": [ | |
{ | |
"id": "comparisonImage", | |
"type": "image_picker", | |
"label": "image" | |
}, | |
{ | |
"id": "comparisonTitle", | |
"type": "text", | |
"label": "Title" | |
}, | |
{ | |
"id": "comparisonSummary", | |
"type": "textarea", | |
"label": "Summary" | |
}, | |
{ | |
"id": "comparisonButtonLink", | |
"type": "url", | |
"label": "Button Link" | |
}, | |
{ | |
"id": "comparisonButtonText", | |
"type": "text", | |
"label": "Button Text" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment