UNPKG

s2-tools

Version:

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

566 lines 20.3 kB
/** * # GBFS System Pricing Plans V2.3, V2.2, V2.1, OR V2.0 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification V2.3](https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_pricing_plansjson) * - [GBFS Specification V2.2](https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_pricing_plansjson) * - [GBFS Specification V2.1](https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_pricing_plansjson) * - [GBFS Specification V2.0](https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_pricing_plansjson) */ export type GBFSSystemPricingPlansV2 = GBFSSystemPricingPlansV23 | GBFSSystemPricingPlansV22 | GBFSSystemPricingPlansV21 | GBFSSystemPricingPlansV20; /** * # GBFS System Pricing Plans Schema V2.3 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_pricing_plansjson) */ export declare const gbfsSystemPricingPlansSchemaV23: { $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: { plans: { type: string; items: { type: string; properties: { plan_id: { description: string; type: string; }; url: { description: string; type: string; format: string; }; name: { description: string; type: string; }; currency: { description: string; type: string; pattern: string; }; price: { description: string; type: string; minimum: number; }; is_taxable: { description: string; type: string; }; description: { description: string; type: string; }; per_km_pricing: { description: string; type: string; items: { type: string; properties: { start: { description: string; type: string; minimum: number; }; rate: { description: string; type: string; }; interval: { description: string; type: string; minimum: number; }; end: { description: string; type: string; minimum: number; }; }; required: string[]; }; }; per_min_pricing: { description: string; type: string; items: { type: string; properties: { start: { description: string; type: string; minimum: number; }; rate: { description: string; type: string; }; interval: { description: string; type: string; minimum: number; }; end: { description: string; type: string; minimum: number; }; }; required: string[]; }; }; surge_pricing: { description: string; type: string; }; }; required: string[]; }; }; }; required: string[]; }; }; required: string[]; }; /** * # GBFS System Pricing Plans Schema V2.3 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md#system_pricing_plansjson) */ export interface GBFSSystemPricingPlansV23 { last_updated: number; ttl: number; version: '2.3'; data: { plans: Array<{ plan_id: string; url?: string; name: string; currency: string; price: number; is_taxable: boolean; description: string; per_km_pricing?: Array<{ start: number; rate: number; interval: number; end?: number; }>; per_min_pricing?: Array<{ start: number; rate: number; interval: number; end?: number; }>; surge_pricing?: boolean; }>; }; } /** * # GBFS System Pricing Plans Schema V2.2 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_pricing_plansjson) */ export declare const gbfsSystemPricingPlansSchemaV22: { $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: { plans: { type: string; items: { type: string; properties: { plan_id: { description: string; type: string; }; url: { description: string; type: string; format: string; }; name: { description: string; type: string; }; currency: { description: string; type: string; pattern: string; }; price: { description: string; type: string; minimum: number; }; is_taxable: { description: string; type: string; }; description: { description: string; type: string; }; per_km_pricing: { description: string; type: string; items: { type: string; properties: { start: { description: string; type: string; minimum: number; }; rate: { description: string; type: string; }; interval: { description: string; type: string; minimum: number; }; end: { description: string; type: string; minimum: number; }; }; required: string[]; }; }; per_min_pricing: { description: string; type: string; items: { type: string; properties: { start: { description: string; type: string; minimum: number; }; rate: { description: string; type: string; }; interval: { description: string; type: string; minimum: number; }; end: { description: string; type: string; minimum: number; }; }; required: string[]; }; }; surge_pricing: { description: string; type: string; }; }; required: string[]; }; }; }; required: string[]; }; }; required: string[]; }; /** * # GBFS System Pricing Plans Schema V2.2 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.2/gbfs.md#system_pricing_plansjson) */ export interface GBFSSystemPricingPlansV22 { last_updated: number; ttl: number; version: '2.2'; data: { plans: Array<{ plan_id: string; url?: string; name: string; currency: string; price: number; is_taxable: boolean; description: string; per_km_pricing?: Array<{ start: number; rate: number; interval: number; end?: number; }>; per_min_pricing?: Array<{ start: number; rate: number; interval: number; end?: number; }>; surge_pricing?: boolean; }>; }; } /** * # GBFS System Pricing Plans Schema V2.1 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_pricing_plansjson) */ export declare const gbfsSystemPricingPlansSchemaV21: { $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: { plans: { type: string; items: { type: string; properties: { plan_id: { description: string; type: string; }; url: { description: string; type: string; format: string; }; name: { description: string; type: string; }; currency: { description: string; type: string; pattern: string; }; price: { description: string; type: string; minimum: number; }; is_taxable: { description: string; type: string; }; description: { description: string; type: string; }; }; required: string[]; }; }; }; required: string[]; }; }; required: string[]; }; /** * # GBFS System Pricing Plans Schema V2.1 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.1/gbfs.md#system_pricing_plansjson) */ export interface GBFSSystemPricingPlansV21 { last_updated: number; ttl: number; version: '2.1'; data: { plans: Array<{ plan_id: string; url?: string; name: string; currency: string; price: number; is_taxable: boolean; description: string; }>; }; } /** * # GBFS System Pricing Plans Schema V2.0 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_pricing_plansjson) */ export declare const gbfsSystemPricingPlansSchemaV20: { $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: { plans: { type: string; items: { type: string; properties: { plan_id: { description: string; type: string; }; url: { description: string; type: string; format: string; }; name: { description: string; type: string; }; currency: { description: string; type: string; pattern: string; }; price: { description: string; type: string; minimum: number; }; is_taxable: { description: string; type: string; }; description: { description: string; type: string; }; }; required: string[]; }; }; }; required: string[]; }; }; required: string[]; }; /** * # GBFS System Pricing Plans Schema V2.0 * Describes the pricing schemes of the system. * * ## Links * - [GBFS Specification](https://github.com/MobilityData/gbfs/blob/v2.0/gbfs.md#system_pricing_plansjson) */ export interface GBFSSystemPricingPlansV20 { last_updated: number; ttl: number; version: '2.0'; data: { plans: Array<{ plan_id: string; url?: string; name: string; currency: string; price: number; is_taxable: boolean; description: string; }>; }; } //# sourceMappingURL=systemPricingPlans.d.ts.map