Skip to content

Commit

Permalink
Adding a few new properties to itinerary and leg
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhtr committed Feb 18, 2020
1 parent ddd00e6 commit f096ccd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maas-schemas/schemas/core/itinerary.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
},
"isWhimRide": {
"type": "boolean"
},
"provider": {
"type": "string"
}
},
"additionalProperties": false,
Expand Down
8 changes: 8 additions & 0 deletions maas-schemas/schemas/core/leg.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@
"agencyId": {
"$ref": "http://maasglobal.com/core/components/common.json#/definitions/agencyId"
},
"agencyName": {
"type": "string"
},
"co2": {
"type": "number"
},
"legGeometry": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -109,6 +115,8 @@
"routeShortName": { "$ref": "#/definitions/routeShortName" },
"routeLongName": { "$ref": "#/definitions/routeLongName" },
"agencyId": { "$ref": "#/definitions/agencyId" },
"agencyName": { "type": "string" },
"co2": { "type": "number" },
"legGeometry": { "$ref": "#/definitions/legGeometry" },
"tspProduct": { "$ref": "#/definitions/tspProduct" },
"productOption": { "$ref": "#/definitions/productOption" }
Expand Down

0 comments on commit f096ccd

Please sign in to comment.