Class: GtfsDf::Schema::FareTransferRules

Inherits:
BaseGtfsTable show all
Defined in:
lib/gtfs_df/schema/fare_transfer_rules.rb

Constant Summary collapse

SCHEMA =
{
  "fare_transfer_rule_id" => Polars::String,
  "from_leg_group_id" => Polars::String,
  "to_leg_group_id" => Polars::String,
  "transfer_count" => Polars::Int64,
  "duration_limit" => Polars::Int64,
  "duration_limit_type" => Polars::String,
  "fare_product_id" => Polars::String
}.freeze
REQUIRED_FIELDS =
%w[
  fare_transfer_rule_id
  from_leg_group_id
  to_leg_group_id
].freeze

Instance Attribute Summary

Attributes inherited from BaseGtfsTable

#df, #validator

Method Summary

Methods inherited from BaseGtfsTable

#dataframe, empty_dataframe, #errors, #fields, #initialize, time_fields, #valid?

Constructor Details

This class inherits a constructor from GtfsDf::BaseGtfsTable