{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "StoryNode", "type": "object", "required": [ "id", "story_id", "branch_id", "parent_id", "action_id", "user_input", "beats", "delta", "state_hash" ], "properties": { "id": { "type": "string" }, "story_id": { "type": "string" }, "branch_id": { "type": "string" }, "parent_id": { "type": ["string", "null"] }, "action_id": { "type": "string" }, "user_input": { "type": "string" }, "beats": { "type": "array" }, "delta": { "type": "object" }, "state_hash": { "type": "string" } } }