# Function: placeFields()

```ts
function placeFields(): object;
```

Defined in: [packages/core/src/schemas/fragments.ts:149](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/fragments.ts#L149)

The fields of a place, for a definition that is one. `cells` are the
geohashes of `lat` and `lon` at a few sizes (`cellsOf` in `geo.ts`), for a
topic: a keeper matches them to find places in an area without reading.

## Returns

`object`

### address

```ts
address: object;
```

#### address.properties

```ts
properties: object;
```

#### address.properties.country

```ts
country: object;
```

#### address.properties.country.maxLength

```ts
maxLength: number = max;
```

#### address.properties.country.minLength?

```ts
minLength?: number = min;
```

#### address.properties.country.type

```ts
type: "string";
```

#### address.properties.locality

```ts
locality: object;
```

#### address.properties.locality.maxLength

```ts
maxLength: number = max;
```

#### address.properties.locality.minLength?

```ts
minLength?: number = min;
```

#### address.properties.locality.type

```ts
type: "string";
```

#### address.properties.postcode

```ts
postcode: object;
```

#### address.properties.postcode.maxLength

```ts
maxLength: number = max;
```

#### address.properties.postcode.minLength?

```ts
minLength?: number = min;
```

#### address.properties.postcode.type

```ts
type: "string";
```

#### address.properties.region

```ts
region: object;
```

#### address.properties.region.maxLength

```ts
maxLength: number = max;
```

#### address.properties.region.minLength?

```ts
minLength?: number = min;
```

#### address.properties.region.type

```ts
type: "string";
```

#### address.properties.street

```ts
street: object;
```

#### address.properties.street.maxLength

```ts
maxLength: number = max;
```

#### address.properties.street.minLength?

```ts
minLength?: number = min;
```

#### address.properties.street.type

```ts
type: "string";
```

#### address.type

```ts
type: "object";
```

### cells

```ts
cells: object;
```

#### cells.description

```ts
description: string = 'The geohash cells lat and lon are in, coarsest first: precisions 3, 4, 5 and 6';
```

#### cells.items

```ts
items: object;
```

#### cells.items.maxLength

```ts
maxLength: number = max;
```

#### cells.items.minLength?

```ts
minLength?: number = min;
```

#### cells.items.type

```ts
type: "string";
```

#### cells.maxItems

```ts
maxItems: number = 8;
```

#### cells.type

```ts
type: "array";
```

### lat

```ts
lat: object;
```

#### lat.maximum

```ts
maximum: number = 90;
```

#### lat.minimum

```ts
minimum: number = -90;
```

#### lat.type

```ts
type: "number";
```

### lon

```ts
lon: object;
```

#### lon.maximum

```ts
maximum: number = 180;
```

#### lon.minimum

```ts
minimum: number = -180;
```

#### lon.type

```ts
type: "number";
```

### name

```ts
name: object;
```

#### name.maxLength

```ts
maxLength: number = max;
```

#### name.minLength?

```ts
minLength?: number = min;
```

#### name.type

```ts
type: "string";
```
