# Function: address()

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

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

A postal address, in JSContact's parts

## Returns

`object`

### properties

```ts
properties: object;
```

#### properties.country

```ts
country: object;
```

#### properties.country.maxLength

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

#### properties.country.minLength?

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

#### properties.country.type

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

#### properties.locality

```ts
locality: object;
```

#### properties.locality.maxLength

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

#### properties.locality.minLength?

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

#### properties.locality.type

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

#### properties.postcode

```ts
postcode: object;
```

#### properties.postcode.maxLength

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

#### properties.postcode.minLength?

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

#### properties.postcode.type

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

#### properties.region

```ts
region: object;
```

#### properties.region.maxLength

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

#### properties.region.minLength?

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

#### properties.region.type

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

#### properties.street

```ts
street: object;
```

#### properties.street.maxLength

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

#### properties.street.minLength?

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

#### properties.street.type

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

### type

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