---
title: "Lease data model"
url: "https://docs.unified.to/property/lease/model"
description: "The Lease data model object in Unified's Lease API: 20 fields, including created_at, updated_at and building_id, with types and enum values."
date: "2026-11-30T21:28:45.423Z"
updated: "2026-11-30T21:28:45.423Z"
---
# Lease data model

Updated: November 30, 2026

 View field support, webhooks, and list parameters for each integration on the [Supported Integrations](https://docs.unified.to/property/integrations.md) page. 

| Field                    | Type                 | Required | Description                                                                                                                                                  |
| ------------------------ | -------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| id                       | string               | No       | unique identifier for the lease                                                                                                                              |
| created\_at              | string (date-time)   | No       | when the lease was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                          |
| updated\_at              | string (date-time)   | No       | when the lease was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                     |
| building\_id             | string               | No       | pointer to the Property Building                                                                                                                             |
| unit\_id                 | string               | No       | pointer to the Property Unit                                                                                                                                 |
| resident\_ids            | string\[\]           | No       | Property Residents on this lease                                                                                                                             |
| status                   | enum                 | No       | the lease status Values: PENDING, FUTURE, ACTIVE, NOTICE, EXPIRED, TERMINATED, CANCELLED, OTHER                                                              |
| is\_month\_to\_month     | boolean              | No       | whether the lease is month-to-month                                                                                                                          |
| start\_at                | string (date-time)   | No       | the start of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                         |
| end\_at                  | string (date-time)   | No       | the end of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                           |
| move\_in\_at             | string (date-time)   | No       | the move-in date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                                    |
| move\_out\_at            | string (date-time)   | No       | the move-out date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                                   |
| notice\_at               | string (date-time)   | No       | when notice to vacate was given (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                     |
| signed\_at               | string (date-time)   | No       | when the lease was signed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                           |
| currency                 | string               | No       | ISO 4217 currency code                                                                                                                                       |
| rent\_amount             | number               | No       | the recurring rent per period                                                                                                                                |
| deposit\_amount          | number               | No       | the security deposit                                                                                                                                         |
| balance\_amount          | number               | No       | the lease ledger balance                                                                                                                                     |
| notes                    | string               | No       | free-text notes about the lease                                                                                                                              |
| metadata                 | PropertyMetadata\[\] | No       | custom field values                                                                                                                                          |
| metadata\[\].id          | string               | No       | the custom field identifier                                                                                                                                  |
| metadata\[\].slug        | string               | No       | the custom field key                                                                                                                                         |
| metadata\[\].value       | object               | No       | the custom field value                                                                                                                                       |
| metadata\[\].namespace   | string               | No       | the scope or origin of the custom field                                                                                                                      |
| metadata\[\].format      | enum                 | No       | the data type of the value Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE\_SELECT, MULTIPLE\_SELECT, MEASUREMENT, PRICE, YES\_NO, CURRENCY, URL |
| metadata\[\].extra\_data | object               | No       | additional data about the custom field                                                                                                                       |

## TypeScript

```typescript
export type PropertyLease = {
	id?: string; // unique identifier for the lease
	created_at?: string-time; // when the lease was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // when the lease was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	building_id?: string; // pointer to the Property Building
	unit_id?: string; // pointer to the Property Unit
	resident_ids?: string[]; // Property Residents on this lease
	status?: 'PENDING' | 'FUTURE' | 'ACTIVE' | 'NOTICE' | 'EXPIRED' | 'TERMINATED' | 'CANCELLED' | 'OTHER'; // the lease status
	is_month_to_month?: boolean; // whether the lease is month-to-month
	start_at?: string-time; // the start of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	end_at?: string-time; // the end of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	move_in_at?: string-time; // the move-in date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	move_out_at?: string-time; // the move-out date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	notice_at?: string-time; // when notice to vacate was given (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	signed_at?: string-time; // when the lease was signed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	currency?: string; // ISO 4217 currency code
	rent_amount?: number; // the recurring rent per period
	deposit_amount?: number; // the security deposit
	balance_amount?: number; // the lease ledger balance
	notes?: string; // free-text notes about the lease
	metadata?: []; // custom field values
	raw?: any; // raw data from the integration
} 
```

## Zod

```typescript
import { z } from 'zod';

export const ZodPropertyLease = z.object({
	id: z.string().optional().describe("unique identifier for the lease"),
	created_at: z.string-time().optional().describe("when the lease was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("when the lease was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	building_id: z.string().optional().describe("pointer to the Property Building"),
	unit_id: z.string().optional().describe("pointer to the Property Unit"),
	resident_ids: z.array().optional().describe("Property Residents on this lease"),
	status: z.enum("PENDING", "FUTURE", "ACTIVE", "NOTICE", "EXPIRED", "TERMINATED", "CANCELLED", "OTHER").optional().describe("the lease status"),
	is_month_to_month: z.boolean().optional().describe("whether the lease is month-to-month"),
	start_at: z.string-time().optional().describe("the start of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	end_at: z.string-time().optional().describe("the end of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	move_in_at: z.string-time().optional().describe("the move-in date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	move_out_at: z.string-time().optional().describe("the move-out date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	notice_at: z.string-time().optional().describe("when notice to vacate was given (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	signed_at: z.string-time().optional().describe("when the lease was signed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	currency: z.string().optional().describe("ISO 4217 currency code"),
	rent_amount: z.number().optional().describe("the recurring rent per period"),
	deposit_amount: z.number().optional().describe("the security deposit"),
	balance_amount: z.number().optional().describe("the lease ledger balance"),
	notes: z.string().optional().describe("free-text notes about the lease"),
	metadata: z.array().optional().describe("custom field values"),

});
```

## Python

```python
import dataclasses

@dataclasses.dataclass
class PropertyLeaseStatus(str, Enum):
	PENDING = 'PENDING'
	FUTURE = 'FUTURE'
	ACTIVE = 'ACTIVE'
	NOTICE = 'NOTICE'
	EXPIRED = 'EXPIRED'
	TERMINATED = 'TERMINATED'
	CANCELLED = 'CANCELLED'
	OTHER = 'OTHER'

@dataclasses.dataclass
class PropertyLease:
	"""unique identifier for the lease"""
	id: Optional[str]
	"""when the lease was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""when the lease was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""pointer to the Property Building"""
	building_id: Optional[str]
	"""pointer to the Property Unit"""
	unit_id: Optional[str]
	"""Property Residents on this lease"""
	resident_ids: Optional[List[List[str]]]
	"""the lease status"""
	status: Optional[PropertyLeaseStatus]
	"""whether the lease is month-to-month"""
	is_month_to_month: Optional[bool]
	"""the start of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	start_at: Optional[str]
	"""the end of the lease term (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	end_at: Optional[str]
	"""the move-in date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	move_in_at: Optional[str]
	"""the move-out date (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	move_out_at: Optional[str]
	"""when notice to vacate was given (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	notice_at: Optional[str]
	"""when the lease was signed (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	signed_at: Optional[str]
	"""ISO 4217 currency code"""
	currency: Optional[str]
	"""the recurring rent per period"""
	rent_amount: Optional[int]
	"""the security deposit"""
	deposit_amount: Optional[int]
	"""the lease ledger balance"""
	balance_amount: Optional[int]
	"""free-text notes about the lease"""
	notes: Optional[str]
	"""custom field values"""
	metadata: Optional[PropertyPropertyLeaseMetadata]

```
