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

    Interface GBFSStationInformationV21

    GBFS Station Information V2.1

    List of all stations, their capacities, and locations. REQUIRED for systems utilizing docks.

    interface GBFSStationInformationV21 {
        data: {
            stations: {
                address?: string;
                capacity?: number;
                cross_street?: string;
                is_valet_station?: boolean;
                is_virtual_station?: boolean;
                lat: number;
                lon: number;
                name: string;
                post_code?: string;
                region_id?: string;
                rental_methods?: (
                    | "key"
                    | "creditcard"
                    | "paypass"
                    | "applepay"
                    | "androidpay"
                    | "transitcard"
                    | "accountnumber"
                    | "phone"
                )[];
                rental_uris?: { android?: string; ios?: string; web?: string };
                short_name?: string;
                station_area?: MultiPolygonGeometry;
                station_id: string;
                vehicle_capacity?: Record<string, number>;
                vehicle_type_capacity?: Record<string, number>;
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.1";
    }
    Index

    Properties

    data: {
        stations: {
            address?: string;
            capacity?: number;
            cross_street?: string;
            is_valet_station?: boolean;
            is_virtual_station?: boolean;
            lat: number;
            lon: number;
            name: string;
            post_code?: string;
            region_id?: string;
            rental_methods?: (
                | "key"
                | "creditcard"
                | "paypass"
                | "applepay"
                | "androidpay"
                | "transitcard"
                | "accountnumber"
                | "phone"
            )[];
            rental_uris?: { android?: string; ios?: string; web?: string };
            short_name?: string;
            station_area?: MultiPolygonGeometry;
            station_id: string;
            vehicle_capacity?: Record<string, number>;
            vehicle_type_capacity?: Record<string, number>;
        }[];
    }

    Contains station information for the system.

    Type declaration

    • stations: {
          address?: string;
          capacity?: number;
          cross_street?: string;
          is_valet_station?: boolean;
          is_virtual_station?: boolean;
          lat: number;
          lon: number;
          name: string;
          post_code?: string;
          region_id?: string;
          rental_methods?: (
              | "key"
              | "creditcard"
              | "paypass"
              | "applepay"
              | "androidpay"
              | "transitcard"
              | "accountnumber"
              | "phone"
          )[];
          rental_uris?: { android?: string; ios?: string; web?: string };
          short_name?: string;
          station_area?: MultiPolygonGeometry;
          station_id: string;
          vehicle_capacity?: Record<string, number>;
          vehicle_type_capacity?: Record<string, number>;
      }[]

      Array of station 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.1"

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