UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

86 lines 2.65 kB
/** * # GBFS Versions Schema V1.1 * Lists all feed endpoints published according to versions of the GBFS documentation. * * ## Links * - [GBFS Specification V1.1](https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#gbfs_versionsjson-added-in-v11) */ export type GBFSVersionsV1 = GBFSVersionsV11; /** * # GBFS Versions Schema V1.1 * Lists all feed endpoints published according to versions of the GBFS documentation. (added in v1.1) * * ## Links * - [GBFS Specification V1.1](https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#gbfs_versionsjson-added-in-v11) */ export declare const gbfsVersionsSchemaV11: { $schema: string; $id: string; description: string; type: string; properties: { last_updated: { description: string; type: string; minimum: number; }; ttl: { description: string; type: string; minimum: number; }; version: { description: string; type: string; const: string; }; data: { description: string; type: string; properties: { versions: { description: string; type: string; items: { type: string; properties: { version: { description: string; type: string; enum: string[]; }; url: { description: string; type: string; format: string; }; }; required: string[]; }; }; }; required: string[]; additionalProperties: boolean; }; }; required: string[]; }; /** * GBFS Versions Schema V1.1 Interface */ export interface GBFSVersionsV11 { /** Last time the data in the feed was updated in POSIX time. */ last_updated: number; /** Number of seconds before the data in the feed will be updated again. */ ttl: number; /** GBFS version number (1.1). */ version: '1.1'; /** Data containing available feed versions. */ data: { versions: Array<{ version: '1.0' | '1.1' | '2.0' | '2.1' | '2.2' | '2.3' | '3.0'; url: string; }>; }; } //# sourceMappingURL=gbfsVersions.d.ts.map