123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
{
  "surface_id": "surface-date-time-selection",
  "surface_version": 1,
  "payload": {
    "objects": [
      {
        "beginRendering": {
          "root": "root-card",
          "surfaceId": "surface-date-time-selection"
        }
      },
      {
        "surfaceUpdate": {
          "surfaceId": "surface-date-time-selection",
          "components": [
            {
              "id": "root-card",
              "component": {
                "Card": {
                  "child": "main-column"
                }
              }
            },
            {
              "id": "main-column",
              "component": {
                "Column": {
                  "alignment": "stretch",
                  "children": {
                    "explicitList": [
                      "title-text",
                      "subtitle-text",
                      "datetime-label",
                      "datetime-picker",
                      "date-label",
                      "date-picker",
                      "time-label",
                      "time-picker",
                      "confirm-button"
                    ]
                  }
                }
              }
            },
            {
              "id": "title-text",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Schedule a Team Check-in"
                  },
                  "variant": "title"
                }
              }
            },
            {
              "id": "subtitle-text",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Try full date-time, date only, and time only selectors."
                  },
                  "variant": "caption"
                }
              }
            },
            {
              "id": "datetime-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Meeting Date & Time"
                  },
                  "variant": "bodySemibold"
                }
              }
            },
            {
              "id": "datetime-picker",
              "component": {
                "DateTimeInput": {
                  "value": {
                    "path": "/meetingDateTime"
                  },
                  "enableDate": true,
                  "enableTime": true,
                  "firstDate": "2026-01-01",
                  "lastDate": "2026-12-31"
                }
              }
            },
            {
              "id": "date-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Date Only"
                  },
                  "variant": "bodySemibold"
                }
              }
            },
            {
              "id": "date-picker",
              "component": {
                "DateTimeInput": {
                  "value": {
                    "path": "/meetingDate"
                  },
                  "enableDate": true,
                  "enableTime": false,
                  "firstDate": "2026-01-01",
                  "lastDate": "2026-12-31"
                }
              }
            },
            {
              "id": "time-label",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Time Only"
                  },
                  "variant": "bodySemibold"
                }
              }
            },
            {
              "id": "time-picker",
              "component": {
                "DateTimeInput": {
                  "value": {
                    "path": "/meetingTime"
                  },
                  "enableDate": false,
                  "enableTime": true
                }
              }
            },
            {
              "id": "confirm-button",
              "component": {
                "Button": {
                  "child": "confirm-button-text",
                  "style": "primary",
                  "action": {
                    "name": "confirmSchedule",
                    "context": [
                      {
                        "key": "meetingDateTime",
                        "value": {
                          "path": "/meetingDateTime"
                        }
                      },
                      {
                        "key": "meetingDate",
                        "value": {
                          "path": "/meetingDate"
                        }
                      },
                      {
                        "key": "meetingTime",
                        "value": {
                          "path": "/meetingTime"
                        }
                      }
                    ]
                  }
                }
              }
            },
            {
              "id": "confirm-button-text",
              "component": {
                "Label": {
                  "text": {
                    "literalString": "Confirm Schedule"
                  },
                  "variant": "bodySansSemibold"
                }
              }
            }
          ]
        }
      },
      {
        "dataModelUpdate": {
          "surfaceId": "surface-date-time-selection",
          "path": "/",
          "contents": [
            {
              "key": "meetingDateTime",
              "valueString": "2026-03-12T09:30:00"
            },
            {
              "key": "meetingDate",
              "valueString": "2026-03-12"
            },
            {
              "key": "meetingTime",
              "valueString": "09:30:00"
            }
          ]
        }
      }
    ]
  }
}
0 tokens
Schedule a Team Check-in
Try full date-time, date only, and time only selectors.
Meeting Date & Time
Date Only
Time Only