{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Field Notes",
  "description": "Dated notebook entries — a small-caps date over a short note, separated by hairline rules. The essayist's running observations.",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "title": "Heading",
      "description": "Small-caps section heading (e.g. \"Field notes\").",
      "x-editor": "text",
      "default": "Field notes"
    },
    "notes": {
      "type": "array",
      "title": "Notes",
      "description": "The dated entries, newest first.",
      "default": [],
      "x-editor": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "title": "Date",
            "description": "The dateline, rendered in small caps (e.g. \"March 14\").",
            "x-editor": "text"
          },
          "note": {
            "type": "string",
            "title": "Note",
            "description": "The entry body. Rich text is permitted.",
            "x-editor": "richtext"
          }
        }
      }
    }
  }
}
