{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8811749e-c143-4086-b50f-2a31e25915f0",
    "slug": "4v1jeR",
    "name": "Discord Sapphire Bot",
    "description": "Discord Bot template using Sapphire and Typescript",
    "url": "https://railway.com/deploy/4v1jeR",
    "upstream": {
      "repo_url": "https://github.com/FantomeBeignet/railway-sapphire-bot-template"
    }
  },
  "services": [
    {
      "name": "Bot",
      "source": {
        "repo": "https://github.com/FantomeBeignet/railway-sapphire-bot-template"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DISCORD_TOKEN",
      "service": "Bot",
      "description": "The token for your Discord bot",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "4v1jeR"
      }
    },
    "cli": "railway deploy --template 4v1jeR",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8811749e-c143-4086-b50f-2a31e25915f0",
            "serializedConfig": {
              "services": {
                "6117c52d-8199-49a7-b60b-5f3cd4d2112a": {
                  "name": "Bot",
                  "build": {},
                  "deploy": {
                    "startCommand": ""
                  },
                  "source": {
                    "repo": "https://github.com/FantomeBeignet/railway-sapphire-bot-template"
                  },
                  "variables": {
                    "DISCORD_TOKEN": {
                      "isOptional": false,
                      "description": "The token for your Discord bot",
                      "defaultValue": "{{DISCORD_TOKEN}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "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-21T18:17:10.108Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_9f54827de37f4cedae19",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": false,
        "detail": "1 service(s) crashed within 30s"
      }
    ]
  }
}
