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

    Interface GBFSSystemHoursV21

    GBFS System Hours V2.1

    Describes the system hours of operation.

    interface GBFSSystemHoursV21 {
        data: {
            rental_hours: {
                days: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[];
                end_time: string;
                start_time: string;
                user_types: ("member" | "nonmember")[];
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.1";
    }
    Index

    Properties

    data: {
        rental_hours: {
            days: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[];
            end_time: string;
            start_time: string;
            user_types: ("member" | "nonmember")[];
        }[];
    }

    Contains system hours data.

    Type declaration

    • rental_hours: {
          days: ("sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat")[];
          end_time: string;
          start_time: string;
          user_types: ("member" | "nonmember")[];
      }[]

      Rental hours for 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). Minimum: 0

    version: "2.1"

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