Azure DevOps · Schema

UpstreamSource

An upstream package source configured for a feed

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id string Upstream source identifier
name string Display name of the upstream source
upstreamSourceType string Type of upstream source
protocol string Package protocol type
location string URL of the upstream package registry
status string Current status of the upstream source
deletedDate string
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-upstreamsource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpstreamSource",
  "title": "UpstreamSource",
  "type": "object",
  "description": "An upstream package source configured for a feed",
  "properties": {
    "id": {
      "type": "string",
      "description": "Upstream source identifier"
    },
    "name": {
      "type": "string",
      "description": "Display name of the upstream source",
      "example": "NuGet Gallery"
    },
    "upstreamSourceType": {
      "type": "string",
      "description": "Type of upstream source",
      "enum": [
        "public",
        "internal"
      ]
    },
    "protocol": {
      "type": "string",
      "description": "Package protocol type",
      "enum": [
        "nuget",
        "npm",
        "maven",
        "pypi",
        "upack",
        "cargo",
        "swift"
      ]
    },
    "location": {
      "type": "string",
      "format": "uri",
      "description": "URL of the upstream package registry",
      "example": "https://api.nuget.org/v3/index.json"
    },
    "status": {
      "type": "string",
      "description": "Current status of the upstream source",
      "enum": [
        "ok",
        "disabled"
      ]
    },
    "deletedDate": {
      "type": "string",
      "format": "date-time",
      "nullable": true
    }
  }
}