Buildpack Specification
The Buildpack API (currently 0.12) defines the contract between an individual buildpack and the lifecycle. It specifies the on-disk layout of a buildpack (buildpack.toml, bin/detect, bin/build), the build plan provides/requires graph, layer types (launch/build/cache), launch.toml and build.toml outputs, target declarations (os/arch/distros), SBOM emission, and the CNB_* environment variable contract.
Buildpack Specification is one of 7 APIs that buildpacks-io publishes on the APIs.io network.
This API exposes 4 JSON Schema definitions.
Tagged areas include Cloud Native Buildpacks, Buildpack API, Specification, and CNCF. The published artifact set on APIs.io includes API documentation, a JSON-LD context, and 4 JSON Schemas.
Documentation
Schemas & Data
JSONSchema
https://raw.githubusercontent.com/api-evangelist/buildpacks-io/refs/heads/main/json-schema/buildpacks-buildpack-toml-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/buildpacks-io/refs/heads/main/json-schema/buildpacks-build-plan-schema.json
JSONSchema
https://raw.githubusercontent.com/api-evangelist/buildpacks-io/refs/heads/main/json-schema/buildpacks-launch-toml-schema.json
JSONStructure
https://raw.githubusercontent.com/api-evangelist/buildpacks-io/refs/heads/main/json-structure/buildpacks-io-structure.json