Skip to content

Instantly share code, notes, and snippets.

@Nagyman
Forked from lesl/requirements.json
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nagyman/c04507eef554fd647078 to your computer and use it in GitHub Desktop.
Save Nagyman/c04507eef554fd647078 to your computer and use it in GitHub Desktop.
{
"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