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
|
{
"type": "object",
"required": ["totalHits", "data"],
"properties": {
"totalHits": { "type": "integer" },
"data": {
"type": "array",
"items": {
"type": "object",
"required": ["@type", "authors", "id", "summary", "title", "totalDownloads", "verified", "versions"],
"properties": {
"@type": { "const": "Package" },
"authors": { "const": "" },
"id": { "type": "string" },
"summary": { "const": "" },
"title": { "type": "string" },
"totalDownloads": { "const": 0 },
"verified": { "const": true },
"tags": { "type": "string" },
"projectUrl": { "type": "string" },
"licenseUrl": { "type": "string" },
"iconUrl": { "type": "string" },
"versions": {
"type": "array",
"items": {
"type": "object",
"required": ["@id", "version", "downloads"],
"properties": {
"@id": { "type": "string" },
"version": { "type": "string" },
"downloads": { "const": 0 }
}
}
}
}
}
}
}
}
|