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

    Interface GBFSVehicleTypesV21

    GBFS Vehicle Types V2.1

    Describes the types of vehicles that System operator has available for rent (added in v2.1-RC).

    interface GBFSVehicleTypesV21 {
        data: {
            vehicle_types: {
                form_factor: "other" | "bicycle" | "car" | "moped" | "scooter";
                max_range_meters?: number;
                name?: string;
                propulsion_type: "human" | "electric_assist" | "electric" | "combustion";
                vehicle_type_id: string;
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.1";
    }
    Index

    Properties

    data: {
        vehicle_types: {
            form_factor: "other" | "bicycle" | "car" | "moped" | "scooter";
            max_range_meters?: number;
            name?: string;
            propulsion_type: "human" | "electric_assist" | "electric" | "combustion";
            vehicle_type_id: string;
        }[];
    }

    Response data in the form of name:value pairs.

    Type declaration

    • vehicle_types: {
          form_factor: "other" | "bicycle" | "car" | "moped" | "scooter";
          max_range_meters?: number;
          name?: string;
          propulsion_type: "human" | "electric_assist" | "electric" | "combustion";
          vehicle_type_id: string;
      }[]

      Array of vehicle types available in the system.

    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).

    version: "2.1"

    GBFS version number to which the feed conforms.