From f80899b00a3749e5c8c9adf812ca0b69b45e7dd3 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:55:49 -0500 Subject: [PATCH] Include taxonomy on JSON schema regex pattern for species (#769) --- src/neuroconv/schemas/base_metadata_schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neuroconv/schemas/base_metadata_schema.json b/src/neuroconv/schemas/base_metadata_schema.json index 97d4479da..69762a6c6 100644 --- a/src/neuroconv/schemas/base_metadata_schema.json +++ b/src/neuroconv/schemas/base_metadata_schema.json @@ -146,7 +146,7 @@ "species": { "type": "string", "description": "Species of subject. Use latin name.", - "pattern": "^[A-Z][a-z]+ [a-z]+" + "pattern": "^[A-Z][a-z]+ [a-z]+|http://purl.obolibrary.org/obo/NCBITaxon_[0-9]+" }, "subject_id": { "type": "string",