FeedInfo

data class FeedInfo(val feedPublisherName: String, val feedPublisherUrl: Url, val feedLang: LanguageCode, val defaultLang: LanguageCode? = null, val feedStartDate: BasicLocalDate? = null, val feedEndDate: BasicLocalDate? = null, val feedVersion: String? = null, val feedContactEmail: String? = null, val feedContactUrl: Url? = null)(source)

Dataset metadata.

This class represents a record in the feed_info.txt file.

Constructors

Link copied to clipboard
constructor(feedPublisherName: String, feedPublisherUrl: Url, feedLang: LanguageCode, defaultLang: LanguageCode? = null, feedStartDate: BasicLocalDate? = null, feedEndDate: BasicLocalDate? = null, feedVersion: String? = null, feedContactEmail: String? = null, feedContactUrl: Url? = null)

Properties

Link copied to clipboard
@SerialName(value = "default_lang")
val defaultLang: LanguageCode?

Defines the language that should be used when the data consumer doesn't know the language of the rider.

Link copied to clipboard
@SerialName(value = "feed_contact_email")
val feedContactEmail: String?

Email address for communication regarding the GTFS dataset and data publishing practices. feed_contact_email is a technical contact for GTFS-consuming applications.

Link copied to clipboard
@SerialName(value = "feed_contact_url")
val feedContactUrl: Url?

URL for contact information, a web-form, support desk, or other tools for communication regarding the GTFS dataset and data publishing practices. feed_contact_url is a technical contact for GTFS-consuming applications.

Link copied to clipboard
@SerialName(value = "feed_end_date")
val feedEndDate: BasicLocalDate?

The dataset end date (see feed_start_date).

Link copied to clipboard
@SerialName(value = "feed_lang")
val feedLang: LanguageCode

Default language used for the text in this dataset.

Link copied to clipboard
@SerialName(value = "feed_publisher_name")
val feedPublisherName: String

Full name of the organization that publishes the dataset.

Link copied to clipboard
@SerialName(value = "feed_publisher_url")
val feedPublisherUrl: Url

URL of the dataset publishing organization's website.

Link copied to clipboard
@SerialName(value = "feed_start_date")
val feedStartDate: BasicLocalDate?

The dataset provides complete and reliable schedule information for service in the period from the beginning of the feed_start_date day to the end of the feed_end_date day.

Link copied to clipboard
@SerialName(value = "feed_version")
val feedVersion: String?

String that indicates the current version of their GTFS dataset. GTFS-consuming applications can display this value to help dataset publishers determine whether the latest dataset has been incorporated.