Spring Framework · Schema

Spring Framework Bean Definition

Represents a Spring IoC container bean definition as returned by the Actuator /beans endpoint

AOPDependency InjectionEnterpriseFrameworkIOCJavaMicroservicesMVCSpring Boot

Properties

Name Type Description
contexts object Application contexts keyed by context ID
View JSON Schema on GitHub

JSON Schema

spring-framework-bean-definition-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://spring.io/projects/spring-framework/schemas/bean-definition",
  "title": "Spring Framework Bean Definition",
  "description": "Represents a Spring IoC container bean definition as returned by the Actuator /beans endpoint",
  "type": "object",
  "properties": {
    "contexts": {
      "type": "object",
      "description": "Application contexts keyed by context ID",
      "additionalProperties": {
        "$ref": "#/definitions/ApplicationContext"
      }
    }
  },
  "definitions": {
    "ApplicationContext": {
      "type": "object",
      "properties": {
        "beans": {
          "type": "object",
          "description": "Bean definitions keyed by bean name",
          "additionalProperties": {
            "$ref": "#/definitions/BeanDefinition"
          }
        },
        "id": {
          "type": "string",
          "description": "Application context identifier"
        },
        "parentId": {
          "type": ["string", "null"],
          "description": "Parent context ID if hierarchical"
        }
      }
    },
    "BeanDefinition": {
      "type": "object",
      "properties": {
        "aliases": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Alternative names for the bean"
        },
        "scope": {
          "type": "string",
          "enum": ["singleton", "prototype", "request", "session", "application", "websocket"],
          "description": "Bean scope"
        },
        "type": {
          "type": "string",
          "description": "Fully qualified class name"
        },
        "resource": {
          "type": "string",
          "description": "Source configuration resource (class or file)"
        },
        "dependencies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Names of beans this bean depends on"
        }
      }
    },
    "SpringInitializrProject": {
      "title": "Spring Initializr Project Configuration",
      "description": "Configuration parameters for generating a Spring Boot project",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": ["maven-project", "gradle-project", "gradle-kotlin-project"],
          "default": "maven-project"
        },
        "language": {
          "type": "string",
          "enum": ["java", "kotlin", "groovy"],
          "default": "java"
        },
        "bootVersion": {
          "type": "string",
          "description": "Spring Boot version (e.g., 3.3.0)"
        },
        "baseDir": {
          "type": "string",
          "default": "demo"
        },
        "groupId": {
          "type": "string",
          "default": "com.example",
          "pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*$"
        },
        "artifactId": {
          "type": "string",
          "default": "demo",
          "pattern": "^[a-z][a-z0-9-]*$"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "packageName": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*$"
        },
        "packaging": {
          "type": "string",
          "enum": ["jar", "war"],
          "default": "jar"
        },
        "javaVersion": {
          "type": "string",
          "enum": ["21", "17", "11"],
          "default": "21"
        },
        "dependencies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Spring Boot starter dependency IDs"
        }
      }
    }
  }
}

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/spring-framework-bean-definition"
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 email required.

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