Liquid schema
generator.
Writing JSON schema for Shopify sections is tedious. Here is a copy-paste baseline you can use to start any new OS 2.0 section, complete with the required presets object.
UtilityTheme development
TargetOS 2.0 Themes
Basic section scaffold
schema.json
JSON
{% schema %}
{
"name": "Custom section",
"tag": "section",
"class": "custom-section",
"settings": [
{
"type": "text",
"id": "heading",
"label": "Heading",
"default": "Default heading"
},
{
"type": "color",
"id": "bg_color",
"label": "Background color",
"default": "#ffffff"
}
],
"presets": [
{
"name": "Custom section"
}
]
}
{% endschema %}Common Input Types
TypeDescriptionUsage
textSingle line text inputHeadings, button labelsrichtextMulti-line rich text editorParagraphs, descriptionsimage_pickerImage selectorBackgrounds, icons, photosurlURL or internal link pickerButtons, linkscheckboxBoolean toggleEnable/disable featuresselectDropdown listAlignment, styling variantscolorColor pickerText or background colorsrangeNumber sliderPadding, font sizesShopify Custom Work
Need complex sections built?
If you need sections with advanced block logic, dynamic source connections, or intricate schema configurations, we build reliable, merchant-friendly sections.