Skip to content

Commit 81fb8d2

Browse files
pinar.alpervildead
pinar.alper
authored andcommitted
renamed use restriction rule enumerations
1 parent b17f543 commit 81fb8d2

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

schemas/elu-dataset.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@
155155
"use_restriction_rule": {
156156
"type": "string",
157157
"enum": [
158-
"CONSTRAINTS",
159-
"NO_CONSTRAINTS",
160-
"FORBIDDEN"
158+
"OBLIGATION",
159+
"PERMISSION",
160+
"PROHIBITION",
161+
"CONSTRAINED_PERMISSION"
161162
]
162163
},
163164
"use_restriction_objects": {

tests/data/datasets.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@
3030
{
3131
"use_class": "COL-[XX]",
3232
"use_class_note": "Data is shared as part of the LUX-Epigen programme, a collaboration with CHL, IBBL, LCSB and LSRU.",
33-
"use_restriction_rule": "CONSTRAINTS"
33+
"use_restriction_rule": "CONSTRAINED_PERMISSION"
3434
},
3535
{
3636
"use_class": "DS-[XX](CC)",
3737
"use_class_note": "Data is consented for cancer research studies only.",
38-
"use_restriction_rule": "CONSTRAINTS"
38+
"use_restriction_rule": "CONSTRAINED_PERMISSION"
3939
},
4040
{
4141
"use_class": "GS-[XX]",
4242
"use_class_note": "Data is consented for sharing outside EU/EEA region.",
43-
"use_restriction_rule": "CONSTRAINTS"
43+
"use_restriction_rule": "CONSTRAINED_PERMISSION"
4444
}
4545
]
4646
}
@@ -97,12 +97,12 @@
9797
{
9898
"use_class": "PUB",
9999
"use_class_note": "Acknowledgement required.",
100-
"use_restriction_rule": "CONSTRAINTS"
100+
"use_restriction_rule": "CONSTRAINED_PERMISSION"
101101
},
102102
{
103103
"use_class": "TS-[XX]",
104104
"use_class_note": "Data is obtained for a limited duration. 2022-02-28",
105-
"use_restriction_rule": "CONSTRAINTS"
105+
"use_restriction_rule": "CONSTRAINED_PERMISSION"
106106
}
107107
]
108108
}

0 commit comments

Comments
 (0)