components/elements/QuoteList/schema.jsjavascript
/** Content-block contract of the "quoteList" element (pattern: StoryTitle/schema.js). */
export default {
  type: "quoteList",
  region: "content",
  required: ["quotes"],
  properties: {
    quotes: {
      type: "array",
      items: {
        type: "object",
        required: ["headline", "text"],
        additionalProperties: false,
        properties: {
          id: { type: "string" },
          icon: { type: "string", pattern: "^/assets/.+" },
          headline: { type: "string" },
          text: { type: "string" },
        },
      },
    },
  },
};