Skip to content

Commit

Permalink
Merge pull request #207 from rymarczy/fix-fare-products-pkid
Browse files Browse the repository at this point in the history
fix: Add `fare_media_id` to `fare_products` in spec.R
  • Loading branch information
polettif committed Jul 21, 2023
2 parents 9e8b787 + 26f3f17 commit 878e64a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/spec.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ get_gtfs_meta <- function() {

# fare_products
m$fare_products <- spec_setup_fields(
c("fare_product_id", "fare_product_name", "amount",
"currency"),
c("req", "opt", "req", "req"),
c("character", "character", "numeric", "numeric"), # TODO currency should be handled with integers
c("fare_product_id", "fare_product_name", "fare_media_id",
"amount", "currency"),
c("req", "opt", "opt", "req", "req"),
c("character", "character", "character", "numeric", "numeric"), # TODO currency should be handled with integers
"opt",
"fare_product_id")
c("fare_product_id", "fare_media_id"))

# fare_leg_rules
m$fare_leg_rules <- spec_setup_fields(
Expand Down

0 comments on commit 878e64a

Please sign in to comment.