From aef46a8adeff31c0226646d57c8ba15a0903c692 Mon Sep 17 00:00:00 2001 From: Jon Young <104453205+jtyoung84@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:25:20 -0700 Subject: [PATCH] build: sets core metadata schema to v1.0.0 --- schemas/metadata_schema.json | 6 +++--- src/aind_data_schema/core/metadata.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/metadata_schema.json b/schemas/metadata_schema.json index fc9efb29a..5df6c5ad4 100644 --- a/schemas/metadata_schema.json +++ b/schemas/metadata_schema.json @@ -34383,10 +34383,10 @@ "type": "string" }, "schema_version": { - "const": "1.0.1", - "default": "1.0.1", + "const": "1.0.0", + "default": "1.0.0", "enum": [ - "1.0.1" + "1.0.0" ], "title": "Schema Version", "type": "string" diff --git a/src/aind_data_schema/core/metadata.py b/src/aind_data_schema/core/metadata.py index e9ec22d5a..f7fd07e03 100644 --- a/src/aind_data_schema/core/metadata.py +++ b/src/aind_data_schema/core/metadata.py @@ -48,7 +48,7 @@ class Metadata(AindCoreModel): _DESCRIBED_BY_URL = AindCoreModel._DESCRIBED_BY_BASE_URL.default + "aind_data_schema/core/metadata.py" describedBy: str = Field(_DESCRIBED_BY_URL, json_schema_extra={"const": _DESCRIBED_BY_URL}) - schema_version: Literal["1.0.1"] = Field("1.0.1") + schema_version: Literal["1.0.0"] = Field("1.0.0") id: UUID = Field( default_factory=uuid4, alias="_id",