{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeartifact/refs/heads/main/json-structure/codeartifact-list-package-versions-result-structure.json", "name": "ListPackageVersionsResult", "description": "ListPackageVersionsResult schema from Amazon CodeArtifact API", "type": "object", "properties": { "defaultDisplayVersion": { "allOf": [ { "$ref": "#/components/schemas/PackageVersion" }, { "description": "
The default package version to display. This depends on the package format:
For Maven and PyPI packages, it's the most recently published package version.
For npm packages, it's the version referenced by the latest tag. If the latest tag is not set, it's the most recently published package version.
The namespace of the package that contains the requested package versions. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId.
The namespace of an npm package is its scope.
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.