{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://spec.super-arc.com/0.1.0/overlays/novel.json",
  "title": "Novel / series overlay",
  "description": "Prose fiction, single or serial.\n\nOverlay for the \"novel\" namespace, living under extensions.novel. An overlay-unaware reader must still understand the object without it, and an overlay may never shadow a core field name.",
  "type": "object",
  "properties": {
    "chapterFunction": {
      "type": "string",
      "description": "What this chapter does for the book: turn, breather, reveal."
    },
    "seriesBible": {
      "$ref": "../common.json#/$defs/ref",
      "description": "The world this belongs to across books."
    },
    "viewpointDistance": {
      "type": "string",
      "enum": [
        "close",
        "middle",
        "distant"
      ],
      "description": "How far the narration sits from the viewpoint character."
    },
    "bookNumber": {
      "type": "string",
      "description": "Position in the series, if it is one."
    }
  }
}
