{
  "manifest_version": "1.0.0",
  "template": {
    "id": "926a3477-ea71-43b4-ac8d-8993347e4896",
    "slug": "mermaid-live-editor",
    "name": "mermaid-live-editor",
    "description": "JavaScript based diagramming and charting tool",
    "url": "https://railway.com/deploy/mermaid-live-editor",
    "upstream": {
      "image": "ghcr.io/mermaid-js/mermaid-live-editor"
    }
  },
  "services": [
    {
      "name": "mermaid-live-editor",
      "source": {
        "image": "ghcr.io/mermaid-js/mermaid-live-editor"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mermaid-live-editor"
      }
    },
    "cli": "railway deploy --template mermaid-live-editor",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "926a3477-ea71-43b4-ac8d-8993347e4896",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a13d594f-5fe3-4a03-8da6-e22655c1bbec": {
                  "icon": "https://mermaid.live/favicon.svg",
                  "name": "mermaid-live-editor",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/mermaid-js/mermaid-live-editor"
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T14:45:34.249Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ceb36b192e6640b0be51",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 53,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "mermaid-live-editor"
  }
}
