Column 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 Column object defines how individual columns are structured within rows across builders for emails, pages, and popups. It manages layout weight, background styling, padding, borders, and the content modules it contains. This documentation breaks down the column’s properties, requirements, and usage examples to help you implement and customize columns effectively.
Reference the for more information.
This section summarizes the purpose and key characteristics of the Column object.
Schema Name: Column
Purpose: Defines the layout and styling of a single column within a row, including spacing, background, and the modules it contains.
Mandatory Fields: (None explicitly required in schema)
Related Schemas:
definitions.schema.json
(for padding and border definitions)
simple_row.schema.json
(defines how columns are grouped in rows)
Below is a representative structure of the Column object and a breakdown of each property.
Important: Ensure the sum of each column's weight is equal to 12 for the weight
property. It can't be a different number.
The following table lists the field descriptions along with their corresponding data type, whether or not they are mandatory, and their description.
weight
integer
The weight of the column (1-12)
modules
array
The modules in the column
background-color
string
The background color of the column
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)
border-color
string
The border color of the column
border-width
integer
The border width (0-30)
customFields
object
Custom fields for the column
Reference an example of the schema in the following code snippet.
When working with Column objects in the Beefree SDK:
Responsive Layouts: Use weight
strategically to define flexible multi-column arrangements across devices.
Styling: Combine background, border, and padding settings for visual structure and emphasis.
Extensibility: Use customFields
for non-standard properties.
Yes
Yes
No
No
No
No
No
No
No
No