From b2f202ac8a4da8504a926c0ff68edf2c0b651513 Mon Sep 17 00:00:00 2001 From: Drew Herbst Date: Fri, 6 Sep 2024 23:09:53 -0700 Subject: [PATCH 1/4] Add `drs_uri` to DCP/2 file descriptor The immediate need is for LungMAP but this property could be useful in other contexts as it allows for files to be hosted by DRS implementations other than TDR. --- json_schema/system/file_descriptor.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/json_schema/system/file_descriptor.json b/json_schema/system/file_descriptor.json index 6d62f3d7..949a36bc 100644 --- a/json_schema/system/file_descriptor.json +++ b/json_schema/system/file_descriptor.json @@ -94,6 +94,13 @@ "user_friendly": "S3 ETag", "type": "string", "example": "c92e5374ac0a53b228d4c1511c2d2842-63" + }, + "drs_uri": { + "description": "Data Repository Service URI pointing at this file. If this property is absent, a data file exists in the repository containing this descriptor. If this property is present and not `null`, a data file exists in another repository at the specified URI. If this property is present but `null`, the data file is not available, but will likely become available in the future, along with an updated descriptor referencing it.", + "user_friendly": "Data Repository Service URI", + "type": ["string", "null"], + "format": "uri", + "example": "drs://drs.example.org/314159" } } } \ No newline at end of file From e1b29c865fe3eacc0a50c69108abfee95020c421 Mon Sep 17 00:00:00 2001 From: ESapenaVentura Date: Tue, 10 Sep 2024 08:28:23 +0100 Subject: [PATCH 2/4] filled update_log with drs_uri change --- json_schema/update_log.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/json_schema/update_log.csv b/json_schema/update_log.csv index 3231ff19..b67c1e03 100644 --- a/json_schema/update_log.csv +++ b/json_schema/update_log.csv @@ -1 +1,2 @@ Schema,Change type,Change message,Version,Date +system/file_descriptor,minor,"Added 'drs_uri' property to file_descriptor",, \ No newline at end of file From 9a28f080224d38890231880e3d428ba7328d303f Mon Sep 17 00:00:00 2001 From: ESapenaVentura Date: Tue, 24 Sep 2024 15:17:45 +0100 Subject: [PATCH 3/4] Ran release_prepare.py script. --- changelog.md | 4 ++++ json_schema/update_log.csv | 1 - json_schema/versions.json | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 2d1994cd..d6e1bfec 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,10 @@ and (starting with v4.0.0) this project adheres to [Semantic Versioning](http:// ## [Unreleased](https://github.com/HumanCellAtlas/metadata-schema/tree/staging) +### [system/file_descriptor.json - v2.1.0] - 2024-09-24 +### Added +Added 'drs_uri' property to file_descriptor + ## [Released](https://github.com/HumanCellAtlas/metadata-schema/) diff --git a/json_schema/update_log.csv b/json_schema/update_log.csv index b67c1e03..3231ff19 100644 --- a/json_schema/update_log.csv +++ b/json_schema/update_log.csv @@ -1,2 +1 @@ Schema,Change type,Change message,Version,Date -system/file_descriptor,minor,"Added 'drs_uri' property to file_descriptor",, \ No newline at end of file diff --git a/json_schema/versions.json b/json_schema/versions.json index 27bebe93..5cec5fd9 100644 --- a/json_schema/versions.json +++ b/json_schema/versions.json @@ -1,5 +1,5 @@ { - "last_update_date": "2024-09-16T14:52:03Z", + "last_update_date": "2024-09-24T15:16:27Z", "version_numbers": { "core": { "biomaterial": { @@ -83,7 +83,7 @@ } }, "system": { - "file_descriptor": "2.0.0", + "file_descriptor": "2.1.0", "license": "1.0.0", "links": "3.1.0", "provenance": "1.1.0" From a56d6827610599d9fe8e15bc769bebc57bd6bbe8 Mon Sep 17 00:00:00 2001 From: ESapenaVentura Date: Tue, 24 Sep 2024 15:23:12 +0100 Subject: [PATCH 4/4] Release from staging to master 2024-24-09. --- changelog.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index d6e1bfec..5ceb6d72 100644 --- a/changelog.md +++ b/changelog.md @@ -7,13 +7,12 @@ and (starting with v4.0.0) this project adheres to [Semantic Versioning](http:// ## [Unreleased](https://github.com/HumanCellAtlas/metadata-schema/tree/staging) +## [Released](https://github.com/HumanCellAtlas/metadata-schema/) + ### [system/file_descriptor.json - v2.1.0] - 2024-09-24 ### Added Added 'drs_uri' property to file_descriptor -## [Released](https://github.com/HumanCellAtlas/metadata-schema/) - - ### [module/biomaterial/medical_history.json - v5.3.0] - 2024-09-16 ### Added Added optional smoking related fields in medical_history module. Fix #1565