Gtfs

@SerialName(value = "gtfs")
data class Gtfs(val id: FeedId? = null, val createdAt: IsoDateTime? = null, val externalIds: List<ExternalId>? = null, val provider: String? = null, val feedContactEmail: String? = null, val sourceInfo: SourceInfo? = null, val redirects: List<Redirect>? = null, val status: FeedStatus? = null, val official: Boolean? = null, val officialUpdatedAt: IsoDateTime? = null, val seasonal: Boolean? = false, val feedName: String? = null, val note: String? = null, val relatedLinks: List<FeedRelatedLink>? = null, val locations: List<Location>? = null, val latestDataset: LatestDataset? = null, val boundingBox: BoundingBox? = null, val visualizationDatasetId: String? = null, val reliabilitySeal: FeedReliabilitySummary? = null) : Feed(source)

A static GTFS feed.

Constructors

Link copied to clipboard
constructor(id: FeedId? = null, createdAt: IsoDateTime? = null, externalIds: List<ExternalId>? = null, provider: String? = null, feedContactEmail: String? = null, sourceInfo: SourceInfo? = null, redirects: List<Redirect>? = null, status: FeedStatus? = null, official: Boolean? = null, officialUpdatedAt: IsoDateTime? = null, seasonal: Boolean? = false, feedName: String? = null, note: String? = null, relatedLinks: List<FeedRelatedLink>? = null, locations: List<Location>? = null, latestDataset: LatestDataset? = null, boundingBox: BoundingBox? = null, visualizationDatasetId: String? = null, reliabilitySeal: FeedReliabilitySummary? = null)

Properties

Link copied to clipboard
@SerialName(value = "bounding_box")
val boundingBox: BoundingBox?

Bounding box of the feed.

Link copied to clipboard
@SerialName(value = "created_at")
open override val createdAt: IsoDateTime?

Instant the feed was added to the catalog.

Link copied to clipboard
@SerialName(value = "external_ids")
open override val externalIds: List<ExternalId>?

Identifiers for the same feed in external databases.

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

Contact email for the feed producer.

Link copied to clipboard
@SerialName(value = "feed_name")
open override val feedName: String?

Optional description of the data feed.

Link copied to clipboard
open override val id: FeedId?

Unique catalog identifier.

Link copied to clipboard
@SerialName(value = "latest_dataset")
val latestDataset: LatestDataset?

Latest hosted dataset.

Link copied to clipboard

Locations served by the feed.

Link copied to clipboard
open override val note: String?

Note that clarifies complex use cases.

Link copied to clipboard
open override val official: Boolean?

Whether the feed is provided by the agency or a trusted source.

Link copied to clipboard
@SerialName(value = "official_updated_at")
open override val officialUpdatedAt: IsoDateTime?

Instant the official status was last updated.

Link copied to clipboard
open override val provider: String?

Common name for the transit provider.

Link copied to clipboard
open override val redirects: List<Redirect>?

Replacement feeds when this one should not be used.

Link copied to clipboard
@SerialName(value = "related_links")
open override val relatedLinks: List<FeedRelatedLink>?

Related links for the feed.

Link copied to clipboard
@SerialName(value = "reliability_seal")
val reliabilitySeal: FeedReliabilitySummary?

Embedded Seal of Reliability summary.

Link copied to clipboard
open override val seasonal: Boolean?

Whether the feed only covers a recurring season. Omitted values decode as false.

Link copied to clipboard
@SerialName(value = "source_info")
open override val sourceInfo: SourceInfo?

Producer URL and authentication details.

Link copied to clipboard
open override val status: FeedStatus?

Whether the feed is active, deprecated, inactive, in development, or future.

Link copied to clipboard
@SerialName(value = "visualization_dataset_id")
val visualizationDatasetId: String?

Dataset id used to compute visualization files.