{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://spec.super-arc.com/0.1.0/overlays/game.json",
  "title": "Game overlay",
  "description": "Interactive and systemic narrative.\n\nOverlay for the \"game\" namespace, living under extensions.game. An overlay-unaware reader must still understand the object without it, and an overlay may never shadow a core field name.",
  "type": "object",
  "properties": {
    "questHooks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ways a player can pick this up."
    },
    "playerAgency": {
      "type": "string",
      "description": "What the player actually decides here, if anything."
    },
    "authored": {
      "type": "boolean",
      "description": "true when this is hand-written, false when the systems produce it. The distinction matters: a systemic event has no author to blame for its timing."
    },
    "failStates": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "What losing looks like, and whether the story continues through it."
    }
  }
}
