Azure DevOps · Schema
Package
A package in an Azure Artifacts feed
AgileCI/CDDevOpsProject ManagementVersion Control
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique GUID identifier of the package |
| name | string | Display name of the package |
| normalizedName | string | Normalized (lowercase) version of the package name |
| protocolType | string | Package manager protocol type |
| versions | array | List of available versions (if requested) |
| url | string | URL to access this package via the REST API |
| _links | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Package",
"title": "Package",
"type": "object",
"description": "A package in an Azure Artifacts feed",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Unique GUID identifier of the package"
},
"name": {
"type": "string",
"description": "Display name of the package",
"example": "MyCompany.MyLibrary"
},
"normalizedName": {
"type": "string",
"description": "Normalized (lowercase) version of the package name",
"example": "mycompany.mylibrary"
},
"protocolType": {
"type": "string",
"description": "Package manager protocol type",
"enum": [
"nuget",
"npm",
"maven",
"pypi",
"upack",
"cargo",
"swift"
]
},
"versions": {
"type": "array",
"description": "List of available versions (if requested)",
"items": {
"$ref": "#/components/schemas/PackageVersion"
}
},
"url": {
"type": "string",
"format": "uri",
"description": "URL to access this package via the REST API"
},
"_links": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"href": {
"type": "string",
"format": "uri"
}
}
}
}
}
}