{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://raw.githubusercontent.com/nf-core/fetchngs/master/assets/schema_input.json",
    "title": "nf-core/fetchngs pipeline - params.input schema",
    "description": "Schema for the file provided with params.input",
    "type": "array",
    "items": {
        "type": "array",
        "items": {
            "type": "string",
            "pattern": "^[SEPG][RAS][RXSMPAJXE][EN]?[AB]?\\d{4,9}$",
            "errorMessage": "Please provide a valid SRA, GEO or ENA identifier"
        }
    }
}
