{
  "$schema": "https://packageurl.org/schemas/purl-type-definition.schema-1.0.json",
  "$id": "https://packageurl.org/types/alpm-definition.json",
  "type": "alpm",
  "type_name": "Arch Linux package",
  "description": "Arch Linux packages and other users of the libalpm/pacman package manager.",
  "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 arch, arch32, archarm, manjaro or msys.",
    "case_sensitive": false,
    "native_name": "vendor",
    "normalization_rules": [
      "It is not case sensitive and must be lowercased."
    ]
  },
  "name_definition": {
    "requirement": "required",
    "note": "The name is the package name. It is not case sensitive and must be lowercased.",
    "case_sensitive": false,
    "native_name": "name"
  },
  "version_definition": {
    "requirement": "optional",
    "native_name": "version",
    "note": "The version is the version of the package as specified in vercmp(8) at (https://man.archlinux.org/man/vercmp.8#DESCRIPTION as part of alpm.",
    "case_sensitive": true,
    "normalization_rules": [
      "normalize version as specified in vercmp(8) at https://man.archlinux.org/man/vercmp.8#DESCRIPTION as part of alpm."
    ]
  },
  "qualifiers_definition": [
    {
      "key": "arch",
      "requirement": "optional",
      "native_name": "arch",
      "description": "The arch is the qualifiers key for a package architecture."
    }
  ],
  "examples": [
    "pkg:alpm/arch/pacman@6.0.1-1?arch=x86_64",
    "pkg:alpm/arch/python-pip@21.0-1?arch=any",
    "pkg:alpm/arch/containers-common@1:0.47.4-4?arch=x86_64"
  ]
}
