Azure DevOps · Schema

ReleaseDefinition

A release pipeline definition

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id integer Unique numeric identifier of the definition
name string Display name of the release definition
path string Folder path for the definition
description string Description of the release definition
revision integer Current revision number
createdOn string
modifiedOn string
createdBy object
modifiedBy object
isDeleted boolean Whether this definition has been deleted
environments array Environments (deployment stages) in the release pipeline
artifacts array Artifact sources used by this release definition
triggers array Triggers that automatically create releases
variables object Release-level variables
tags array
source string
url string
_links object
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-releasedefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReleaseDefinition",
  "title": "ReleaseDefinition",
  "type": "object",
  "description": "A release pipeline definition",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique numeric identifier of the definition"
    },
    "name": {
      "type": "string",
      "description": "Display name of the release definition",
      "example": "Production Deployment"
    },
    "path": {
      "type": "string",
      "description": "Folder path for the definition",
      "example": "\\Production"
    },
    "description": {
      "type": "string",
      "description": "Description of the release definition"
    },
    "revision": {
      "type": "integer",
      "description": "Current revision number"
    },
    "createdOn": {
      "type": "string",
      "format": "date-time"
    },
    "modifiedOn": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "modifiedBy": {
      "$ref": "#/components/schemas/IdentityRef"
    },
    "isDeleted": {
      "type": "boolean",
      "description": "Whether this definition has been deleted"
    },
    "environments": {
      "type": "array",
      "description": "Environments (deployment stages) in the release pipeline",
      "items": {
        "$ref": "#/components/schemas/ReleaseDefinitionEnvironment"
      }
    },
    "artifacts": {
      "type": "array",
      "description": "Artifact sources used by this release definition",
      "items": {
        "$ref": "#/components/schemas/Artifact"
      }
    },
    "triggers": {
      "type": "array",
      "description": "Triggers that automatically create releases",
      "items": {
        "type": "object"
      }
    },
    "variables": {
      "type": "object",
      "description": "Release-level variables",
      "additionalProperties": {
        "$ref": "#/components/schemas/ConfigurationVariableValue"
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "string",
      "enum": [
        "undefined",
        "restApi",
        "userInterface",
        "ibiza",
        "portalExtensionApi"
      ]
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "_links": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}