Skip to main content

PURL Type Definition: bitbucket

  • Type Name: Bitbucket
  • Description: Bitbucket-based packages
  • Schema ID: https://packageurl.org/types/bitbucket-definition.json

PURL Syntax

The structure of a PURL for this package type is:

pkg:bitbucket/<namespace>/<name>@<version>?<qualifiers>#<subpath>

Repository Information

Namespace definition

  • Requirement: Required
  • Native Label: user or organization
  • Note: The namespace is the user or organization. It is not case sensitive and must be lowercased.

Name definition

  • Requirement: Required
  • Native Label: repository name
  • Note: The name is the repository name. It is not case sensitive and must be lowercased.

Version definition

  • Requirement: Optional
  • Native Label: commit or tag
  • Note: The version is a commit or tag.

Examples

  • pkg:bitbucket/birkenfeld/pygments-main@244fd47e07d1014f0aed9c