---
title: "Building data model"
url: "https://docs.unified.to/property/building/model"
description: "The Building data model object in Unified's Building API: 18 fields, including created_at, updated_at and name, with types and enum values."
date: "2026-11-30T21:28:45.423Z"
updated: "2026-11-30T21:28:45.423Z"
---
# Building 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 building                                                                                                                           |
| created\_at              | string (date-time)    | No       | when the building was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                       |
| updated\_at              | string (date-time)    | No       | when the building was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)                                                                                  |
| name                     | string                | No       | the building or community name                                                                                                                               |
| description              | string                | No       | free-text description of the building                                                                                                                        |
| type                     | enum                  | No       | the normalized building type Values: MULTIFAMILY, SINGLE\_FAMILY, CONDO, TOWNHOUSE, STUDENT, SENIOR, AFFORDABLE, COMMERCIAL, MIXED\_USE, OTHER               |
| is\_active               | boolean               | No       | whether the building is active                                                                                                                               |
| address                  | object                | No       | postal address of the building                                                                                                                               |
| address.address1         | string                | No       | first line of the street address                                                                                                                             |
| address.address2         | string                | No       | second line of the street address                                                                                                                            |
| address.city             | string                | No       | city or locality                                                                                                                                             |
| address.region           | string                | No       | state, province or regional area                                                                                                                             |
| address.region\_code     | string                | No       | state, province or regional area code                                                                                                                        |
| address.postal\_code     | string                | No       | postal or ZIP code                                                                                                                                           |
| address.country          | string                | No       | country name                                                                                                                                                 |
| address.country\_code    | string                | No       | ISO 3166-1 alpha-2 country code                                                                                                                              |
| latitude                 | number                | No       | latitude of the building                                                                                                                                     |
| longitude                | number                | No       | longitude of the building                                                                                                                                    |
| timezone                 | string                | No       | IANA time zone of the building                                                                                                                               |
| unit\_count              | number                | No       | number of units in the building                                                                                                                              |
| year\_built              | number                | No       | the year the building was built                                                                                                                              |
| emails                   | PropertyEmail\[\]     | No       | email addresses of the building office                                                                                                                       |
| emails\[\].email         | string                | Yes      | the email address                                                                                                                                            |
| emails\[\].type          | enum                  | No       | the kind of email address Values: WORK, HOME, OTHER                                                                                                          |
| telephones               | PropertyTelephone\[\] | No       | telephone numbers of the building office                                                                                                                     |
| telephones\[\].telephone | string                | Yes      | the telephone number                                                                                                                                         |
| telephones\[\].type      | enum                  | No       | the kind of telephone number Values: WORK, HOME, MOBILE, FAX, OTHER                                                                                          |
| image\_urls              | string\[\]            | No       | URLs of the building pictures                                                                                                                                |
| web\_url                 | string                | No       | the building website URL                                                                                                                                     |
| 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 PropertyBuilding = {
	id?: string; // unique identifier for the building
	created_at?: string-time; // when the building was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	updated_at?: string-time; // when the building was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
	name?: string; // the building or community name
	description?: string; // free-text description of the building
	type?: 'MULTIFAMILY' | 'SINGLE_FAMILY' | 'CONDO' | 'TOWNHOUSE' | 'STUDENT' | 'SENIOR' | 'AFFORDABLE' | 'COMMERCIAL' | 'MIXED_USE' | 'OTHER'; // the normalized building type
	is_active?: boolean; // whether the building is active
	address?: {
		address1?: string; // first line of the street address 
		address2?: string; // second line of the street address 
		city?: string; // city or locality 
		region?: string; // state, province or regional area 
		region_code?: string; // state, province or regional area code 
		postal_code?: string; // postal or ZIP code 
		country?: string; // country name 
		country_code?: string; // ISO 3166-1 alpha-2 country code 
	}; // postal address of the building
	latitude?: number; // latitude of the building
	longitude?: number; // longitude of the building
	timezone?: string; // IANA time zone of the building
	unit_count?: number; // number of units in the building
	year_built?: number; // the year the building was built
	emails?: []; // email addresses of the building office
	telephones?: []; // telephone numbers of the building office
	image_urls?: string[]; // URLs of the building pictures
	web_url?: string; // the building website URL
	metadata?: []; // custom field values
	raw?: any; // raw data from the integration
} 
```

## Zod

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

export const ZodPropertyBuilding = z.object({
	id: z.string().optional().describe("unique identifier for the building"),
	created_at: z.string-time().optional().describe("when the building was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	updated_at: z.string-time().optional().describe("when the building was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"),
	name: z.string().optional().describe("the building or community name"),
	description: z.string().optional().describe("free-text description of the building"),
	type: z.enum("MULTIFAMILY", "SINGLE_FAMILY", "CONDO", "TOWNHOUSE", "STUDENT", "SENIOR", "AFFORDABLE", "COMMERCIAL", "MIXED_USE", "OTHER").optional().describe("the normalized building type"),
	is_active: z.boolean().optional().describe("whether the building is active"),
	address: z.object({
			address1: z.string().optional().describe("first line of the street address"),
			address2: z.string().optional().describe("second line of the street address"),
			city: z.string().optional().describe("city or locality"),
			region: z.string().optional().describe("state, province or regional area"),
			region_code: z.string().optional().describe("state, province or regional area code"),
			postal_code: z.string().optional().describe("postal or ZIP code"),
			country: z.string().optional().describe("country name"),
			country_code: z.string().optional().describe("ISO 3166-1 alpha-2 country code")
}).optional().describe("postal address of the building"),
	latitude: z.number().optional().describe("latitude of the building"),
	longitude: z.number().optional().describe("longitude of the building"),
	timezone: z.string().optional().describe("IANA time zone of the building"),
	unit_count: z.number().optional().describe("number of units in the building"),
	year_built: z.number().optional().describe("the year the building was built"),
	emails: z.array().optional().describe("email addresses of the building office"),
	telephones: z.array().optional().describe("telephone numbers of the building office"),
	image_urls: z.array().optional().describe("URLs of the building pictures"),
	web_url: z.string().optional().describe("the building website URL"),
	metadata: z.array().optional().describe("custom field values"),

});
```

