{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Starten Page Builder Page 4.1",
  "type": "object",
  "required": [
    "title",
    "slug",
    "blocks"
  ],
  "properties": {
    "builder": {
      "const": "startenbuilder"
    },
    "builder_version": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "status": {
      "enum": [
        "draft",
        "published",
        "scheduled"
      ]
    },
    "page_type": {
      "enum": [
        "standard",
        "landing",
        "local"
      ]
    },
    "menu_id": {
      "type": "string"
    },
    "footer_id": {
      "type": "string"
    },
    "seo_title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "canonical_url": {
      "type": "string"
    },
    "og_title": {
      "type": "string"
    },
    "og_description": {
      "type": "string"
    },
    "og_image": {
      "type": "string"
    },
    "schema_type": {
      "enum": [
        "auto",
        "WebPage",
        "AboutPage",
        "ContactPage",
        "Service",
        "LocalBusiness"
      ]
    },
    "primary_keyword": {
      "type": "string"
    },
    "target_city": {
      "type": "string"
    },
    "target_region": {
      "type": "string"
    },
    "robots": {
      "enum": [
        "index,follow",
        "noindex,follow"
      ]
    },
    "blocks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/block"
      }
    }
  },
  "$defs": {
    "style": {
      "type": "object",
      "properties": {
        "background": {
          "enum": [
            "inherit",
            "light",
            "dark",
            "sand",
            "white",
            "transparent"
          ]
        },
        "text_color": {
          "enum": [
            "inherit",
            "dark",
            "light",
            "gold"
          ]
        },
        "align": {
          "enum": [
            "left",
            "center",
            "right"
          ]
        },
        "width": {
          "enum": [
            "narrow",
            "normal",
            "wide",
            "full"
          ]
        },
        "background_image": {
          "type": "string"
        },
        "background_color": {
          "type": "string"
        },
        "background_gradient_from": {
          "type": "string"
        },
        "background_gradient_to": {
          "type": "string"
        },
        "background_overlay": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "padding_top": {
          "type": "integer"
        },
        "padding_right": {
          "type": "integer"
        },
        "padding_bottom": {
          "type": "integer"
        },
        "padding_left": {
          "type": "integer"
        },
        "margin_top": {
          "type": "integer"
        },
        "margin_bottom": {
          "type": "integer"
        }
      }
    },
    "block": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "enum": [
            "container",
            "hero",
            "text",
            "text_image",
            "image",
            "video",
            "button",
            "cards",
            "stats",
            "logos",
            "testimonial",
            "pricing",
            "faq",
            "cta",
            "form",
            "whatsapp",
            "insights",
            "divider",
            "spacer"
          ]
        },
        "enabled": {
          "type": "boolean"
        },
        "style": {
          "$ref": "#/$defs/style"
        },
        "responsive": {
          "type": "object"
        },
        "columns": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "width": {
                "type": "number"
              },
              "blocks": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/block"
                }
              }
            }
          }
        }
      },
      "additionalProperties": true
    }
  },
  "version": "4.1.1"
}