-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathschema_input.json
More file actions
42 lines (42 loc) · 1.59 KB
/
schema_input.json
File metadata and controls
42 lines (42 loc) · 1.59 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/seqeralabs/nf-aggregate/main/assets/schema_input.json",
"title": "nf-aggregate pipeline - params.input schema",
"description": "Schema for the file provided with params.input",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{9,14}$",
"errorMessage": "Please provide a valid Seqera Platform run identifier",
"meta": ["id"]
},
"workspace": {
"type": "string",
"pattern": "^(?:external|[a-zA-Z0-9][a-zA-Z0-9-_]{0,38}/[a-zA-Z0-9][a-zA-Z0-9-_]{0,38})$",
"errorMessage": "Please provide a valid Seqera Platform Workspace name or 'external'",
"meta": ["workspace"]
},
"group": {
"type": "string",
"pattern": "^[a-zA-Z0-9][-a-zA-Z0-9_ ]{0,37}$",
"errorMessage": "Please provide a valid group name",
"meta": ["group"]
},
"logs": {
"type": "string",
"format": "file-path",
"pattern": "^\\S+$",
"errorMessage": "Please provide a valid file path to your Seqera Platform logs.",
"meta": ["logs"]
},
"fusion": {
"type": "boolean",
"meta": ["fusion"]
}
},
"required": ["id", "workspace"]
}
}