This repository was archived by the owner on Sep 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsocket-package-schema.json
More file actions
83 lines (83 loc) · 1.95 KB
/
Copy pathsocket-package-schema.json
File metadata and controls
83 lines (83 loc) · 1.95 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"$ref": "#/$defs/SocketPURL_Type"
},
"namespace": {
"type": "string",
"description": "Package namespace or scope, such as npm organizations (@angular), Maven groupIds, or Docker image owners",
"default": ""
},
"name": {
"type": "string",
"description": "Package name within its ecosystem",
"default": ""
},
"version": {
"type": "string",
"description": "Package version string",
"default": ""
},
"subpath": {
"type": "string",
"description": "Path within the package to a specific file or directory, used to reference nested components",
"default": ""
},
"release": {
"type": "string",
"description": "Package-specific release identifier, such as PyPI's artifact ID or the specific build/release version",
"default": ""
}
},
"required": [
"type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/socket-dev/main/json-schema/socket-socketpurl-schema.json",
"title": "SocketPURL",
"$defs": {
"SocketPURL_Type": {
"type": "string",
"enum": [
"alpm",
"apk",
"bitbucket",
"cocoapods",
"cargo",
"chrome",
"clawhub",
"composer",
"conan",
"conda",
"cran",
"deb",
"docker",
"gem",
"generic",
"github",
"golang",
"hackage",
"hex",
"huggingface",
"maven",
"mlflow",
"npm",
"nuget",
"qpkg",
"oci",
"pub",
"pypi",
"rpm",
"socket",
"swid",
"swift",
"vscode",
"unknown"
],
"description": "Package ecosystem type identifier based on the PURL specification",
"default": "unknown"
}
}
}