Buildpacks Io · Schema
buildpack.toml
Schema for the buildpack.toml descriptor required at the root of every Cloud Native Buildpack as defined by the Buildpack API (currently 0.12). Drives detect, build, order resolution, and image labeling.
Properties
| Name | Type | Description |
|---|---|---|
| api | string | Buildpack API version this buildpack targets (e.g. 0.12). |
| buildpack | object | |
| order | array | Composite buildpack ordering groups. |
| targets | array | OS/arch/distro targets this buildpack supports (Buildpack API >= 0.12). |
| stacks | array | Deprecated. Use targets. Stacks this buildpack supports (e.g. io.buildpacks.stacks.bionic). |
| metadata | object | Free-form buildpack-specific metadata table. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/buildpacks-io/main/json-schema/buildpacks-buildpack-toml-schema.json",
"title": "buildpack.toml",
"description": "Schema for the buildpack.toml descriptor required at the root of every Cloud Native Buildpack as defined by the Buildpack API (currently 0.12). Drives detect, build, order resolution, and image labeling.",
"type": "object",
"required": ["api", "buildpack"],
"properties": {
"api": {
"type": "string",
"description": "Buildpack API version this buildpack targets (e.g. 0.12).",
"pattern": "^[0-9]+\\.[0-9]+$"
},
"buildpack": {
"type": "object",
"required": ["id", "version"],
"properties": {
"id": {
"type": "string",
"description": "Reverse-DNS unique id, e.g. paketo-buildpacks/nodejs."
},
"version": {
"type": "string",
"description": "Semantic version of the buildpack."
},
"name": {
"type": "string"
},
"homepage": {
"type": "string",
"format": "uri"
},
"description": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {"type": "string"}
},
"clear-env": {
"type": "boolean",
"description": "If true, the lifecycle clears the user-provided environment before invoking detect/build."
},
"sbom-formats": {
"type": "array",
"items": {
"type": "string",
"enum": [
"application/vnd.cyclonedx+json",
"application/spdx+json",
"application/vnd.syft+json"
]
},
"description": "SBOM media types this buildpack can emit (CycloneDX, SPDX, Syft)."
},
"exec-env": {
"type": "array",
"items": {"type": "string", "enum": ["production", "test", "development"]}
},
"licenses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {"type": "string"},
"uri": {"type": "string", "format": "uri"}
}
}
}
}
},
"order": {
"type": "array",
"description": "Composite buildpack ordering groups.",
"items": {
"type": "object",
"properties": {
"group": {
"type": "array",
"items": {
"type": "object",
"required": ["id"],
"properties": {
"id": {"type": "string"},
"version": {"type": "string"},
"optional": {"type": "boolean"},
"exec-env": {"type": "array", "items": {"type": "string"}}
}
}
}
}
}
},
"targets": {
"type": "array",
"description": "OS/arch/distro targets this buildpack supports (Buildpack API >= 0.12).",
"items": {
"type": "object",
"properties": {
"os": {"type": "string"},
"arch": {"type": "string"},
"variant": {"type": "string"},
"distros": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"version": {"type": "string"}
}
}
}
}
}
},
"stacks": {
"type": "array",
"description": "Deprecated. Use targets. Stacks this buildpack supports (e.g. io.buildpacks.stacks.bionic).",
"items": {
"type": "object",
"properties": {
"id": {"type": "string"},
"mixins": {"type": "array", "items": {"type": "string"}}
}
}
},
"metadata": {
"type": "object",
"description": "Free-form buildpack-specific metadata table.",
"additionalProperties": true
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/buildpacks-buildpack-toml"
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.