Azure DevOps · Schema

BuildArtifact

An artifact published by a build

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id integer Artifact ID
name string Name of the artifact (e.g., 'drop', 'packages')
resource object Resource details for downloading the artifact
source string Source of the artifact
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-buildartifact-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BuildArtifact",
  "title": "BuildArtifact",
  "type": "object",
  "description": "An artifact published by a build",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Artifact ID"
    },
    "name": {
      "type": "string",
      "description": "Name of the artifact (e.g., 'drop', 'packages')",
      "example": "drop"
    },
    "resource": {
      "type": "object",
      "description": "Resource details for downloading the artifact",
      "properties": {
        "type": {
          "type": "string",
          "description": "Type of artifact storage (e.g., Container, FilePath, VersionControl)"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to download the artifact"
        },
        "downloadUrl": {
          "type": "string",
          "format": "uri",
          "description": "Direct download URL"
        },
        "properties": {
          "type": "object",
          "additionalProperties": true
        }
      }
    },
    "source": {
      "type": "string",
      "description": "Source of the artifact"
    }
  }
}