{
  "manifest_version": "1.0.0",
  "template": {
    "id": "87f63c8f-0f9f-45c5-b986-506ce61d6963",
    "slug": "Mfh7ho",
    "name": "Nextjs-Ecommerce",
    "description": "ecommerce template using Stripe Products & Checkout",
    "url": "https://railway.com/deploy/Mfh7ho",
    "upstream": {
      "repo_url": "https://github.com/chinpeerapat/nextjs-ecommerce-stripe"
    }
  },
  "services": [
    {
      "name": "nextjs-ecommerce-stripe",
      "source": {
        "repo": "https://github.com/chinpeerapat/nextjs-ecommerce-stripe"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "STRIPE_SECRET_KEY",
      "service": "nextjs-ecommerce-stripe",
      "description": "Provide a value for STRIPE_SECRET_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Mfh7ho"
      }
    },
    "cli": "railway deploy --template Mfh7ho",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "87f63c8f-0f9f-45c5-b986-506ce61d6963",
            "serializedConfig": {
              "services": {
                "37d1b4af-9de1-418e-9177-2ed9b8dea0ee": {
                  "name": "nextjs-ecommerce-stripe",
                  "source": {
                    "repo": "chinpeerapat/nextjs-ecommerce-stripe",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "STRIPE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{STRIPE_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T10:02:16.154Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_abc78e48dfdc489ca111",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
