{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e119f0f1-a030-49c3-b0ab-0dade8b11f69",
    "slug": "paperclip-railway-deployment",
    "name": "Paperclip Railway Deployment",
    "description": "Deploy and Host Paperclip with Railway",
    "url": "https://railway.com/deploy/paperclip-railway-deployment",
    "upstream": {
      "repo_url": "https://github.com/wwilson1017/paperclip-railway"
    }
  },
  "services": [
    {
      "name": "paperclip-railway",
      "source": {
        "repo": "https://github.com/wwilson1017/paperclip-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "paperclip-railway-deployment"
      }
    },
    "cli": "railway deploy --template paperclip-railway-deployment",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e119f0f1-a030-49c3-b0ab-0dade8b11f69",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "ae487bd7-85aa-4acd-ad3d-8c57a09e3ad0": {
                  "icon": null,
                  "name": "paperclip-railway",
                  "deploy": {
                    "startCommand": "/usr/local/bin/railway-entrypoint.sh",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/wwilson1017/paperclip-railway",
                    "rootDirectory": null
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-20T13:23:53.941Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_21036978682e41fd97bf",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
