Skip to content

Commit

Permalink
Merge pull request #1537 from HumanCellAtlas/esv-managedAccess-Issue1535
Browse files Browse the repository at this point in the history
Added data_access module for managed access data. Fixes #1535
  • Loading branch information
idazucchi authored Mar 4, 2024
2 parents e9e7c74 + 33e7fb8 commit 91adce8
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 3 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

### [type/project/project.json - v18.0.0] - 2024-03-04
### Added
Added data_use_restriction field

## [Released](https://github.com/HumanCellAtlas/metadata-schema/)

### [type/protocol/analysis/analysis_protocol.json - v10.2.0] - 2024-02-05
Expand Down
1 change: 1 addition & 0 deletions docs/jsonBrowser/required_fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Property name | Description | Type | Object reference? | User friendly name | Al
schema_type | The type of the metadata schema entity. | string | | | project |
project_core | Core project-level information. | object | [See core project_core](core.md#project-core) | Project core | |
funders | Funding source(s) supporting the project. | array | [See module funder](module.md#funder) | Funding source(s) | |
data_use_restriction | Data use restrictions that apply to the project. | string | | Data use restriction | NRES, GRU, GRU-NCU | GRU
### Specimen from organism
Property name | Description | Type | Object reference? | User friendly name | Allowed values | Example
--- | --- | --- | --- | --- | --- | ---
Expand Down
1 change: 1 addition & 0 deletions docs/jsonBrowser/type.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ insdc_study_accessions | An International Nucleotide Sequence Database Collabora
biostudies_accessions | A BioStudies study accession. | array | no | | BioStudies accession | | S-EXMP1; S-HCAS33
funders | Funding source(s) supporting the project. | array | yes | [See module funder](module.md#funder) | Funding source(s) | |
estimated_cell_count | An estimated number of cells in this project | integer | no | | Estimated cell count | | 10000; 2100000
data_use_restriction | Data use restrictions that apply to the project. | string | yes | | Data use restriction | NRES, GRU, GRU-NCU | GRU

## Specimen from organism
_Information about the specimen that was collected from the donor organism._
Expand Down
7 changes: 7 additions & 0 deletions json_schema/property_migrations.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"migrations": [
{
"source_schema": "project",
"property": "data_use_restriction",
"effective_from": "18.0.0",
"reason": "Data access is now recorded as a mandatory field",
"type": "new required property"
},
{
"source_schema": "cell_line",
"property": "timecourse",
Expand Down
15 changes: 14 additions & 1 deletion json_schema/type/project/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"describedBy",
"schema_type",
"project_core",
"funders"
"funders",
"data_use_restriction"
],
"title": "Project",
"name": "project",
Expand Down Expand Up @@ -164,6 +165,18 @@
"type": "integer",
"example": "10000; 2100000",
"user_friendly": "Estimated cell count"
},
"data_use_restriction": {
"description": "Data use restrictions that apply to the project.",
"type": "string",
"enum": [
"NRES",
"GRU",
"GRU-NCU"
],
"user_friendly": "Data use restriction",
"guidelines": "Must be one of: NRES, GRU, GRU-NCU. The use restriction codes are based on the DUO ontology where NRES corresponds to DUO:0000004, GRU corresponds to DUO:0000042, GRU-NCU corresponds to a combination of DUO:0000042 and DUO:0000046",
"example": "GRU"
}
}
}
4 changes: 2 additions & 2 deletions json_schema/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"last_update_date": "2024-02-05T16:10:39Z",
"last_update_date": "2024-03-04T14:00:53Z",
"version_numbers": {
"core": {
"biomaterial": {
Expand Down Expand Up @@ -110,7 +110,7 @@
"process": "9.2.0"
},
"project": {
"project": "17.1.1"
"project": "18.0.0"
},
"protocol": {
"analysis": {
Expand Down

0 comments on commit 91adce8

Please sign in to comment.