forked from seqeralabs/nf-aggregate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema_input.json
More file actions
31 lines (31 loc) · 1.25 KB
/
schema_input.json
File metadata and controls
31 lines (31 loc) · 1.25 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
{
"$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": "^[a-zA-Z0-9](?:[a-zA-Z0-9]|[-_](?=[a-zA-Z0-9])){1,38}/[a-zA-Z0-9](?:[a-zA-Z0-9]|[-_](?=[a-zA-Z0-9])){1,38}$",
"errorMessage": "Please provide a valid Seqera Platform Workspace name",
"meta": ["workspace"]
},
"group": {
"type": "string",
"pattern": "^[a-zA-Z0-9](?:[a-zA-Z0-9]|[-_](?=[a-zA-Z0-9])){1,38}$",
"errorMessage": "Please provide a valid group name",
"meta": ["group"]
}
},
"required": ["id", "workspace"]
}
}