{
"type": "object",
"properties": {
"type": {
"const": "H1",
"default": "H1",
"type": "string"
},
"id": {
"type": [
"string",
"null"
],
"default": null,
"description": "HTML id attribute for CSS targeting. Applied to the outermost element."
},
"cssClass": {
"type": [
"string",
"null"
],
"default": null,
"description": "CSS/Tailwind classes for styling. Accepts a Responsive() for breakpoint-aware classes."
},
"content": {
"description": "Text content",
"type": "string"
},
"bold": {
"type": [
"boolean",
"null"
],
"default": null
},
"italic": {
"type": [
"boolean",
"null"
],
"default": null
},
"underline": {
"type": [
"boolean",
"null"
],
"default": null
},
"strikethrough": {
"type": [
"boolean",
"null"
],
"default": null
},
"uppercase": {
"type": [
"boolean",
"null"
],
"default": null
},
"lowercase": {
"type": [
"boolean",
"null"
],
"default": null
},
"code": {
"type": [
"boolean",
"null"
],
"default": null
},
"align": {
"enum": [
"left",
"center",
"right",
"justify"
],
"type": [
"string",
"null"
],
"default": null
}
},
"required": [
"type",
"content"
]
}