{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeartifact/refs/heads/main/json-structure/codeartifact-package-dependency-structure.json", "name": "PackageDependency", "description": " Details about a package dependency. ", "type": "object", "properties": { "namespace": { "allOf": [ { "$ref": "#/components/schemas/PackageNamespace" }, { "description": "

The namespace of the package that this package depends on. The package component that specifies its namespace depends on its type. For example:

" } ] }, "package": { "allOf": [ { "$ref": "#/components/schemas/PackageName" }, { "description": " The name of the package that this package depends on. " } ] }, "dependencyType": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

The type of a package dependency. The possible values depend on the package type.

" } ] }, "versionRequirement": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": " The required version, or version range, of the package that this package depends on. The version format is specific to the package type. For example, the following are possible valid required versions: 1.2.3, ^2.3.4, or 4.x. " } ] } } }