---
title: "IndividualDetails"
url: "https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/f42817f3-815f-4a74-8ba5-2f83efd8ab42/schemas/IndividualDetails"
---

> Full API specification: https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/f42817f3-815f-4a74-8ba5-2f83efd8ab42.md

# IndividualDetails

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Workspace
  version: v1
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    IndividualDetails:
      type: object
      required:
        - type
        - partyDetails
      allOf:
        - type: object
          discriminator:
            propertyName: type
            mapping:
              INDIVIDUAL: "#/components/schemas/IndividualDetails"
              ORGANISATION: "#/components/schemas/OrganisationDetails"
          properties:
            role:
              type: string
              pattern: ^(BORROWER|BUYER)$
              description: >
                Party Role: Allowed values are BUYER for purchase workspace and
                BORROWER for remortgage workspace
                 * `BORROWER`
                 * `BUYER`
          required:
            - role
      properties:
        type:
          type: string
          pattern: ^(INDIVIDUAL)$
          description: |
            Party Type:
             * `INDIVIDUAL`
        partyDetails:
          type: object
          required:
            - forenames
            - surname
          properties:
            forenames:
              maxLength: 90
              minLength: 1
              type: string
              example: James Thomas
              pattern: ^[A-Za-z][A-Za-z\- ']*$
            surname:
              maxLength: 50
              minLength: 1
              type: string
              example: Smith
              pattern: ^[A-Za-z][A-Za-z\- ']*$
```
