{
  "openapi": "3.0.3",
  "info": {
    "title": "MSG Chain public API (discovery document)",
    "version": "1.0.0",
    "description": "Discovery document for AI agents and integrators. Authoritative specifications live under /whitepaper/api_specs/. Mainnet status is No-Go; no public chain endpoint is published yet."
  },
  "servers": [
    {
      "url": "https://msgchain.org"
    }
  ],
  "paths": {
    "/status.json": {
      "get": {
        "summary": "Public status single source of truth",
        "responses": {
          "200": {
            "description": "JSON status document"
          }
        }
      }
    },
    "/pages/ecosystem.json": {
      "get": {
        "summary": "Ecosystem registry (machine-readable)",
        "responses": {
          "200": {
            "description": "JSON registry"
          }
        }
      }
    },
    "/dapp-docs/manifest.json": {
      "get": {
        "summary": "dApp reference library manifest",
        "responses": {
          "200": {
            "description": "JSON manifest with per-document sha256"
          }
        }
      }
    },
    "/whitepaper/api_specs/chain_integration_facts.json": {
      "get": {
        "summary": "Chain integration facts",
        "responses": {
          "200": {
            "description": "JSON facts"
          }
        }
      }
    },
    "/whitepaper/api_specs/openapi/public_query.yaml": {
      "get": {
        "summary": "Public query surface (authoritative YAML)",
        "responses": {
          "200": {
            "description": "OpenAPI YAML"
          }
        }
      }
    },
    "/whitepaper/api_specs/openapi/contract_surface.yaml": {
      "get": {
        "summary": "Contract surface (authoritative YAML)",
        "responses": {
          "200": {
            "description": "OpenAPI YAML"
          }
        }
      }
    },
    "/whitepaper/api_specs/openapi/agent_surface.yaml": {
      "get": {
        "summary": "Agent surface (authoritative YAML)",
        "responses": {
          "200": {
            "description": "OpenAPI YAML"
          }
        }
      }
    }
  },
  "externalDocs": {
    "description": "Site docs hub",
    "url": "https://msgchain.org/pages/docs.html"
  }
}
