Scalar · JSON Structure

Scalar Openapi Document Structure

Type: Properties: 0
API ClientAPI DocumentationAPI ReferencesCode GenerationDeveloper ToolsOpenAPIRegistrySDKSwagger

Scalar Openapi Document Structure is a JSON Structure definition published by Scalar.

Meta-schema:

JSON Structure

Raw ↑
{
  "structure": {
    "name": "Scalar OpenAPI Document Reference",
    "description": "Structural documentation for an OpenAPI document managed in the Scalar Registry.",
    "fields": [
      { "name": "namespace", "type": "string", "required": true, "description": "Registry namespace in org/project format" },
      { "name": "title", "type": "string", "required": true, "description": "API display name" },
      { "name": "version", "type": "string", "required": true, "description": "API version" },
      { "name": "specUrl", "type": "uri", "required": true, "description": "URL to OpenAPI document" },
      { "name": "openAPIVersion", "type": "enum[3.0.0,3.0.1,3.0.2,3.0.3,3.1.0]", "required": false },
      { "name": "visibility", "type": "enum[public,private]", "required": false, "default": "private" },
      {
        "name": "documentation",
        "type": "object",
        "required": false,
        "fields": [
          { "name": "customDomain", "type": "string", "required": false },
          { "name": "theme", "type": "string", "required": false },
          { "name": "darkMode", "type": "boolean", "required": false },
          {
            "name": "gitSync",
            "type": "object",
            "required": false,
            "fields": [
              { "name": "enabled", "type": "boolean" },
              { "name": "repository", "type": "string" },
              { "name": "branch", "type": "string", "default": "main" },
              { "name": "specPath", "type": "string" }
            ]
          }
        ]
      },
      {
        "name": "sdks",
        "type": "array<object>",
        "required": false,
        "itemFields": [
          { "name": "language", "type": "enum[typescript,python,go,php,java,ruby]", "required": true },
          { "name": "packageName", "type": "string", "required": false },
          { "name": "githubRepo", "type": "string", "required": false }
        ]
      },
      { "name": "spectralRulesets", "type": "array<uri>", "required": false },
      { "name": "tags", "type": "array<string>", "required": false },
      { "name": "createdAt", "type": "date-time", "required": false },
      { "name": "updatedAt", "type": "date-time", "required": false }
    ]
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/scalar-openapi-document-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.