From cd7cb40e318f7575a85852881df385b518397747 Mon Sep 17 00:00:00 2001 From: Max Levinson Date: Fri, 4 Sep 2026 12:32:58 -0400 Subject: [PATCH 1/2] Adding File URI support to identifiers --- fairscape_models/fairscape_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fairscape_models/fairscape_base.py b/fairscape_models/fairscape_base.py index 0d716a9..ed353f4 100644 --- a/fairscape_models/fairscape_base.py +++ b/fairscape_models/fairscape_base.py @@ -22,7 +22,7 @@ # Persistent identifiers accepted for digital objects: ARKs, DOIs (bare or # resolver-URL form), and http(s) URIs. -PersistentIdentifierPattern = "^(ark:[0-9]{5}/.+|doi:.+|https?://.+)$" +PersistentIdentifierPattern = "^(ark:[0-9]{5}/.+|doi:.+|https?://.+|file://.+)$" DATASET_TYPE = "Dataset" DATASET_CONTAINER_TYPE = "DatasetContainer" From 58c043fd914695459b36f246dc9986a28aff1088 Mon Sep 17 00:00:00 2001 From: Max Levinson Date: Fri, 4 Sep 2026 12:33:11 -0400 Subject: [PATCH 2/2] Updating pyproject for new version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bc18c31..ef2afe7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "fairscape-models" -version = "1.2.2" +version = "1.2.3" description = "Fairscape pydantic models" readme = "README.md" authors = [