## Python

```python
import dataclasses

@dataclasses.dataclass
class PropertyBuildingType(str, Enum):
	MULTIFAMILY = 'MULTIFAMILY'
	SINGLE_FAMILY = 'SINGLE_FAMILY'
	CONDO = 'CONDO'
	TOWNHOUSE = 'TOWNHOUSE'
	STUDENT = 'STUDENT'
	SENIOR = 'SENIOR'
	AFFORDABLE = 'AFFORDABLE'
	COMMERCIAL = 'COMMERCIAL'
	MIXED_USE = 'MIXED_USE'
	OTHER = 'OTHER'

@dataclasses.dataclass
class PropertyPropertyBuildingAddress:
	"""first line of the street address"""
	address1: Optional[str]
	"""second line of the street address"""
	address2: Optional[str]
	"""city or locality"""
	city: Optional[str]
	"""state, province or regional area"""
	region: Optional[str]
	"""state, province or regional area code"""
	region_code: Optional[str]
	"""postal or ZIP code"""
	postal_code: Optional[str]
	"""country name"""
	country: Optional[str]
	"""ISO 3166-1 alpha-2 country code"""
	country_code: Optional[str]

@dataclasses.dataclass
class PropertyBuilding:
	"""unique identifier for the building"""
	id: Optional[str]
	"""when the building was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	created_at: Optional[str]
	"""when the building was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"""
	updated_at: Optional[str]
	"""the building or community name"""
	name: Optional[str]
	"""free-text description of the building"""
	description: Optional[str]
	"""the normalized building type"""
	type: Optional[PropertyBuildingType]
	"""whether the building is active"""
	is_active: Optional[bool]
	"""postal address of the building"""
	address: Optional[PropertyPropertyBuildingAddress]
	"""latitude of the building"""
	latitude: Optional[int]
	"""longitude of the building"""
	longitude: Optional[int]
	"""IANA time zone of the building"""
	timezone: Optional[str]
	"""number of units in the building"""
	unit_count: Optional[int]
	"""the year the building was built"""
	year_built: Optional[int]
	"""email addresses of the building office"""
	emails: Optional[PropertyPropertyBuildingEmails]
	"""telephone numbers of the building office"""
	telephones: Optional[PropertyPropertyBuildingTelephones]
	"""URLs of the building pictures"""
	image_urls: Optional[List[List[str]]]
	"""the building website URL"""
	web_url: Optional[str]
	"""custom field values"""
	metadata: Optional[PropertyPropertyBuildingMetadata]

```
