Azure DevOps · Schema

BuildDefinition

A build pipeline definition in Azure DevOps

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id integer Unique numeric identifier of the definition
name string Display name of the build definition
path string Folder path for organizing definitions
type string Type of build definition
revision integer Current revision number of the definition
quality string Quality of the definition
authoredBy object
queue object Default agent queue for this definition
project object
url string
uri string
createdDate string
queueStatus string Whether new builds can be queued against this definition
variables object Map of variable names to variable definitions
triggers array Triggers that automatically start this build
repository object
process object Build process definition (YAML or designer)
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-builddefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BuildDefinition",
  "title": "BuildDefinition",
  "type": "object",
  "description": "A build pipeline definition in Azure DevOps",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique numeric identifier of the definition",
      "example": 5
    },
    "name": {
      "type": "string",
      "description": "Display name of the build definition",
      "example": "CI-Pipeline"
    },
    "path": {
      "type": "string",
      "description": "Folder path for organizing definitions",
      "example": "\\MyFolder"
    },
    "type": {
      "type": "string",
      "description": "Type of build definition",
      "enum": [
        "xaml",
        "build"
      ]
    },
    "revision": {
      "type": "integer",
      "description": "Current revision number of the definition"
    },
    "quality": {
      "type": "string",
      "description": "Quality of the definition",
      "enum": [
        "definition",
        "draft"
      ]
    },
    "authoredBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "queue": {
      "type": "object",
      "description": "Default agent queue for this definition",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "pool": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "isHosted": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "project": {
      "$ref": "#/components/schemas/TeamProjectReference"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "uri": {
      "type": "string"
    },
    "createdDate": {
      "type": "string",
      "format": "date-time"
    },
    "queueStatus": {
      "type": "string",
      "description": "Whether new builds can be queued against this definition",
      "enum": [
        "enabled",
        "paused",
        "disabled"
      ]
    },
    "variables": {
      "type": "object",
      "description": "Map of variable names to variable definitions",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string"
          },
          "allowOverride": {
            "type": "boolean"
          },
          "isSecret": {
            "type": "boolean"
          }
        }
      }
    },
    "triggers": {
      "type": "array",
      "description": "Triggers that automatically start this build",
      "items": {
        "type": "object",
        "properties": {
          "triggerType": {
            "type": "string",
            "enum": [
              "none",
              "continuousIntegration",
              "batchedContinuousIntegration",
              "schedule",
              "gatedCheckIn",
              "buildCompletion",
              "pullRequest"
            ]
          }
        }
      }
    },
    "repository": {
      "$ref": "#/components/schemas/BuildRepository"
    },
    "process": {
      "type": "object",
      "description": "Build process definition (YAML or designer)",
      "properties": {
        "yamlFilename": {
          "type": "string",
          "description": "Path to the YAML pipeline file"
        },
        "type": {
          "type": "integer",
          "description": "1 = designer, 2 = YAML"
        }
      }
    }
  }
}

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/microsoft-azure-devops-builddefinition"
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.