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

    Interface GBFSSystemAlertsV30

    GBFS System Alerts Schema V3.0

    Describes ad-hoc changes to the system.

    interface GBFSSystemAlertsV30 {
        data: {
            alerts: {
                alert_id: string;
                description?: { language: string; text: string }[];
                last_updated?: string;
                region_ids?: string[];
                station_ids?: string[];
                summary: { language: string; text: string }[];
                times?: { end?: string; start: string }[];
                type: "other" | "system_closure" | "station_closure" | "station_move";
                url?: { language: string; text: string }[];
            }[];
        };
        last_updated: string;
        ttl: number;
        version: "3.0";
    }
    Index

    Properties

    data: {
        alerts: {
            alert_id: string;
            description?: { language: string; text: string }[];
            last_updated?: string;
            region_ids?: string[];
            station_ids?: string[];
            summary: { language: string; text: string }[];
            times?: { end?: string; start: string }[];
            type: "other" | "system_closure" | "station_closure" | "station_move";
            url?: { language: string; text: string }[];
        }[];
    }

    Data object containing system alerts.

    Type declaration

    • alerts: {
          alert_id: string;
          description?: { language: string; text: string }[];
          last_updated?: string;
          region_ids?: string[];
          station_ids?: string[];
          summary: { language: string; text: string }[];
          times?: { end?: string; start: string }[];
          type: "other" | "system_closure" | "station_closure" | "station_move";
          url?: { language: string; text: string }[];
      }[]

      Array of alerts for 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.0"

    GBFS version number to which the feed conforms. Const: '3.0'