-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathschema.json
45 lines (45 loc) · 1.08 KB
/
schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/nextflow-io/plugins/blob/main/schema.json",
"type": "array",
"items": {
"title": "plugin",
"required": ["id", "releases"],
"type": "object",
"properties": {
"id": {
"type": "string"
},
"releases": {
"type": "array",
"items": {
"title": "release",
"required": ["date", "requires", "sha512sum", "url", "version"],
"type": "object",
"properties": {
"version": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://.+\\.zip$"
},
"date": {
"type": "string",
"format": "date-time"
},
"sha512sum": {
"type": "string",
"minLength": 128,
"maxLength": 128
},
"requires": {
"type": "string"
}
}
}
}
}
}
}