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

    Interface GBFSV30

    GBFS Schema V3.0

    Auto-discovery file that links to all of the other files published by the system.

    interface GBFSV30 {
        data: {
            feeds: {
                name:
                    | "gbfs"
                    | "gbfs_versions"
                    | "system_information"
                    | "station_information"
                    | "station_status"
                    | "system_alerts"
                    | "system_regions"
                    | "system_pricing_plans"
                    | "vehicle_types"
                    | "geofencing_zones"
                    | "vehicle_status";
                url: string;
            }[];
        };
        last_updated: string;
        ttl: number;
        version: "3.0";
    }
    Index

    Properties

    data: {
        feeds: {
            name:
                | "gbfs"
                | "gbfs_versions"
                | "system_information"
                | "station_information"
                | "station_status"
                | "system_alerts"
                | "system_regions"
                | "system_pricing_plans"
                | "vehicle_types"
                | "geofencing_zones"
                | "vehicle_status";
            url: string;
        }[];
    }

    Contains the data for feeds published by the auto-discovery file.

    Type declaration

    • feeds: {
          name:
              | "gbfs"
              | "gbfs_versions"
              | "system_information"
              | "station_information"
              | "station_status"
              | "system_alerts"
              | "system_regions"
              | "system_pricing_plans"
              | "vehicle_types"
              | "geofencing_zones"
              | "vehicle_status";
          url: string;
      }[]

      An array of all feeds published by the auto-discovery file. Each element is an object with the following keys:

    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.0"

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