Skip to content

Instantly share code, notes, and snippets.

@lesl
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lesl/6fe4cffdbcb577bd96ea to your computer and use it in GitHub Desktop.
Save lesl/6fe4cffdbcb577bd96ea to your computer and use it in GitHub Desktop.
{
"type": "CHECKIN",
"name": "Arrival Flight Details", // client facing name, Tin Can presentable
"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": [
{
"summary": "A short description", // might be null, so what do we do here?
"description": "A long description yadda yadda yadda", // might be null
}
]
},
// every time, not in incomplete_requirements though
// Webhooks would need to update departure when these are created/updated
{
"type": "INFORMATIONAL",
"name": "Customer Information",
"code": "CUSTOMER_INFORMATION",
"message": "Information that must be passed along to the customer but is not actionable.",
"internal": false,
"details": [
{
"summary": "A short description",
"description": "A long description yadda yadda yadda",
}
]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment