{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dce8dc2c-5b88-4a84-8fe5-c4f1dad58ddb",
    "slug": "stirling-pdf-1",
    "name": "Stirling PDF",
    "description": "Stirling PDF — self-hosted PDF toolbox: merge, split, OCR, convert, sign",
    "url": "https://railway.com/deploy/stirling-pdf-1",
    "upstream": {
      "repo_url": "https://github.com/INAPP-Mobile/railway-stirling-pdf"
    }
  },
  "services": [
    {
      "name": "stirling-pdf",
      "source": {
        "repo": "https://github.com/INAPP-Mobile/railway-stirling-pdf"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "stirling-pdf-1"
      }
    },
    "cli": "railway deploy --template stirling-pdf-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dce8dc2c-5b88-4a84-8fe5-c4f1dad58ddb",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "4b846f3a-2a29-4672-acff-8dca8457413a": {
                  "icon": null,
                  "name": "stirling-pdf",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/INAPP-Mobile/railway-stirling-pdf",
                    "rootDirectory": null
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T03:17:41.981Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4ed6e4eaa1e14189bd88",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 155,
    "typical_build_seconds": 72,
    "typical_start_seconds": 10,
    "slowest_service": "stirling-pdf"
  }
}
