{
    "schemaVersion": 1,
    "id": "story-builder",
    "title": "Story Builder",
    "category": "Writing",
    "gradeRange": {
        "min": 4,
        "max": 6
    },
    "locale": "en-US",
    "description": "Five interchangeable narrative stages. Choose one option from each stage in order to build a story; all options fit the shared story template.",
    "items": [
        {
            "label": "Hero",
            "prompt": "Who is this story about?",
            "options": [
                "a brave knight",
                "a curious robot",
                "a tiny dragon",
                "a thoughtful fox",
                "a cheerful gardener",
                "an adventurous otter"
            ]
        },
        {
            "label": "Setting",
            "prompt": "Where do they live?",
            "options": [
                "in a floating castle",
                "deep in a whispering forest",
                "on a busy moon base",
                "beside a sparkling river",
                "in a village of giant flowers",
                "on an island with singing trees"
            ]
        },
        {
            "label": "Problem",
            "prompt": "What went wrong one morning?",
            "options": [
                "lost the magic key",
                "found a mysterious map",
                "accidentally woke a sleeping giant",
                "discovered that every clock had stopped",
                "noticed that the town’s colors had vanished",
                "had to find a home for a lost cloud"
            ]
        },
        {
            "label": "Twist",
            "prompt": "Then something unexpected happened…",
            "options": [
                "a talking cat offered to help",
                "it began to rain candy",
                "the floor turned to jelly",
                "a shy snail knew the answer",
                "the wind delivered a secret message",
                "a rainbow became a bridge"
            ]
        },
        {
            "label": "Ending",
            "prompt": "How does it end?",
            "options": [
                "they saved the day before dinner",
                "everyone became best friends",
                "they laughed about it for years",
                "our hero discovered a talent for solving puzzles",
                "the whole town celebrated with a picnic",
                "our hero promised to share the adventure in a book"
            ]
        }
    ],
    "template": "Once upon a time, {hero} lived {setting}. One morning, our hero {problem}. Just when things looked impossible, {twist}! In the end, {ending}. The end."
}
