123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202{
"surface_id": "onboadring-meal-goal-picker",
"surface_version": 1,
"payload": {
"objects": [
{
"beginRendering": {
"surfaceId": "onboadring-meal-goal-picker",
"root": "root-card"
}
},
{
"surfaceUpdate": {
"surfaceId": "onboadring-meal-goal-picker",
"components": [
{
"id": "root-card",
"component": {
"Card": {
"child": "main-column"
}
}
},
{
"id": "main-column",
"component": {
"Column": {
"alignment": "stretch",
"children": {
"explicitList": [
"meal-goal-title",
"meal-goal-divider",
"meal-goal-selector",
"submit-button"
]
}
}
}
},
{
"id": "meal-goal-title",
"component": {
"Label": {
"text": {
"literalString": "What is your top goal for\nthis meal today?"
},
"variant": "title"
}
}
},
{
"id": "meal-goal-divider",
"component": {
"Divider": {}
}
},
{
"id": "meal-goal-selector",
"component": {
"OrderedSelectionList": {
"selection": {
"path": "/selectedMealGoals"
},
"maxSelection": 3,
"requiredSelection": 1,
"hasSelection": {
"path": "/readyToSubmit",
"literalBoolean": true
},
"items": [
{
"value": "explore_something_new",
"child": "goal-explore-new"
},
{
"value": "eat_clean_healthy",
"child": "goal-clean-healthy"
},
{
"value": "treat_myself",
"child": "goal-treat-myself"
},
{
"value": "fits_the_occasion",
"child": "goal-fits-occasion"
},
{
"value": "great_value",
"child": "goal-great-value"
}
]
}
}
},
{
"id": "goal-explore-new",
"component": {
"Label": {
"text": {
"literalString": "Explore something new"
},
"variant": "bodySans"
}
}
},
{
"id": "goal-clean-healthy",
"component": {
"Label": {
"text": {
"literalString": "Eat clean & healthy"
},
"variant": "bodySans"
}
}
},
{
"id": "goal-treat-myself",
"component": {
"Label": {
"text": {
"literalString": "Treat myself"
},
"variant": "bodySans"
}
}
},
{
"id": "goal-fits-occasion",
"component": {
"Label": {
"text": {
"literalString": "Fits the occasion"
},
"variant": "bodySans"
}
}
},
{
"id": "goal-great-value",
"component": {
"Label": {
"text": {
"literalString": "Great value"
},
"variant": "bodySans"
}
}
},
{
"id": "submit-button",
"component": {
"Button": {
"child": "submit-button-label",
"style": "primary",
"enabled": {
"path": "/readyToSubmit"
},
"action": {
"name": "onboarding_submit_meal_goal",
"context": [
{
"key": "selectedMealGoals",
"value": {
"path": "/selectedMealGoals"
}
},
{
"key": "screen",
"value": {
"literalString": "onboadring_meal_goal_picker"
}
}
]
}
}
}
},
{
"id": "submit-button-label",
"component": {
"Label": {
"text": {
"literalString": "Submit"
},
"variant": "bodySansSemibold"
}
}
}
]
}
},
{
"dataModelUpdate": {
"surfaceId": "onboadring-meal-goal-picker",
"path": "/",
"contents": []
}
}
]
}
}0 tokens
What is your top goal for
this meal today?