{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "/wp-admin/admin.php?page=gptranslate",
  "plugins": ["gptranslate"],
  "login": true,
  "features": {
    "networking": true
  },
  "preferredVersions": {
    "php": "8.3",
    "wp": "latest"
  },
  "steps": [
    {
      "step": "setSiteOptions",
      "options": {
        "blogname": "Testing GPTranslate - AI Translation"
      }
    },
    {
      "step": "updateUserMeta",
      "meta": {
        "admin_color": "modern"
      },
      "userId": 1
    },
    {
      "step": "installPlugin",
      "pluginData": {
        "resource": "wordpress.org/plugins",
        "slug": "gptranslate"
      },
      "options": {
        "activate": true
      }
    },
    {
      "step": "runPHP",
      "code": "<?php require_once 'wordpress/wp-load.php'; wp_insert_post(['post_title' => 'Sample Page for Translation', 'post_content' => '<h1>Welcome to GPTranslate Demo</h1><p>This is a sample page to test the AI-powered translation capabilities of GPTranslate.</p><p>GPTranslate supports over 100 languages using ChatGPT, DeepSeek, Google Gemini and Google AI.</p><h2>Key Features</h2><ul><li>AI Agent Crawler for automatic translations</li><li>Database storage for cost optimization</li><li>SEO-friendly multilanguage URLs</li><li>Text-to-speech functionality</li></ul>', 'post_status' => 'publish', 'post_type' => 'page']); ?>"
    }
  ]
}