JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/pipeline",
"title": "pipeline",
"allOf": [
{
"$ref": "#/components/schemas/object"
},
{
"additionalProperties": true,
"type": "object",
"title": "Pipeline",
"description": "A Bitbucket Pipeline. This represents an actual pipeline result.",
"properties": {
"uuid": {
"type": "string",
"description": "The UUID identifying the pipeline."
},
"build_number": {
"type": "integer",
"description": "The build number of the pipeline."
},
"creator": {
"$ref": "#/components/schemas/account"
},
"repository": {
"$ref": "#/components/schemas/repository"
},
"target": {
"$ref": "#/components/schemas/pipeline_target"
},
"trigger": {
"$ref": "#/components/schemas/pipeline_trigger"
},
"state": {
"$ref": "#/components/schemas/pipeline_state"
},
"variables": {
"type": "array",
"minItems": 0,
"items": {
"$ref": "#/components/schemas/pipeline_variable"
},
"description": "The variables for the pipeline."
},
"created_on": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the pipeline was created."
},
"completed_on": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the Pipeline was completed. This is not set if the pipeline is still in progress."
},
"build_seconds_used": {
"type": "integer",
"description": "The number of build seconds used by this pipeline."
}
}
}
]
}