ApiSchemasVariables
Variable: place
const place: object & Typed<{
address?: {
country?: string;
locality?: string;
postcode?: string;
region?: string;
street?: string;
};
category?: string;
cells?: readonly string[];
lat?: number;
lon?: number;
name: string;
url?: string;
}>;Defined in: packages/core/src/schemas/library/life.ts:25
A place worth remembering: a café, a campsite, a friend's house.
Type Declaration
description
readonly description: "A place: a name, an address, a point on the map." = 'A place: a name, an address, a point on the map.';name
readonly name: "std.place" = 'std.place';schema
readonly schema: object;schema.properties
readonly properties: object;schema.properties.address
readonly address: object;schema.properties.address.properties
properties: object;schema.properties.address.properties.country
country: object;schema.properties.address.properties.country.maxLength
maxLength: number = max;schema.properties.address.properties.country.minLength?
minLength?: number = min;schema.properties.address.properties.country.type
type: "string";schema.properties.address.properties.locality
locality: object;schema.properties.address.properties.locality.maxLength
maxLength: number = max;schema.properties.address.properties.locality.minLength?
minLength?: number = min;schema.properties.address.properties.locality.type
type: "string";schema.properties.address.properties.postcode
postcode: object;schema.properties.address.properties.postcode.maxLength
maxLength: number = max;schema.properties.address.properties.postcode.minLength?
minLength?: number = min;schema.properties.address.properties.postcode.type
type: "string";schema.properties.address.properties.region
region: object;schema.properties.address.properties.region.maxLength
maxLength: number = max;schema.properties.address.properties.region.minLength?
minLength?: number = min;schema.properties.address.properties.region.type
type: "string";schema.properties.address.properties.street
street: object;schema.properties.address.properties.street.maxLength
maxLength: number = max;schema.properties.address.properties.street.minLength?
minLength?: number = min;schema.properties.address.properties.street.type
type: "string";schema.properties.address.type
type: "object";schema.properties.category
readonly category: object;schema.properties.category.maxLength
maxLength: number = max;schema.properties.category.minLength?
minLength?: number = min;schema.properties.category.type
type: "string";schema.properties.cells
readonly cells: object;schema.properties.cells.description
description: string = 'The geohash cells lat and lon are in, coarsest first: precisions 3, 4, 5 and 6';schema.properties.cells.items
items: object;schema.properties.cells.items.maxLength
maxLength: number = max;schema.properties.cells.items.minLength?
minLength?: number = min;schema.properties.cells.items.type
type: "string";schema.properties.cells.maxItems
maxItems: number = 8;schema.properties.cells.type
type: "array";schema.properties.lat
readonly lat: object;schema.properties.lat.maximum
maximum: number = 90;schema.properties.lat.minimum
minimum: number = -90;schema.properties.lat.type
type: "number";schema.properties.lon
readonly lon: object;schema.properties.lon.maximum
maximum: number = 180;schema.properties.lon.minimum
minimum: number = -180;schema.properties.lon.type
type: "number";schema.properties.name
readonly name: object;schema.properties.name.maxLength
maxLength: number = max;schema.properties.name.minLength?
minLength?: number = min;schema.properties.name.type
type: "string";schema.properties.url
readonly url: object & object;Type Declaration
maxLength
maxLength: number = max;minLength?
minLength?: number = min;type
type: "string";x-kind
readonly "x-kind": "url";schema.required
readonly required: readonly ["name"];schema.type
readonly type: "object" = 'object';title
readonly title: "Place" = 'Place';topics
readonly topics: readonly ["cells"];