components/elements/StoryTitle/schema.jsjavascript
/**
* Content-block contract of the "storyTitle" element: type, default layout
* region and the JSON-schema fragment of its block properties. Pure data -
* imported both by the app registry (elements/registry.js) and by the
* node-side content validation (scripts/validate-content.mjs), so it must
* not import components or styles.
*/
export default {
type: "storyTitle",
region: "storyTitle",
required: ["title"],
properties: {
title: { type: "string" },
background: { type: "string", pattern: "^/assets/.+" },
},
};