gis-tools-ts - v0.6.0
    Preparing search index...

    Interface GBFSStationStatusV23

    GBFS Station Status V2.3

    Describes the capacity and rental availability of the station.

    interface GBFSStationStatusV23 {
        data: {
            stations: {
                is_installed: boolean;
                is_renting: boolean;
                is_returning: boolean;
                last_reported: number;
                num_bikes_available: number;
                num_bikes_disabled?: number;
                num_docks_available?: number;
                num_docks_disabled?: number;
                station_id: string;
                vehicle_docks_available?: { count: number; vehicle_type_ids: string[] }[];
                vehicle_types_available?: { count: number; vehicle_type_id: string }[];
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.3";
    }
    Index

    Properties

    data: {
        stations: {
            is_installed: boolean;
            is_renting: boolean;
            is_returning: boolean;
            last_reported: number;
            num_bikes_available: number;
            num_bikes_disabled?: number;
            num_docks_available?: number;
            num_docks_disabled?: number;
            station_id: string;
            vehicle_docks_available?: { count: number; vehicle_type_ids: string[] }[];
            vehicle_types_available?: { count: number; vehicle_type_id: string }[];
        }[];
    }

    Contains station status information.

    Type declaration

    • stations: {
          is_installed: boolean;
          is_renting: boolean;
          is_returning: boolean;
          last_reported: number;
          num_bikes_available: number;
          num_bikes_disabled?: number;
          num_docks_available?: number;
          num_docks_disabled?: number;
          station_id: string;
          vehicle_docks_available?: { count: number; vehicle_type_ids: string[] }[];
          vehicle_types_available?: { count: number; vehicle_type_id: string }[];
      }[]

      Array of station status objects.

    last_updated: number

    Last time the data in the feed was updated in POSIX time. Minimum: 1450155600

    ttl: number

    Number of seconds before the data in the feed will be updated again (0 if the data should always be refreshed). Minimum: 0

    version: "2.3"

    GBFS version number to which the feed conforms, according to the versioning framework. Const: 2.3