-
-
Save Nagyman/c04507eef554fd647078 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"type": "CHECKIN", | |
"name": "Arrival Flight Details", // client facing name | |
"code": "ARRIVAL_FLIGHT_DETAILS", | |
"message": "Arrival flight number, date, and time are required for this product.", // this is really a developer message | |
"internal": false, | |
"details": [ | |
{ | |
"body": "We're missing your flight number", // might be null, so what do we do here? | |
"detail_type": { | |
"id": "30", | |
"label": "Flight Number", | |
"code": "FLIGHT_NUMBER" | |
} | |
} | |
] | |
}, | |
// every time, not in incomplete_requirements though | |
// Webhooks would need to update departure when these are created/updated | |
{ | |
"type": "INFORMATIONAL", | |
"name": "Customer Information", // client facing name | |
"code": "CUSTOMER_INFORMTION", | |
"message": "Information that must be passed along to the customer but is not actionable.", // this is really a developer message | |
"internal": false, | |
"details": [ | |
{ | |
"body": "This is a German language trip", // might be null, so what do we do here? | |
"detail_type": { | |
"id": "30", | |
"label": "Trip Language", | |
"code": "LANGUAGE_ADVISORY" | |
} | |
} | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment