components/elements/AiObs/schema.jsjavascript
/** Content-block contract of the "aIObs" element (pattern: StoryTitle/schema.js). */
export default {
  type: "aIObs",
  region: "content",
  required: ["picture", "screenshot"],
  properties: {
    screens: { type: "string" },
    picture: { type: "string" },
    screenshot: { type: "string" },
    pictureAddOn: { type: "string" },
    badges: {
      type: "array",
      items: {
        type: "object",
        additionalProperties: false,
        properties: {
          iconLink: { type: "string" },
          text: { type: "string" },
        },
      },
    },
  },
};