Feed

A Mobility Database catalog feed.

The catalog discriminator is data_type. Gtfs, GtfsRt, and Gbfs share the fields below. Unknown holds those same fields when the discriminator is not one of those three values.

Inheritors

Types

Link copied to clipboard
@SerialName(value = "gbfs")
data class Gbfs(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 systemId: String? = null, val providerUrl: String? = null, val versions: List<GbfsVersion>? = null, val boundingBox: BoundingBox? = null, val boundingBoxGeneratedAt: IsoDateTime? = null) : Feed

A GBFS feed.

Link copied to clipboard
@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

A static GTFS feed.

Link copied to clipboard
@SerialName(value = "gtfs_rt")
data class GtfsRt(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 entityTypes: List<RealtimeEntityType>? = null, val feedReferences: List<FeedId>? = null, val locations: List<Location>? = null) : Feed

A GTFS Realtime feed.

Link copied to clipboard
data class Unknown(val dataType: String = "unknown", 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) : Feed

A catalog row whose data_type is not gtfs, gtfs_rt, or gbfs.

Properties

Link copied to clipboard
abstract val createdAt: IsoDateTime?

Instant the feed was added to the catalog.

Link copied to clipboard
abstract val externalIds: List<ExternalId>?

Identifiers for the same feed in external databases.

Link copied to clipboard
abstract val feedContactEmail: String?

Contact email for the feed producer.

Link copied to clipboard
abstract val feedName: String?

Optional description of the data feed.

Link copied to clipboard
abstract val id: FeedId?

Unique catalog identifier.

Link copied to clipboard
abstract val note: String?

Note that clarifies complex use cases.

Link copied to clipboard
abstract val official: Boolean?

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

Link copied to clipboard

Instant the official status was last updated.

Link copied to clipboard
abstract val provider: String?

Common name for the transit provider.

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

Replacement feeds when this one should not be used.

Link copied to clipboard

Related links for the feed.

Link copied to clipboard
abstract val seasonal: Boolean?

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

Link copied to clipboard
abstract val sourceInfo: SourceInfo?

Producer URL and authentication details.

Link copied to clipboard
abstract val status: FeedStatus?

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