{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Day Schedule",
  "description": "Daycare / classroom day plan with crayon time-pills.",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "title": "Title",
      "description": "Optional heading above the schedule (e.g. 'A day at Sunflower Room').",
      "x-editor": "text"
    },
    "items": {
      "type": "array",
      "title": "Schedule Items",
      "description": "Ordered list of time-blocks.",
      "default": [],
      "x-editor": "array",
      "items": {
        "type": "object",
        "properties": {
          "time": {
            "type": "string",
            "title": "Time",
            "description": "Time-of-day label (e.g. '09:00').",
            "x-editor": "text"
          },
          "activity": {
            "type": "string",
            "title": "Activity",
            "description": "What happens in this slot.",
            "x-editor": "text"
          },
          "icon": {
            "type": "string",
            "title": "Icon",
            "description": "Icon name (sun, book, paint, snack, play, nap).",
            "x-editor": "select",
            "enum": ["", "sun", "book", "paint", "snack", "play", "nap"]
          }
        }
      }
    }
  }
}
