Class: GtfsDf::Schema::BookingRules

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

Constant Summary collapse

SCHEMA =
{
  "booking_rule_id" => Polars::String,
  "booking_type" => Polars::String,
  "min_advance_book_time" => Polars::Int64,
  "max_advance_book_time" => Polars::Int64
}.freeze
REQUIRED_FIELDS =
%w[
  booking_rule_id
  booking_type
].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