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

    Interface GBFSSystemCalendarV21

    GBFS System Calendar V2.1

    Describes the operating calendar for a system.

    interface GBFSSystemCalendarV21 {
        data: {
            calendars: {
                end_day: number;
                end_month: number;
                end_year?: number;
                start_day: number;
                start_month: number;
                start_year?: number;
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.1";
    }
    Index

    Properties

    data: {
        calendars: {
            end_day: number;
            end_month: number;
            end_year?: number;
            start_day: number;
            start_month: number;
            start_year?: number;
        }[];
    }

    Contains the operations calendar data.

    Type declaration

    • calendars: {
          end_day: number;
          end_month: number;
          end_year?: number;
          start_day: number;
          start_month: number;
          start_year?: number;
      }[]

      Array of calendars for the system operations.

    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