OpenAPI · Schema

OpenAPI Components Object

Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object have no effect on the API unless they are explicitly referenced from outside the Components Object.

DocumentationRESTSpecification

Properties

Name Type Description
schemas object An object to hold reusable Schema Objects.
responses object An object to hold reusable Response Objects.
parameters object An object to hold reusable Parameter Objects.
examples object An object to hold reusable Example Objects.
requestBodies object An object to hold reusable Request Body Objects.
headers object An object to hold reusable Header Objects.
securitySchemes object An object to hold reusable Security Scheme Objects.
links object An object to hold reusable Link Objects.
callbacks object An object to hold reusable Callback Objects.
pathItems object An object to hold reusable Path Item Objects.
View JSON Schema on GitHub

JSON Schema

openapi-components.json Raw ↑
{
  "$id": "openapi-components.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OpenAPI Components Object",
  "description": "Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object have no effect on the API unless they are explicitly referenced from outside the Components Object.",
  "type": "object",
  "properties": {
    "schemas": {
      "type": "object",
      "description": "An object to hold reusable Schema Objects.",
      "additionalProperties": {}
    },
    "responses": {
      "type": "object",
      "description": "An object to hold reusable Response Objects.",
      "additionalProperties": {
        "$ref": "openapi-response.json"
      }
    },
    "parameters": {
      "type": "object",
      "description": "An object to hold reusable Parameter Objects.",
      "additionalProperties": {
        "$ref": "openapi-parameter.json"
      }
    },
    "examples": {
      "type": "object",
      "description": "An object to hold reusable Example Objects.",
      "additionalProperties": {
        "$ref": "openapi-example.json"
      }
    },
    "requestBodies": {
      "type": "object",
      "description": "An object to hold reusable Request Body Objects.",
      "additionalProperties": {
        "$ref": "openapi-request-body.json"
      }
    },
    "headers": {
      "type": "object",
      "description": "An object to hold reusable Header Objects.",
      "additionalProperties": {
        "$ref": "openapi-header.json"
      }
    },
    "securitySchemes": {
      "type": "object",
      "description": "An object to hold reusable Security Scheme Objects.",
      "additionalProperties": {
        "$ref": "openapi-security-scheme.json"
      }
    },
    "links": {
      "type": "object",
      "description": "An object to hold reusable Link Objects.",
      "additionalProperties": {
        "$ref": "openapi-link.json"
      }
    },
    "callbacks": {
      "type": "object",
      "description": "An object to hold reusable Callback Objects.",
      "additionalProperties": {
        "$ref": "openapi-path-item.json"
      }
    },
    "pathItems": {
      "type": "object",
      "description": "An object to hold reusable Path Item Objects.",
      "additionalProperties": {
        "$ref": "openapi-path-item.json"
      }
    }
  },
  "patternProperties": {
    "^x-": {}
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/openapi-components"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.