Title Schema
Last updated
Was this helpful?
Last updated
Was this helpful?
Schemas are structured definitions that describe the format, rules, and relationships of data within a system. They ensure consistency and validate inputs. In Beefree SDK, the Simple Title Schema defines how titles (headings) are represented within builders for emails, pages, and popups. It manages styling, typography, alignment, and responsive behavior. This documentation breaks down the schema's properties, requirements, and usage examples to help you implement and extend title blocks effectively.
Reference the for more information.
This section summarizes the purpose and key characteristics of the Simple Title Schema.
Schema Name: Simple Title
Purpose: Defines title elements (e.g., headings) with formatting options like bold, underline, alignment, and spacing.
Related Schemas:
definitions.schema.json
(for padding definitions)
Below is the JSON Schema definition and a detailed breakdown of each property.
The following table lists the field descriptions along with their corresponding data type, whether or not they are mandatory, and their description.
text
string
The text content of the title
html
deprecated (use text)
string
The text content of the title
underline
boolean
Whether the text is underlined
italic
boolean
Whether the text is italicized
bold
boolean
Whether the text is bold
align
enum
The alignment of the text
title
enum
The title level (h1, h2, h3)
size
integer
The size of the text (minimum 1)
color
string
The color of the text
linkColor
string
The color of the links
letter-spacing
integer
The letter spacing (-99 to 99)
line-height
number
The line height (0.5 to 3)
direction
enum
The text direction (ltr, rtl)
padding-top
integer
The top padding (0-60)
padding-right
integer
The right padding (0-60)
padding-bottom
integer
The bottom padding (0-60)
padding-left
integer
The left padding (0-60)
customFields
object
Custom fields
locked
boolean
Whether the module is locked. Note: This is not available for Single Content AddOn.
Reference an example of the schema in the following code snippet.
Consider the following when working with the Simple Title Schema in Beefree SDK:
Extensibility: Use customFields
for non-standard properties.
Responsiveness: Text alignment and direction settings help support responsive, multilingual layouts.
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No