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

    Interface GBFSVehicleTypesV31RC

    GBFS Vehicle Types Schema V3.1-RC

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

    interface GBFSVehicleTypesV31RC {
        data: {
            vehicle_types: {
                cargo_load_capacity?: number;
                cargo_volume_capacity?: number;
                color?: string;
                default_pricing_plan_id?: string;
                default_reserve_time?: number;
                description?: { language: string; text: string }[];
                eco_labels?: { country_code: string; eco_sticker: string }[];
                form_factor:
                    | "other"
                    | "bicycle"
                    | "cargo_bicycle"
                    | "car"
                    | "moped"
                    | "scooter_standing"
                    | "scooter_seated"
                    | "scooter";
                g_CO2_km?: number;
                make?: { language: string; text: string }[];
                max_permitted_speed?: number;
                max_range_meters?: number;
                model?: { language: string; text: string }[];
                name?: { language: string; text: string }[];
                pricing_plan_ids?: string[];
                propulsion_type:
                    | "human"
                    | "electric_assist"
                    | "electric"
                    | "combustion"
                    | "combustion_diesel"
                    | "hybrid"
                    | "plug_in_hybrid"
                    | "hydrogen_fuel_cell";
                rated_power?: number;
                return_constraint?: | "hybrid"
                | "free_floating"
                | "roundtrip_station"
                | "any_station";
                rider_capacity?: number;
                vehicle_accessories?: (
                    | "air_conditioning"
                    | "automatic"
                    | "manual"
                    | "convertible"
                    | "cruise_control"
                    | "doors_2"
                    | "doors_3"
                    | "doors_4"
                    | "doors_5"
                    | "navigation"
                )[];
                vehicle_assets?: {
                    icon_last_modified: string;
                    icon_url: string;
                    icon_url_dark?: string;
                };
                vehicle_image?: string;
                vehicle_type_id: string;
                wheel_count?: number;
            }[];
        };
        last_updated: string;
        ttl: number;
        version: "3.1-RC";
    }
    Index

    Properties

    data: {
        vehicle_types: {
            cargo_load_capacity?: number;
            cargo_volume_capacity?: number;
            color?: string;
            default_pricing_plan_id?: string;
            default_reserve_time?: number;
            description?: { language: string; text: string }[];
            eco_labels?: { country_code: string; eco_sticker: string }[];
            form_factor:
                | "other"
                | "bicycle"
                | "cargo_bicycle"
                | "car"
                | "moped"
                | "scooter_standing"
                | "scooter_seated"
                | "scooter";
            g_CO2_km?: number;
            make?: { language: string; text: string }[];
            max_permitted_speed?: number;
            max_range_meters?: number;
            model?: { language: string; text: string }[];
            name?: { language: string; text: string }[];
            pricing_plan_ids?: string[];
            propulsion_type:
                | "human"
                | "electric_assist"
                | "electric"
                | "combustion"
                | "combustion_diesel"
                | "hybrid"
                | "plug_in_hybrid"
                | "hydrogen_fuel_cell";
            rated_power?: number;
            return_constraint?: | "hybrid"
            | "free_floating"
            | "roundtrip_station"
            | "any_station";
            rider_capacity?: number;
            vehicle_accessories?: (
                | "air_conditioning"
                | "automatic"
                | "manual"
                | "convertible"
                | "cruise_control"
                | "doors_2"
                | "doors_3"
                | "doors_4"
                | "doors_5"
                | "navigation"
            )[];
            vehicle_assets?: {
                icon_last_modified: string;
                icon_url: string;
                icon_url_dark?: string;
            };
            vehicle_image?: string;
            vehicle_type_id: string;
            wheel_count?: number;
        }[];
    }

    Contains the vehicle type data.

    Type declaration

    • vehicle_types: {
          cargo_load_capacity?: number;
          cargo_volume_capacity?: number;
          color?: string;
          default_pricing_plan_id?: string;
          default_reserve_time?: number;
          description?: { language: string; text: string }[];
          eco_labels?: { country_code: string; eco_sticker: string }[];
          form_factor:
              | "other"
              | "bicycle"
              | "cargo_bicycle"
              | "car"
              | "moped"
              | "scooter_standing"
              | "scooter_seated"
              | "scooter";
          g_CO2_km?: number;
          make?: { language: string; text: string }[];
          max_permitted_speed?: number;
          max_range_meters?: number;
          model?: { language: string; text: string }[];
          name?: { language: string; text: string }[];
          pricing_plan_ids?: string[];
          propulsion_type:
              | "human"
              | "electric_assist"
              | "electric"
              | "combustion"
              | "combustion_diesel"
              | "hybrid"
              | "plug_in_hybrid"
              | "hydrogen_fuel_cell";
          rated_power?: number;
          return_constraint?: | "hybrid"
          | "free_floating"
          | "roundtrip_station"
          | "any_station";
          rider_capacity?: number;
          vehicle_accessories?: (
              | "air_conditioning"
              | "automatic"
              | "manual"
              | "convertible"
              | "cruise_control"
              | "doors_2"
              | "doors_3"
              | "doors_4"
              | "doors_5"
              | "navigation"
          )[];
          vehicle_assets?: {
              icon_last_modified: string;
              icon_url: string;
              icon_url_dark?: string;
          };
          vehicle_image?: string;
          vehicle_type_id: string;
          wheel_count?: number;
      }[]

      Array of vehicle types in the system.

    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. Const: 3.1-RC