{
    "items": [
        {
            "itemnumber": 0,
            "prompt": "You are an expert educational content designer who creates engaging Reveal.js presentations.\nThe slides_format is: {slidestype}\n\n## Your Task:\n\n1. Create a Reveal.js presentation in {slidestype} format to summarize and explain the following grammar point for learners of {targetlanguage}:\n[{grammarpoint}]\n2. Output a JSON object with three top-level keys: `slidesmarkdown`, `slidescontenttype` (0 or 1), and `data1` (a 1-dimensional array of image descriptions).\n\n## Step 1: Planning Phase\nFirst, create a structured plan. List every slide you intend to create (Content slides and Image slides).\n* Identify which Content slides need an associated Image slide\n* Map each image to a specific filename (e.g., \"1.png\", \"2.png\").\n* Ensure you have between 0 and 5 image slides, and that they immediately follow or precede their related content slide.\n\n**Important**: The plan itself is for internal use and should not be included on the slides.\n\n## Step 2: Building Phase\nUsing your plan from Step 1, generate a single JSON object. The JSON must contain the final presentation code and the data array.\n\n###  JSON Structure Requirements:\n\n1. `slidesmarkdown` \u2014 A string containing the full Reveal.js presentation.\n2. `slidescontenttype` \u2014 0 (Markdown) or 1 (HTML).\n3. `data1` \u2014 A 1-dimensional array of image descriptions, corresponding to the filenames \"1.png\", \"2.png\", etc.\n\n### Formatting & Structural Rules:\n* **Language of instruction:** :  {instructionlanguage}\n* **Language for examples:** :   {targetlanguage}\n* **First Slide:** :   The role of the first slide is a \"title slide\". It can contain headings, text, emojis but should not contain lesson content,\n* **Content Slide content:** may contain text, emojis, tables. Image slides contain text and an image\n* **Image Slide Placement:** Image slides must immediately follow\/precede the relevant content slide.\n* **Image Syntax (Strict):**\n* **Markdown:** Use `## [Title]` followed by `![[Description]]([N].png)`.\n* **HTML:** Use `<section><h2>[Title]<\/h2><img src=\"[N].png\" alt=\"[Description]\"><\/section>`.\n\n* **Style Constraints:**\n* Image slide headings must NOT contain \"Image\", \"Picture\", \"Photo\", etc.\n* The presentation must NOT start with `---`.\n* HTML rules: No inline CSS (`style` attributes); use semantic `<h2>`, `<p>`, `<ul>`.\n\n## Output Instructions:\n\n* Begin your response with the **Planning Pass** (as a numbered list).\n* Follow it immediately with the **Building Pass** (the final JSON object).\n* Ensure the filenames in `slidesmarkdown` exactly match the order of descriptions in `data1`.\n",
            "generatemethod": "generate",
            "generatefileareasmethod": "generate",
            "generatefields": [
                {
                    "name": "slidesmarkdown",
                    "generate": 1,
                    "mapping": ""
                },
                {
                    "name": "slidestheme",
                    "generate": 0,
                    "mapping": ""
                },
                {
                    "name": "slidescontenttype",
                    "generate": 1,
                    "mapping": ""
                },
                {
                    "name": "data1",
                    "generate": 1,
                    "mapping": ""
                },
                {
                    "name": "data2",
                    "generate": 0,
                    "mapping": ""
                },
                {
                    "name": "data3",
                    "generate": 0,
                    "mapping": ""
                },
                {
                    "name": "data4",
                    "generate": 0,
                    "mapping": ""
                },
                {
                    "name": "data5",
                    "generate": 0,
                    "mapping": ""
                }
            ],
            "generatefileareas": [
                {
                    "name": "customfile1",
                    "generate": 1,
                    "mapping": "data1"
                }
            ],
            "overallimagecontext": "--",
            "promptfields": [
                {
                    "name": "slidestype",
                    "mapping": "user_customdata2"
                },
                {
                    "name": "targetlanguage",
                    "mapping": "target_language"
                },
                {
                    "name": "grammarpoint",
                    "mapping": "user_text"
                },
                {
                    "name": "instructionlanguage",
                    "mapping": "user_customdata3"
                }
            ]
        }
    ],
    "lessonTitle": "Grammar Explanation Slides",
    "lessonDescription": "This template will create a set of slides to teach the specified grammar point. The target language of the MiniLesson will be used for examples, and the instruction language you specify will the language used to do the explaining.",
    "uniqueid": "6a362aeb558cb",
    "version": "4",
    "agentonly": 0,
    "fieldmappings": {
        "target_language": {
            "enabled": false,
            "title": "Target language",
            "description": "",
            "type": "text"
        },
        "user_topic": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_level": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_text": {
            "enabled": true,
            "title": "The Grammar Point",
            "description": "A brief but clear description of the grammar point you want the slides to explain.",
            "type": "textarea"
        },
        "user_keywords": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata1": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata2": {
            "enabled": true,
            "title": "Slides Type",
            "description": "The output format of the slides. Markdown is easier to edit by hand (but still techy). HTML can produce better layouts but its  not easy to edit by hand.",
            "type": "dropdown",
            "options": [
                "Markdown",
                "HTML"
            ]
        },
        "user_customdata3": {
            "enabled": true,
            "title": "Instruction language",
            "description": "The language which should be used to explain in. e.g Japanese",
            "type": "text"
        },
        "user_customdata4": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata5": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata6": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata7": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata8": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata9": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        },
        "user_customdata10": {
            "enabled": false,
            "title": "",
            "description": "",
            "type": "text"
        }
    },
    "tags": [
        "Grammar Instruction"
    ]
}