{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Events Marquee",
  "description": "Letterboxed line-up of nights and residencies.",
  "type": "object",
  "properties": {
    "eyebrow": {
      "type": "string",
      "title": "Eyebrow",
      "x-editor": "text",
      "default": "The programme"
    },
    "title": {
      "type": "string",
      "title": "Section title",
      "x-editor": "text",
      "default": "Tonight and after"
    },
    "events": {
      "type": "array",
      "title": "Events",
      "x-editor": "array",
      "default": [],
      "items": {
        "type": "object",
        "properties": {
          "date": { "type": "string", "title": "Date", "x-editor": "text" },
          "name": { "type": "string", "title": "Name", "x-editor": "text" },
          "room": { "type": "string", "title": "Room", "x-editor": "text" },
          "note": { "type": "string", "title": "Note", "x-editor": "text" },
          "url": { "type": "string", "title": "Booking URL", "x-editor": "link" }
        }
      }
    }
  }
}
