{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-pipelines/json-schema/microsoft-azure-pipelines-run-pipeline-parameters-schema.json",
  "title": "RunPipelineParameters",
  "description": "Parameters for triggering a pipeline run with optional overrides for variables, template parameters, resources, and stage selections.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-pipelines-runs-api-openapi.yml#/components/schemas/RunPipelineParameters",
  "type": "object",
  "properties": {
    "stagesToSkip": {
      "type": "array",
      "description": "List of stage names to skip in this run",
      "items": {
        "type": "string"
      }
    },
    "resources": {
      "type": "object",
      "description": "Resource version overrides for this run",
      "properties": {
        "repositories": {
          "type": "object",
          "description": "Repository resource versions keyed by repository alias",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "refName": {
                "type": "string",
                "description": "Branch or tag reference to check out"
              },
              "version": {
                "type": "string",
                "description": "Specific commit SHA to use"
              }
            }
          }
        },
        "pipelines": {
          "type": "object",
          "description": "Pipeline resource versions keyed by pipeline alias",
          "additionalProperties": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string",
                "description": "Build number of the upstream pipeline run"
              }
            }
          }
        },
        "builds": {
          "type": "object",
          "description": "Build resource versions keyed by resource alias",
          "additionalProperties": {
            "type": "object"
          }
        }
      }
    },
    "variables": {
      "type": "object",
      "description": "Variable overrides keyed by variable name",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "description": "Variable value override"
          },
          "isSecret": {
            "type": "boolean",
            "description": "Whether this variable value should be treated as secret"
          }
        }
      }
    },
    "templateParameters": {
      "type": "object",
      "description": "Template parameter overrides for YAML pipeline parameters",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}