TitlePropertySpec

Represents a title property specification in a Notion database. This is a special property type that is required for every database and serves as the primary identifier for each page.

Title properties have the following characteristics:

  • Every database must have exactly one title property

  • The title property cannot be deleted or converted to another type

  • Title values can contain rich text with formatting and mentions

  • Title values are used as the page name in the Notion interface

  • Title values are used as the default sort order in database views

See also

Properties

Link copied to clipboard
abstract val id: String

The ID of the property, usually a short string of random letters and symbols. Some automatically generated property types have special human-readable IDs. For example, all Title properties have an ID of title.

Link copied to clipboard
abstract val name: String

The name of the property as it appears in Notion.