Current section

Files

Jump to
purl priv spec types apk-definition.json
Raw

priv/spec/types/apk-definition.json

{
"$schema": "https://packageurl.org/schemas/purl-type-definition.schema-1.0.json",
"$id": "https://packageurl.org/types/apk-definition.json",
"type": "apk",
"type_name": "APK-based packages",
"description": "Alpine Linux APK-based packages",
"repository": {
"use_repository": true,
"note": "There is no default package repository; this should be implied either from the distro qualifiers key or using a repository base url as repository_url qualifiers key."
},
"namespace_definition": {
"requirement": "required",
"note": "The namespace is the vendor such as alpine or openwrt. It is not case sensitive and must be lowercased.",
"native_name": "vendor",
"case_sensitive": false
},
"name_definition": {
"requirement": "required",
"note": "The name is the package name. It is not case sensitive and must be lowercased.",
"native_name": "name",
"case_sensitive": false
},
"version_definition": {
"requirement": "optional",
"note": "The version is a package version as expected by apk.",
"native_name": "version"
},
"qualifiers_definition": [
{
"key": "arch",
"description": "The arch is the qualifiers key for a package architecture."
}
],
"examples": [
"pkg:apk/alpine/curl@7.83.0-r0?arch=x86",
"pkg:apk/alpine/apk@2.12.9-r3?arch=x86"
],
"note": "not to be confused with Android packages with a .apk extension."
}