-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathgithub-definition.json
More file actions
32 lines (32 loc) · 1.08 KB
/
github-definition.json
File metadata and controls
32 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"$schema": "https://packageurl.org/schemas/purl-type-definition.schema-1.0.json",
"$id": "https://packageurl.org/types/github-definition.json",
"type": "github",
"type_name": "GitHub",
"description": "GitHub-based packages",
"repository": {
"use_repository": true,
"default_repository_url": "https://github.com"
},
"namespace_definition": {
"requirement": "required",
"case_sensitive": false,
"native_name": "user or organization",
"note": "The namespace is the user or organization. It is not case sensitive and must be lowercased."
},
"name_definition": {
"requirement": "required",
"case_sensitive": false,
"native_name": "repository name",
"note": "The name is the repository name. It is not case sensitive and must be lowercased."
},
"version_definition": {
"requirement": "optional",
"native_name": "commit or tag",
"note": "The version is a commit or tag."
},
"examples": [
"pkg:github/package-url/purl-spec@244fd47e07d1004",
"pkg:github/package-url/purl-spec@244fd47e07d1004#everybody/loves/dogs"
]
}