Skip to content

Commit 6859e40

Browse files
committed
run gendocs
1 parent 497d3cd commit 6859e40

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

purl-types-index.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"bitbucket",
55
"bitnami",
66
"cargo",
7+
"chrome",
78
"cocoapods",
89
"composer",
910
"conan",

types-doc/chrome-definition.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!-- NOTE: Auto-generated from the JSON PURL type definition.
2+
Do not manually edit this file. Edit the JSON type definition instead. -->
3+
4+
# PURL Type Definition: chrome
5+
6+
- **Type Name:** chrome
7+
- **Description:** Chrome Browser Extensions (extensions from the official Chrome Webstore)
8+
- **Schema ID:** `https://packageurl.org/types/chrome-definition.json`
9+
10+
## PURL Syntax
11+
12+
The structure of a PURL for this package type is:
13+
14+
pkg:chrome/<name>@<version>?<qualifiers>#<subpath>
15+
16+
## Repository Information
17+
18+
- **Use Repository:** Yes
19+
- **Default Repository URL:** https://https://chromewebstore.google.com/
20+
- **Note:** There is no documented API, only a sitemap and 'updatecheck' endpoints.
21+
22+
## Namespace definition
23+
24+
- **Requirement:** Prohibited
25+
- **Note:** `There is no namespace`
26+
27+
## Name definition
28+
29+
- **Native Label:** version
30+
- **Note:** `The name is a 32 characters a-z and is case insensitive`
31+
32+
## Version definition
33+
34+
- **Requirement:** Optional
35+
- **Native Label:** version
36+
- **Note:** `The chrome extension version is semver-like but 1-4 segments`
37+
38+
## Examples
39+
40+
- `pkg:chrome/[email protected]`
41+
- `pkg:chrome/[email protected]`
42+
- `pkg:chrome/[email protected]`
43+
- `pkg:chrome/dlpngalgnefjeiefhmpklpfiohadpglk@1`
44+
- `pkg:chrome/dlpngalgnefjeiefhmpklpfiohadpglk`
45+
46+
## Note
47+
48+
There is currently no documented API for querying different versions of a package - there only seems to be responses on the latest version. To this end the version component of a chrome purl can be optional.

0 commit comments

Comments
 (0)