Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "routing_model": {
- "COLLECT_DETAILS": []
- },
- "data_api_version": "3.0",
- "version": "6.3",
- "screens": [
- {
- "id": "COLLECT_DETAILS",
- "title": "Fill the details",
- "data": {
- "user_name": {
- "type": "string",
- "__example__": "Example"
- },
- "no_of_people": {
- "type": "number",
- "__example__": 1
- },
- "preferred_destination": {
- "type": "string",
- "__example__": "Manali"
- },
- "date_of_booking": {
- "type": "string",
- "__example__": "25 March 2025"
- }
- },
- "terminal": true,
- "success": true,
- "layout": {
- "type": "SingleColumnLayout",
- "children": [
- {
- "type": "Form",
- "name": "form",
- "children": [
- {
- "type": "TextSubheading",
- "text": "Help us with your query"
- },
- {
- "type": "TextInput",
- "name": "user_name",
- "label": "Your Name",
- "input-type": "text",
- "required": true
- },
- {
- "type": "TextInput",
- "name": "no_of_people",
- "label": "No of People",
- "input-type": "number",
- "required": true
- },
- {
- "type": "TextInput",
- "name": "preferred_destination",
- "label": "Destination",
- "input-type": "text",
- "required": true
- },
- {
- "type": "TextInput",
- "name": "date_of_booking",
- "label": "planing date",
- "input-type": "text",
- "required": true
- },
- {
- "type": "Footer",
- "label": "Confirm",
- "on-click-action": {
- "name": "complete",
- "payload": {
- "user_name": "${data.user_name}",
- "no_of_people": "${data.no_of_people}",
- "preferred_destination": "${data.preferred_destination}",
- "date_of_booking": "${data.date_of_booking}"
- }
- }
- }
- ]
- }
- ]
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement