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

    Interface GBFSStationStatusV31RC

    GBFS Station Status Schema V3.1-RC

    Describes the capacity and rental availability of the station.

    interface GBFSStationStatusV31RC {
        data: {
            stations: {
                is_installed: boolean;
                is_renting: boolean;
                is_returning: boolean;
                last_reported: string;
                num_docks_available?: number;
                num_docks_disabled?: number;
                num_vehicles_available: number;
                num_vehicles_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: string;
        ttl: number;
        version: "3.1-RC";
    }
    Index

    Properties

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

    Contains the status information for all stations in the system.

    Type declaration

    • stations: {
          is_installed: boolean;
          is_renting: boolean;
          is_returning: boolean;
          last_reported: string;
          num_docks_available?: number;
          num_docks_disabled?: number;
          num_vehicles_available: number;
          num_vehicles_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 stations, each containing capacity and rental availability details.

    last_updated: string

    Last time the data in the feed was updated in RFC3339 format. Format: date-time

    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: "3.1-RC"

    GBFS version number to which the feed conforms, according to the versioning framework (added in v1.1). Const: 3.1-RC