From 14653fbae6871f0cfd0f226da4d9b1feeb24ab84 Mon Sep 17 00:00:00 2001 From: Matthew Wells Date: Tue, 5 Nov 2024 16:10:13 -0600 Subject: [PATCH] updated sample field orders --- assets/schema_input.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/schema_input.json b/assets/schema_input.json index 6880229..068bf11 100644 --- a/assets/schema_input.json +++ b/assets/schema_input.json @@ -7,18 +7,18 @@ "items": { "type": "object", "properties": { - "sample_name": { + "sample": { "type": "string", - "pattern": "^[^\\s\\.]+$", - "meta": ["external_id"], + "pattern": "^[^\\.]\\S+$", + "meta": ["id"], "unique": true, - "errorMessage": "This field cannot contain .iridanext_output." + "errorMessage": "Sample name to be used in report generation." }, - "sample": { + "sample_name": { "type": "string", "pattern": "^[^\\.]\\S+$", "errorMessage": "Optional. Used to override sample when used in tools like IRIDA-Next. Input cannot start with period.", - "meta": ["id"] + "meta": ["external_id"] }, "fastq_1": { "type": "string",