{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Lookbook",
  "description": "Grid of duotone look frames for a drop — numbered, captioned, optionally shoppable.",
  "type": "object",
  "properties": {
    "heading": {
      "type": "string",
      "title": "Heading",
      "description": "Section headline.",
      "x-editor": "text"
    },
    "intro": {
      "type": "string",
      "title": "Intro",
      "description": "Optional standfirst line.",
      "x-editor": "textarea"
    },
    "looks": {
      "type": "array",
      "title": "Looks",
      "description": "The lookbook frames.",
      "default": [],
      "x-editor": "array",
      "items": {
        "type": "object",
        "properties": {
          "image": { "type": "string", "title": "Image", "description": "Look photo.", "x-editor": "media" },
          "caption": { "type": "string", "title": "Caption", "description": "Look name / description.", "x-editor": "text" },
          "credit": { "type": "string", "title": "Credit", "description": "Optional credit line (model, photographer).", "x-editor": "text" },
          "link": { "type": "string", "title": "Shop Link", "description": "Optional link to the product.", "x-editor": "link" },
          "linkLabel": { "type": "string", "title": "Link Label", "description": "Shop link label.", "x-editor": "text", "default": "Shop the look" }
        }
      }
    }
  }
}
