{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RuntimeState",
  "type": "object",
  "required": [
    "story_id",
    "current_node",
    "current_branch",
    "world_flags",
    "relationships",
    "relationship_states",
    "promises",
    "knowledge",
    "items",
    "clocks",
    "checks"
  ],
  "properties": {
    "story_id": {
      "type": "string"
    },
    "current_node": {
      "type": "string"
    },
    "current_branch": {
      "type": "string"
    },
    "world_flags": {
      "type": "object"
    },
    "relationships": {
      "type": "object"
    },
    "relationship_states": {
      "type": "array"
    },
    "promises": {
      "type": "array"
    },
    "knowledge": {
      "type": "array"
    },
    "items": {
      "type": "array"
    },
    "clocks": {
      "type": "array"
    },
    "checks": {
      "type": "array"
    }
  },
  "additionalProperties": false
}
