HTML 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 HTML Schema enables the inclusion of raw HTML code blocks within email, page, and popup builders. This provides full flexibility for embedding custom markup, third-party widgets, or advanced layouts not covered by predefined content blocks. This documentation breaks down the schema's properties, requirements, and usage examples to help you implement and manage custom HTML inserts effectively.
Reference the for more information.
This section summarizes the purpose and key characteristics of the Simple HTML Schema.
Schema Name: Simple HTML
Purpose: Allows insertion of raw HTML content for full flexibility in layout and functionality.
Mandatory Fields: html
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.
html
string
The HTML content
customFields
object
Custom fields for the HTML
locked
boolean
Whether the module is locked Note: 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 HTML Schema in Beefree SDK:
Use Responsibly: This block is powerful, but bypasses visual editor constraints. Use it for advanced or dynamic scenarios.
Extensibility: Use customFields
for non-standard properties.
No
No
No