Files
ipal-kit/test/block-library.schema.json
Radosław SmolińskiandClaude Opus 5.5 29ede3ad4b Block library: fixes from the first visual test on the reference site
- CMSLink: a link that wraps content (a logo, a card) and leads nowhere keeps the
  content — an empty link group ({ type: 'internal' }) no longer hides logos
- entryList: field `collection` → `entryCollection` (Mongoose reserves
  `collection`; unreleased, snapshot updated) + a test against reserved names
- post template starts with a page hero holding the title (the page's h1)
- legal and cookie policy templates set noindex: true (AGENT.md §0c)
- hero background: a full bg-overlay scrim under the text
- MediaValue accepts any object (generated Media types fit without a cast)
- contact: Turnstile renders dark in an inverted section

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 15:03:39 +01:00

1394 lines
26 KiB
JSON

{
"hero": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"media": {
"type": "upload",
"options": [
"media"
]
},
"poster": {
"type": "upload",
"options": [
"media"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"split",
"background",
"centered",
"page"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "HeroBlock"
},
"textMedia": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"content": {
"type": "richText"
},
"media": {
"type": "upload",
"options": [
"media"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"mediaRight",
"mediaLeft"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "TextMediaBlock"
},
"featureGrid": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].media": {
"type": "upload",
"options": [
"media"
]
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].text": {
"type": "textarea"
},
"items[].link": {
"type": "group"
},
"items[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"items[].link.newTab": {
"type": "checkbox"
},
"items[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"items[].link.url": {
"type": "text"
},
"items[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"items[].link.label": {
"type": "text"
},
"columns": {
"type": "select",
"options": [
"two",
"three",
"four"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"cards",
"list",
"numbered"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "FeatureGridBlock"
},
"cta": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"media": {
"type": "upload",
"options": [
"media"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"band",
"card",
"split"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "CtaBlock"
},
"richText": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"content": {
"type": "richText",
"required": true
},
"tableOfContents": {
"type": "group"
},
"tableOfContents.show": {
"type": "checkbox"
},
"tableOfContents.label": {
"type": "text"
},
"variant": {
"type": "select",
"options": [
"narrow",
"wide"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "RichTextBlock"
},
"faq": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].question": {
"type": "text",
"required": true
},
"items[].answer": {
"type": "textarea",
"required": true
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"single",
"twoColumn"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "FaqBlock"
},
"contact": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"form": {
"type": "relationship",
"required": true,
"options": [
"forms"
]
},
"content": {
"type": "richText"
},
"variant": {
"type": "select",
"options": [
"formWithDetails",
"formOnly"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "ContactBlock"
},
"gallery": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].media": {
"type": "upload",
"required": true,
"options": [
"media"
]
},
"items[].caption": {
"type": "text"
},
"columns": {
"type": "select",
"options": [
"two",
"three",
"four"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"grid",
"masonry"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "GalleryBlock"
},
"testimonials": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"source": {
"type": "radio",
"options": [
"inline",
"collection"
]
},
"items": {
"type": "array"
},
"items[].quote": {
"type": "textarea",
"required": true
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].text": {
"type": "text"
},
"items[].media": {
"type": "upload",
"options": [
"media"
]
},
"items[].rating": {
"type": "number"
},
"entries": {
"type": "relationship",
"options": [
"testimonials"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"grid",
"single"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "TestimonialsBlock"
},
"stats": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].value": {
"type": "text",
"required": true
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].text": {
"type": "textarea"
},
"variant": {
"type": "select",
"options": [
"row",
"cards"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "StatsBlock"
},
"steps": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].text": {
"type": "textarea"
},
"items[].media": {
"type": "upload",
"options": [
"media"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"numbered",
"timeline"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "StepsBlock"
},
"logos": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].media": {
"type": "upload",
"required": true,
"options": [
"media"
]
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].link": {
"type": "group"
},
"items[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"items[].link.newTab": {
"type": "checkbox"
},
"items[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"items[].link.url": {
"type": "text"
},
"items[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"variant": {
"type": "select",
"options": [
"row",
"grid"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "LogosBlock"
},
"team": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].media": {
"type": "upload",
"options": [
"media"
]
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].text": {
"type": "text"
},
"items[].bio": {
"type": "textarea"
},
"items[].link": {
"type": "group"
},
"items[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"items[].link.newTab": {
"type": "checkbox"
},
"items[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"items[].link.url": {
"type": "text"
},
"items[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"items[].link.label": {
"type": "text"
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"grid",
"list"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "TeamBlock"
},
"pricing": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"items": {
"type": "array"
},
"items[].heading": {
"type": "text",
"required": true
},
"items[].price": {
"type": "text",
"required": true
},
"items[].period": {
"type": "text"
},
"items[].text": {
"type": "textarea"
},
"items[].features": {
"type": "array"
},
"items[].features[].text": {
"type": "text",
"required": true
},
"items[].highlighted": {
"type": "checkbox"
},
"items[].link": {
"type": "group"
},
"items[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"items[].link.newTab": {
"type": "checkbox"
},
"items[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"items[].link.url": {
"type": "text"
},
"items[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"items[].link.label": {
"type": "text"
},
"items[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"highlightLabel": {
"type": "text"
},
"note": {
"type": "textarea"
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "PricingBlock"
},
"entryList": {
"fields": {
"header": {
"type": "group"
},
"header.eyebrow": {
"type": "text"
},
"header.heading": {
"type": "text"
},
"header.intro": {
"type": "textarea"
},
"entryCollection": {
"type": "select",
"required": true,
"options": [
"posts"
]
},
"mode": {
"type": "radio",
"options": [
"latest",
"selected"
]
},
"limit": {
"type": "number"
},
"entries": {
"type": "relationship",
"options": [
"posts"
]
},
"links": {
"type": "array"
},
"links[].link": {
"type": "group"
},
"links[].link.type": {
"type": "radio",
"options": [
"internal",
"external",
"file"
]
},
"links[].link.newTab": {
"type": "checkbox"
},
"links[].link.page": {
"type": "relationship",
"options": [
"pages"
]
},
"links[].link.url": {
"type": "text"
},
"links[].link.file": {
"type": "upload",
"options": [
"media"
]
},
"links[].link.label": {
"type": "text"
},
"links[].link.appearance": {
"type": "select",
"options": [
"primary",
"secondary",
"link"
]
},
"variant": {
"type": "select",
"options": [
"cards",
"list"
]
},
"settings": {
"type": "group"
},
"settings.anchor": {
"type": "text"
},
"settings.background": {
"type": "select",
"options": [
"default",
"muted",
"inverted"
]
}
},
"interfaceName": "EntryListBlock"
}
}