Gbfs

@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(source)

A GBFS 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, systemId: String? = null, providerUrl: String? = null, versions: List<GbfsVersion>? = null, boundingBox: BoundingBox? = null, boundingBoxGeneratedAt: IsoDateTime? = null)

Properties

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

Bounding box of the feed.

Link copied to clipboard
@SerialName(value = "bounding_box_generated_at")
val boundingBoxGeneratedAt: IsoDateTime?

Instant the bounding box was generated.

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

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
@SerialName(value = "provider_url")
val providerUrl: String?

Provider website.

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
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 = "system_id")
val systemId: String?

GBFS system id.

Link copied to clipboard

GBFS versions this feed supports.