forked from phac-nml/fetchdatairidanext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema_input.json
26 lines (26 loc) · 968 Bytes
/
schema_input.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
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/phac-nml/fetchdatairidanext/main/assets/schema_input.json",
"title": "phac-nml/fetchdatairidanext pipeline - params.input schema",
"description": "Schema for the file provided with params.input",
"type": "array",
"items": {
"type": "object",
"properties": {
"sample": {
"type": "string",
"pattern": "^\\S+$",
"meta": ["id"],
"unique": true,
"errorMessage": "Sample name must be provided and cannot contain spaces"
},
"insdc_accession": {
"type": "string",
"pattern": "^(SRR|ERR|DRR)\\S+$",
"meta": ["insdc_accession"],
"errorMessage": "Must provide a valid accession"
}
},
"required": ["sample", "insdc_accession"]
}
}