-
Notifications
You must be signed in to change notification settings - Fork 30
/
zotero-def.json
76 lines (76 loc) · 2.21 KB
/
zotero-def.json
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{
"$ref": "https://json.schemastore.org/package.json"
}
],
"properties": {
"zotero": {
"type": "object",
"description": "Zotero plugin metadata",
"required": ["name", "id", "icons", "update"],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Display name of the plugin"
},
"id": {
"type": "string",
"description": "Internal ID of the plugin",
"format": "email"
},
"icons": {
"type": "object",
"description": "Path to icon of different sizes for the plugin",
"minProperties": 1,
"additionalProperties": {
"type": "string"
},
"properties": {
"32": {
"type": "string",
"description": "Path to icon of size 32x32"
},
"48": {
"type": "string",
"description": "Path to icon of size 48x48"
},
"64": {
"type": "string",
"description": "Path to icon of size 64x64"
},
"96": {
"type": "string",
"description": "Path to icon of size 96x96"
}
}
},
"update": {
"type": "object",
"required": ["versions", "download", "info"],
"description": "Metadata for plugin update",
"additionalProperties": false,
"properties": {
"versions": {
"type": "string",
"description": "URL of `update.json`",
"format": "uri"
},
"download": {
"type": "string",
"description": "download URL, `{version}` will be replaced with the version number from `update.json`",
"format": "uri"
},
"info": {
"type": "string",
"description": "URL to the update log, `{version}` will be replaced with the version number from `update.json`",
"format": "uri"
}
}
}
}
}
}
}