Skip to main content
Metadata that controls how a database property behaves.

Database properties

Each database property schema object has at least one key which is the property type. This type contains behavior of this property. Possible values of this key are "title", "rich_text", "number", "select", "multi_select", "status", "date", "people", "files", "checkbox", "url", "email", "phone_number", "formula", "relation", "rollup", "created_time", "created_by", "last_edited_time", "last_edited_by".

Title configuration

Each database must have exactly one database property schema object of type "title". This database property controls the title that appears at the top of the page when the page is opened. Title database property objects have no additional configuration within the title property.

Text configuration

Text database property schema objects have no additional configuration within the rich_text property.

Number configuration

Number database property schema objects optionally contain the following configuration within the number property.

Select configuration

Select database property schema objects optionally contain the following configuration within the select property:

Select options

Multi-select configuration

Multi-select database property schema objects optionally contain the following configuration within the multi_select property:

Multi-select options

Status configuration

Status database property schema objects optionally contain the following configuration within the status property:

Status options

When creating a status property, three groups (“To-do”, “In progress”, “Complete”) are always created. The group field assigns custom options to one of those groups. To rename, reorder, or otherwise reconfigure groups, use the Notion UI.

Date configuration

Date database property schema objects have no additional configuration within the date property.

People configuration

People database property schema objects have no additional configuration within the people property.

File configuration

File database property schema objects have no additional configuration within the file property.

Checkbox configuration

Checkbox database property schema objects have no additional configuration within the checkbox property.

URL configuration

URL database property schema objects have no additional configuration within the url property.

Email configuration

Email database property schema objects have no additional configuration within the email property.

Phone number configuration

Phone number database property schema objects have no additional configuration within the phone_number property.

Formula configuration

Formula database property schema objects contain the following configuration within the formula property:

Relation configuration

Relation database property objects contain the following configuration within the relation property. In addition, they must contain a key corresponding with the value of type. The value is an object containing type-specific configuration. The type-specific configurations are defined below.

Single property relation configuration

Single property relation objects have no additional configuration within the single_property property.

Dual property relation configuration

Dual property relation objects have no additional configuration within the dual_property property.

Rollup configuration

Rollup database property objects contain the following configuration within the rollup property:

Created time configuration

Created time database property schema objects have no additional configuration within the created_time property.

Created by configuration

Created by database property schema objects have no additional configuration within the created_by property.

Last edited time configuration

Last edited time database property schema objects have no additional configuration within the last_edited_time property.

Last edited by configuration

Last edited by database property schema objects have no additional configuration within the last_edited_by property.