OpenShift · Schema
BuildConfigSpec
Specification of the desired BuildConfig behavior.
CI/CDCloud-NativeContainersDevOpsEnterpriseKubernetesPlatform-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| source | object | |
| strategy | object | |
| output | object | |
| resources | object | |
| triggers | array | Triggers that cause new builds to be created. |
| runPolicy | string | Controls how builds from this config run concurrently. |
| serviceAccount | string | The ServiceAccount to run the build pod as. |
| completionDeadlineSeconds | integer | Optional duration in seconds builds may be active before being terminated. |
| successfulBuildsHistoryLimit | integer | Number of successful builds to retain. |
| failedBuildsHistoryLimit | integer | Number of failed builds to retain. |
| nodeSelector | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BuildConfigSpec",
"title": "BuildConfigSpec",
"type": "object",
"description": "Specification of the desired BuildConfig behavior.",
"properties": {
"source": {
"$ref": "#/components/schemas/BuildSource"
},
"strategy": {
"$ref": "#/components/schemas/BuildStrategy"
},
"output": {
"$ref": "#/components/schemas/BuildOutput"
},
"resources": {
"$ref": "#/components/schemas/ResourceRequirements"
},
"triggers": {
"type": "array",
"description": "Triggers that cause new builds to be created.",
"items": {
"$ref": "#/components/schemas/BuildTriggerPolicy"
},
"example": []
},
"runPolicy": {
"type": "string",
"description": "Controls how builds from this config run concurrently.",
"enum": [
"Serial",
"Parallel",
"SerialLatestOnly"
],
"default": "Serial",
"example": "Serial"
},
"serviceAccount": {
"type": "string",
"description": "The ServiceAccount to run the build pod as.",
"default": "builder",
"example": "example_value"
},
"completionDeadlineSeconds": {
"type": "integer",
"format": "int64",
"description": "Optional duration in seconds builds may be active before being terminated.",
"example": 10
},
"successfulBuildsHistoryLimit": {
"type": "integer",
"format": "int32",
"description": "Number of successful builds to retain.",
"example": 10
},
"failedBuildsHistoryLimit": {
"type": "integer",
"format": "int32",
"description": "Number of failed builds to retain.",
"example": 10
},
"nodeSelector": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"example": "example_value"
}
}
}
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/openshift-buildconfigspec"
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.