---
title: "schemas-PartyAddress"
url: "https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/32819e5a-6411-493b-abe8-00b7c7ca6c77/schemas/schemas-PartyAddress"
---

> Full API specification: https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/32819e5a-6411-493b-abe8-00b7c7ca6c77.md

# schemas-PartyAddress

Party address is only applicable for Purchase workspace and should be provided for Organisation buyer party

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Workspace
  version: v1.3.0
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    schemas-PartyAddress:
      type: object
      description: Party address is only applicable for Purchase workspace and should
        be provided for Organisation buyer party
      required:
        - type
        - details
      properties:
        type:
          type: string
          pattern: ^(REGISTERED_ADDRESS)$
          description: |
            Address Type:
             * `REGISTERED_ADDRESS`
        details:
          type: object
          required:
            - postcode
          properties:
            name:
              maxLength: 50
              minLength: 0
              type: string
              example: 1 The House
            number:
              maxLength: 4
              minLength: 0
              type: string
              example: 123a
            flat:
              maxLength: 30
              minLength: 0
              type: string
              example: Flat 32
            street:
              maxLength: 60
              minLength: 0
              type: string
              example: Huddersfield
            town:
              maxLength: 30
              minLength: 0
              type: string
              example: West Yorkshire
            postcode:
              maxLength: 8
              minLength: 6
              type: string
              example: M16 0RA
              pattern: ^(([Gg][Ii][Rr]
                0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9][A-Za-z]?))))\s[0-9][A-Za-z]{2}))$
```
