123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
{
  "surface_id": "onboadring-topic-choice",
  "surface_version": 1,
  "payload": {
    "objects": [
      {
        "beginRendering": {
          "surfaceId": "onboadring-topic-choice",
          "root": "main-column"
        }
      },
      {
        "surfaceUpdate": {
          "surfaceId": "onboadring-topic-choice",
          "components": [
            {
              "id": "main-column",
              "component": {
                "Column": {
                  "alignment": "stretch",
                  "children": {
                    "explicitList": [
                      "button-what-to-eat",
                      "button-story",
                      "button-nutrition"
                    ]
                  }
                }
              }
            },
            {
              "id": "button-what-to-eat",
              "component": {
                "Button": {
                  "child": "button-what-to-eat-content",
                  "style": "secondary",
                  "action": {
                    "name": "onboarding_pick_what_to_eat",
                    "context": [
                      {
                        "key": "source",
                        "value": {
                          "literalString": "onboarding_topic_choice"
                        }
                      },
                      {
                        "key": "optionKey",
                        "value": {
                          "literalString": "what_to_eat"
                        }
                      }
                    ]
                  }
                }
              }
            },
            {
              "id": "button-what-to-eat-content",
              "component": {
                "Row": {
                  "alignment": "center",
                  "children": {
                    "explicitList": [
                      "what-to-eat-emoji",
                      "what-to-eat-label"
                    ]
                  }
                }
              }
            },
            {
              "id": "what-to-eat-emoji",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "🀄"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "what-to-eat-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Can't decide what to eat"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "button-story",
              "component": {
                "Button": {
                  "child": "button-story-content",
                  "style": "secondary",
                  "action": {
                    "name": "onboarding_pick_story",
                    "context": [
                      {
                        "key": "source",
                        "value": {
                          "literalString": "onboarding_topic_choice"
                        }
                      },
                      {
                        "key": "optionKey",
                        "value": {
                          "literalString": "story"
                        }
                      }
                    ]
                  }
                }
              }
            },
            {
              "id": "button-story-content",
              "component": {
                "Row": {
                  "alignment": "center",
                  "children": {
                    "explicitList": [
                      "story-emoji",
                      "story-label"
                    ]
                  }
                }
              }
            },
            {
              "id": "story-emoji",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "📺"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "story-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Read a short story"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "button-nutrition",
              "component": {
                "Button": {
                  "child": "button-nutrition-content",
                  "style": "secondary",
                  "action": {
                    "name": "onboarding_pick_nutrition_pairing",
                    "context": [
                      {
                        "key": "source",
                        "value": {
                          "literalString": "onboarding_topic_choice"
                        }
                      },
                      {
                        "key": "optionKey",
                        "value": {
                          "literalString": "nutrition_pairing"
                        }
                      }
                    ]
                  }
                }
              }
            },
            {
              "id": "button-nutrition-content",
              "component": {
                "Row": {
                  "alignment": "center",
                  "children": {
                    "explicitList": [
                      "nutrition-emoji",
                      "nutrition-label"
                    ]
                  }
                }
              }
            },
            {
              "id": "nutrition-emoji",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "👱"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            },
            {
              "id": "nutrition-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Nutrition pairing"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            }
          ]
        }
      },
      {
        "dataModelUpdate": {
          "surfaceId": "onboadring-topic-choice",
          "path": "/",
          "contents": []
        }
      }
    ]
  }
}
0 tokens