s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
292 lines • 9.25 kB
TypeScript
/**
* # GBFS System Information Schema V1.1 OR GBFS System Information Schema V1.0
* Details including system operator, system location, year implemented, URL, contact info, and time zone.
*
* ## Links
* - [GBFS Specification V1.1](https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_informationjson)
* - [GBFS Specification V1.0](https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_informationjson)
*/
export type GBFSSystemInformationV1 = GBFSSystemInformationV11 | GBFSSystemInformationV10;
/**
* # GBFS System Information Schema V1.1
* Details including system operator, system location, year implemented, URL, contact info, and time zone.
*
* ## Links
* - [GBFS Specification V1.1](https://github.com/MobilityData/gbfs/blob/v1.1/gbfs.md#system_informationjson)
*/
export declare const gbfsSystemInformationSchemaV11: {
$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: {
system_id: {
description: string;
type: string;
};
language: {
description: string;
type: string;
pattern: string;
};
name: {
description: string;
type: string;
};
short_name: {
description: string;
type: string;
};
operator: {
description: string;
type: string;
};
url: {
description: string;
type: string;
format: string;
};
purchase_url: {
description: string;
type: string;
format: string;
};
start_date: {
description: string;
type: string;
format: string;
};
phone_number: {
description: string;
type: string;
};
email: {
description: string;
type: string;
format: string;
};
feed_contact_email: {
description: string;
type: string;
format: string;
};
timezone: {
description: string;
type: string;
};
license_url: {
description: string;
type: string;
format: string;
};
rental_apps: {
description: string;
type: string;
properties: {
android: {
description: string;
type: string;
properties: {
store_uri: {
description: string;
type: string;
format: string;
};
discovery_uri: {
description: string;
type: string;
format: string;
};
};
required: string[];
};
ios: {
description: string;
type: string;
properties: {
store_uri: {
description: string;
type: string;
format: string;
};
discovery_uri: {
description: string;
type: string;
format: string;
};
};
required: string[];
};
};
};
};
required: string[];
};
};
required: string[];
};
/**
* GBFS System Information Schema V1.1 Interface
*/
export interface GBFSSystemInformationV11 {
/** 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 system information. */
data: {
system_id: string;
language: string;
name: string;
short_name?: string;
operator?: string;
url?: string;
purchase_url?: string;
start_date?: string;
phone_number?: string;
email?: string;
feed_contact_email?: string;
timezone: string;
license_url?: string;
rental_apps?: {
android?: {
store_uri: string;
discovery_uri: string;
};
ios?: {
store_uri: string;
discovery_uri: string;
};
};
};
}
/**
* # GBFS System Information Schema V1.0
* Details including system operator, system location, year implemented, URL, contact info, and time zone.
*
* ## Links
* - [GBFS Specification V1.0](https://github.com/MobilityData/gbfs/blob/v1.0/gbfs.md#system_informationjson)
*/
export declare const gbfsSystemInformationSchemaV10: {
$schema: string;
$id: string;
description: string;
type: string;
properties: {
last_updated: {
description: string;
type: string;
minimum: number;
maximum: number;
};
ttl: {
description: string;
type: string;
minimum: number;
};
data: {
description: string;
type: string;
properties: {
system_id: {
description: string;
type: string;
};
language: {
description: string;
type: string;
pattern: string;
};
name: {
description: string;
type: string;
};
short_name: {
description: string;
type: string;
};
operator: {
description: string;
type: string;
};
url: {
description: string;
type: string;
};
purchase_url: {
description: string;
type: string;
};
start_date: {
description: string;
type: string;
format: string;
};
phone_number: {
description: string;
type: string;
};
email: {
description: string;
type: string;
};
timezone: {
description: string;
type: string;
};
license_url: {
description: string;
type: string;
};
};
required: string[];
};
};
required: string[];
};
/**
* GBFS System Information Schema V1.0 Interface
*/
export interface GBFSSystemInformationV10 {
/** 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;
/** Data containing system information. */
data: {
system_id: string;
language: string;
name: string;
short_name?: string;
operator?: string;
url?: string;
purchase_url?: string;
start_date?: string;
phone_number?: string;
email?: string;
timezone: string;
license_url?: string;
};
}
//# sourceMappingURL=systemInformation.d.ts.map