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
  • Save Nagyman/c04507eef554fd647078 to your computer and use it in GitHub Desktop.
Save Nagyman/c04507eef554fd647078 to your computer and use it in GitHub Desktop.

Revisions

  1. Craig Nagy revised this gist Jun 19, 2014. 1 changed file with 14 additions and 6 deletions.
    20 changes: 14 additions & 6 deletions requirements.json
    Original file line number Diff line number Diff line change
    @@ -4,10 +4,14 @@
    "code": "ARRIVAL_FLIGHT_DETAILS",
    "message": "Arrival flight number, date, and time are required for this product.", // this is really a developer message
    "internal": false,
    "notes": [
    "details": [
    {
    "summary": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    "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"
    }
    }
    ]
    },
    @@ -19,10 +23,14 @@
    "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,
    "notes": [
    "details": [
    {
    "summary": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    "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"
    }
    }
    ]
    },
  2. @lesl lesl revised this gist Jun 19, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions requirements.json
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@
    "internal": false,
    "notes": [
    {
    "brief": "A short description", // might be null, so what do we do here?
    "summary": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    }
    ]
    @@ -21,7 +21,7 @@
    "internal": false,
    "notes": [
    {
    "brief": "A short description", // might be null, so what do we do here?
    "summary": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    }
    ]
  3. @lesl lesl revised this gist Jun 19, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions requirements.json
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,7 @@
    "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,
    "notes": [
    {
    "brief": "A short description", // might be null, so what do we do here?
  4. @lesl lesl revised this gist Jun 19, 2014. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions requirements.json
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@
    "message": "Arrival flight number, date, and time are required for this product.", // this is really a developer message
    "notes": [
    {
    "short": "A short description", // might be null, so what do we do here?
    "brief": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    }
    ]
    @@ -17,9 +17,10 @@
    "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,
    "notes": [
    {
    "short": "A short description", // might be null, so what do we do here?
    "brief": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    }
    ]
  5. @lesl lesl revised this gist Jun 19, 2014. 1 changed file with 16 additions and 2 deletions.
    18 changes: 16 additions & 2 deletions requirements.json
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,21 @@
    "notes": [
    {
    "short": "A short description", // might be null, so what do we do here?
    "long": "A long description yadda yadda yadda", // might be null
    "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", // 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
    "notes": [
    {
    "short": "A short description", // might be null, so what do we do here?
    "description": "A long description yadda yadda yadda", // might be null
    }
    ]
    },
  6. @lesl lesl created this gist Jun 19, 2014.
    12 changes: 12 additions & 0 deletions requirements.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    {
    "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
    "notes": [
    {
    "short": "A short description", // might be null, so what do we do here?
    "long": "A long description yadda yadda yadda", // might be null
    }
    ]
    }