nci-cidc-schemas 0.26.38__py2.py3-none-any.whl → 0.27.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nci-cidc-schemas might be problematic. Click here for more details.

Files changed (23) hide show
  1. cidc_schemas/__init__.py +1 -1
  2. cidc_schemas/json_validation.py +43 -0
  3. cidc_schemas/prism/merger.py +17 -8
  4. cidc_schemas/schemas/clinical_trial.json +3 -7
  5. cidc_schemas/schemas/participant.json +1 -3
  6. cidc_schemas/schemas/sample.json +178 -44
  7. cidc_schemas/schemas/shipping_core.json +74 -34
  8. cidc_schemas/schemas/templates/manifests/h_and_e_template.json +109 -13
  9. cidc_schemas/schemas/templates/manifests/microbiome_dna_template.json +111 -11
  10. cidc_schemas/schemas/templates/manifests/normal_blood_dna_template.json +102 -12
  11. cidc_schemas/schemas/templates/manifests/normal_tissue_dna_template.json +109 -13
  12. cidc_schemas/schemas/templates/manifests/pbmc_template.json +102 -93
  13. cidc_schemas/schemas/templates/manifests/plasma_template.json +101 -91
  14. cidc_schemas/schemas/templates/manifests/tissue_slide_template.json +109 -13
  15. cidc_schemas/schemas/templates/manifests/tumor_tissue_dna_template.json +109 -13
  16. cidc_schemas/schemas/templates/manifests/tumor_tissue_rna_template.json +109 -13
  17. cidc_schemas/template.py +1 -1
  18. {nci_cidc_schemas-0.26.38.dist-info → nci_cidc_schemas-0.27.1.dist-info}/METADATA +27 -16
  19. {nci_cidc_schemas-0.26.38.dist-info → nci_cidc_schemas-0.27.1.dist-info}/RECORD +23 -23
  20. {nci_cidc_schemas-0.26.38.dist-info → nci_cidc_schemas-0.27.1.dist-info}/WHEEL +1 -1
  21. {nci_cidc_schemas-0.26.38.dist-info → nci_cidc_schemas-0.27.1.dist-info}/LICENSE +0 -0
  22. {nci_cidc_schemas-0.26.38.dist-info → nci_cidc_schemas-0.27.1.dist-info}/entry_points.txt +0 -0
  23. {nci_cidc_schemas-0.26.38.dist-info → nci_cidc_schemas-0.27.1.dist-info}/top_level.txt +0 -0
@@ -41,16 +41,16 @@
41
41
  "type_ref": "shipping_core.json#properties/tracking_number",
42
42
  "allow_empty": true
43
43
  },
44
- "account number": {
45
- "merge_pointer": "/account_number",
46
- "type_ref": "shipping_core.json#properties/account_number",
47
- "allow_empty": true
48
- },
49
44
  "shipping condition": {
50
45
  "merge_pointer": "/shipping_condition",
51
46
  "type_ref": "shipping_core.json#properties/shipping_condition",
52
47
  "allow_empty": true
53
48
  },
49
+ "shipping condition other": {
50
+ "merge_pointer": "/shipping_condition_other",
51
+ "type_ref": "shipping_core.json#properties/shipping_condition_other",
52
+ "allow_empty": true
53
+ },
54
54
  "date shipped": {
55
55
  "merge_pointer": "/date_shipped",
56
56
  "type_ref": "shipping_core.json#properties/date_shipped",
@@ -66,14 +66,89 @@
66
66
  "type_ref": "shipping_core.json#properties/quality_of_shipment",
67
67
  "allow_empty": true
68
68
  },
69
- "ship from": {
70
- "merge_pointer": "/ship_from",
71
- "type_ref": "shipping_core.json#properties/ship_from",
69
+ "ship from sender person name": {
70
+ "merge_pointer": "/ship_from_sender_person_name",
71
+ "type_ref": "shipping_core.json#properties/ship_from_sender_person_name",
72
+ "allow_empty": true
73
+ },
74
+ "ship from sender email": {
75
+ "merge_pointer": "/ship_from_sender_email",
76
+ "type_ref": "shipping_core.json#properties/ship_from_sender_email",
72
77
  "allow_empty": true
73
78
  },
74
- "ship to": {
75
- "merge_pointer": "/ship_to",
76
- "type_ref": "shipping_core.json#properties/ship_to",
79
+ "ship from sender phone": {
80
+ "merge_pointer": "/ship_from_sender_phone",
81
+ "type_ref": "shipping_core.json#properties/ship_from_sender_phone",
82
+ "allow_empty": true
83
+ },
84
+ "ship from name": {
85
+ "merge_pointer": "/ship_from_name",
86
+ "type_ref": "shipping_core.json#properties/ship_from_name",
87
+ "allow_empty": true
88
+ },
89
+ "ship from street1": {
90
+ "merge_pointer": "/ship_from_street1",
91
+ "type_ref": "shipping_core.json#properties/ship_from_street1",
92
+ "allow_empty": true
93
+ },
94
+ "ship from street2": {
95
+ "merge_pointer": "/ship_from_street2",
96
+ "type_ref": "shipping_core.json#properties/ship_from_street2",
97
+ "allow_empty": true
98
+ },
99
+ "ship from city": {
100
+ "merge_pointer": "/ship_from_city",
101
+ "type_ref": "shipping_core.json#properties/ship_from_city",
102
+ "allow_empty": true
103
+ },
104
+ "ship from state": {
105
+ "merge_pointer": "/ship_from_state",
106
+ "type_ref": "shipping_core.json#properties/ship_from_state",
107
+ "allow_empty": true
108
+ },
109
+ "ship from zip": {
110
+ "merge_pointer": "/ship_from_zip",
111
+ "type_ref": "shipping_core.json#properties/ship_from_zip",
112
+ "allow_empty": true
113
+ },
114
+ "ship from country": {
115
+ "merge_pointer": "/ship_from_country",
116
+ "type_ref": "shipping_core.json#properties/ship_from_country",
117
+ "allow_empty": true
118
+ },
119
+ "ship to name": {
120
+ "merge_pointer": "/ship_to_name",
121
+ "type_ref": "shipping_core.json#properties/ship_to_name",
122
+ "allow_empty": true
123
+ },
124
+ "ship to street1": {
125
+ "merge_pointer": "/ship_to_street1",
126
+ "type_ref": "shipping_core.json#properties/ship_to_street1",
127
+ "allow_empty": true
128
+ },
129
+ "ship to street2": {
130
+ "merge_pointer": "/ship_to_street2",
131
+ "type_ref": "shipping_core.json#properties/ship_to_street2",
132
+ "allow_empty": true
133
+ },
134
+ "ship to city": {
135
+ "merge_pointer": "/ship_to_city",
136
+ "type_ref": "shipping_core.json#properties/ship_to_city",
137
+ "allow_empty": true
138
+ },
139
+ "ship to state": {
140
+ "merge_pointer": "/ship_to_state",
141
+ "type_ref": "shipping_core.json#properties/ship_to_state",
142
+ "allow_empty": true
143
+ },
144
+ "ship to zip": {
145
+ "merge_pointer": "/ship_to_zip",
146
+ "type_ref": "shipping_core.json#properties/ship_to_zip",
147
+ "allow_empty": true
148
+ },
149
+ "ship to country": {
150
+ "merge_pointer": "/ship_to_country",
151
+ "type_ref": "shipping_core.json#properties/ship_to_country",
77
152
  "allow_empty": true
78
153
  }
79
154
  }
@@ -86,6 +161,8 @@
86
161
  "data_columns": {
87
162
  "IDs": {
88
163
  "entry (#)": {
164
+ "do_not_merge": true,
165
+ "allow_empty": true,
89
166
  "merge_pointer": "/shipping_entry_number",
90
167
  "type_ref": "sample.json#properties/shipping_entry_number"
91
168
  },
@@ -141,16 +218,35 @@
141
218
  "merge_pointer": "/type_of_tumor_sample",
142
219
  "type_ref": "sample.json#properties/type_of_tumor_sample"
143
220
  },
221
+ "description of sample": {
222
+ "merge_pointer": "/description_of_sample",
223
+ "type_ref": "sample.json#properties/description_of_sample",
224
+ "allow_empty": true
225
+ },
144
226
  "sample collection procedure": {
145
227
  "merge_pointer": "/sample_collection_procedure",
146
228
  "type_ref": "sample.json#properties/sample_collection_procedure"
147
229
  },
230
+ "sample collection procedure other": {
231
+ "merge_pointer": "/sample_collection_procedure_other",
232
+ "type_ref": "sample.json#properties/sample_collection_procedure_other",
233
+ "allow_empty": true
234
+ },
235
+ "type of primary container": {
236
+ "merge_pointer": "/type_of_primary_container",
237
+ "type_ref": "sample.json#properties/type_of_primary_container"
238
+ },
239
+ "type of primary container other": {
240
+ "merge_pointer": "/type_of_primary_container_other",
241
+ "type_ref": "sample.json#properties/type_of_primary_container_other",
242
+ "allow_empty": true
243
+ },
148
244
  "core number": {
149
245
  "merge_pointer": "/core_number",
150
246
  "type_ref": "sample.json#properties/core_number",
151
247
  "allow_empty": true
152
248
  },
153
- "fixation/stabilization type": {
249
+ "fixation stabilization type": {
154
250
  "merge_pointer": "/fixation_stabilization_type",
155
251
  "type_ref": "sample.json#properties/fixation_stabilization_type"
156
252
  },
@@ -239,4 +335,4 @@
239
335
  }
240
336
  }
241
337
  }
242
- }
338
+ }
@@ -40,16 +40,16 @@
40
40
  "type_ref": "shipping_core.json#properties/tracking_number",
41
41
  "allow_empty": true
42
42
  },
43
- "account number": {
44
- "merge_pointer": "/account_number",
45
- "type_ref": "shipping_core.json#properties/account_number",
46
- "allow_empty": true
47
- },
48
43
  "shipping condition": {
49
44
  "merge_pointer": "/shipping_condition",
50
45
  "type_ref": "shipping_core.json#properties/shipping_condition",
51
46
  "allow_empty": true
52
47
  },
48
+ "shipping condition other": {
49
+ "merge_pointer": "/shipping_condition_other",
50
+ "type_ref": "shipping_core.json#properties/shipping_condition_other",
51
+ "allow_empty": true
52
+ },
53
53
  "date shipped": {
54
54
  "merge_pointer": "/date_shipped",
55
55
  "type_ref": "shipping_core.json#properties/date_shipped",
@@ -65,14 +65,89 @@
65
65
  "type_ref": "shipping_core.json#properties/quality_of_shipment",
66
66
  "allow_empty": true
67
67
  },
68
- "ship from": {
69
- "merge_pointer": "/ship_from",
70
- "type_ref": "shipping_core.json#properties/ship_from",
68
+ "ship from sender person name": {
69
+ "merge_pointer": "/ship_from_sender_person_name",
70
+ "type_ref": "shipping_core.json#properties/ship_from_sender_person_name",
71
+ "allow_empty": true
72
+ },
73
+ "ship from sender email": {
74
+ "merge_pointer": "/ship_from_sender_email",
75
+ "type_ref": "shipping_core.json#properties/ship_from_sender_email",
76
+ "allow_empty": true
77
+ },
78
+ "ship from sender phone": {
79
+ "merge_pointer": "/ship_from_sender_phone",
80
+ "type_ref": "shipping_core.json#properties/ship_from_sender_phone",
81
+ "allow_empty": true
82
+ },
83
+ "ship from name": {
84
+ "merge_pointer": "/ship_from_name",
85
+ "type_ref": "shipping_core.json#properties/ship_from_name",
86
+ "allow_empty": true
87
+ },
88
+ "ship from street1": {
89
+ "merge_pointer": "/ship_from_street1",
90
+ "type_ref": "shipping_core.json#properties/ship_from_street1",
91
+ "allow_empty": true
92
+ },
93
+ "ship from street2": {
94
+ "merge_pointer": "/ship_from_street2",
95
+ "type_ref": "shipping_core.json#properties/ship_from_street2",
96
+ "allow_empty": true
97
+ },
98
+ "ship from city": {
99
+ "merge_pointer": "/ship_from_city",
100
+ "type_ref": "shipping_core.json#properties/ship_from_city",
101
+ "allow_empty": true
102
+ },
103
+ "ship from state": {
104
+ "merge_pointer": "/ship_from_state",
105
+ "type_ref": "shipping_core.json#properties/ship_from_state",
106
+ "allow_empty": true
107
+ },
108
+ "ship from zip": {
109
+ "merge_pointer": "/ship_from_zip",
110
+ "type_ref": "shipping_core.json#properties/ship_from_zip",
111
+ "allow_empty": true
112
+ },
113
+ "ship from country": {
114
+ "merge_pointer": "/ship_from_country",
115
+ "type_ref": "shipping_core.json#properties/ship_from_country",
116
+ "allow_empty": true
117
+ },
118
+ "ship to name": {
119
+ "merge_pointer": "/ship_to_name",
120
+ "type_ref": "shipping_core.json#properties/ship_to_name",
121
+ "allow_empty": true
122
+ },
123
+ "ship to street1": {
124
+ "merge_pointer": "/ship_to_street1",
125
+ "type_ref": "shipping_core.json#properties/ship_to_street1",
126
+ "allow_empty": true
127
+ },
128
+ "ship to street2": {
129
+ "merge_pointer": "/ship_to_street2",
130
+ "type_ref": "shipping_core.json#properties/ship_to_street2",
131
+ "allow_empty": true
132
+ },
133
+ "ship to city": {
134
+ "merge_pointer": "/ship_to_city",
135
+ "type_ref": "shipping_core.json#properties/ship_to_city",
136
+ "allow_empty": true
137
+ },
138
+ "ship to state": {
139
+ "merge_pointer": "/ship_to_state",
140
+ "type_ref": "shipping_core.json#properties/ship_to_state",
71
141
  "allow_empty": true
72
142
  },
73
- "ship to": {
74
- "merge_pointer": "/ship_to",
75
- "type_ref": "shipping_core.json#properties/ship_to",
143
+ "ship to zip": {
144
+ "merge_pointer": "/ship_to_zip",
145
+ "type_ref": "shipping_core.json#properties/ship_to_zip",
146
+ "allow_empty": true
147
+ },
148
+ "ship to country": {
149
+ "merge_pointer": "/ship_to_country",
150
+ "type_ref": "shipping_core.json#properties/ship_to_country",
76
151
  "allow_empty": true
77
152
  }
78
153
  }
@@ -84,6 +159,8 @@
84
159
  "data_columns": {
85
160
  "IDs": {
86
161
  "entry (#)": {
162
+ "do_not_merge": true,
163
+ "allow_empty": true,
87
164
  "merge_pointer": "/shipping_entry_number",
88
165
  "type_ref": "sample.json#properties/shipping_entry_number"
89
166
  },
@@ -126,6 +203,11 @@
126
203
  "type_ref": "sample.json#properties/box_number",
127
204
  "allow_empty": true
128
205
  },
206
+ "description of sample": {
207
+ "merge_pointer": "/description_of_sample",
208
+ "type_ref": "sample.json#properties/description_of_sample",
209
+ "allow_empty": true
210
+ },
129
211
  "sample location": {
130
212
  "merge_pointer": "/sample_location",
131
213
  "type_ref": "sample.json#properties/sample_location",
@@ -139,6 +221,20 @@
139
221
  "merge_pointer": "/sample_collection_procedure",
140
222
  "type_ref": "sample.json#properties/sample_collection_procedure"
141
223
  },
224
+ "sample collection procedure other": {
225
+ "merge_pointer": "/sample_collection_procedure_other",
226
+ "type_ref": "sample.json#properties/sample_collection_procedure_other",
227
+ "allow_empty": true
228
+ },
229
+ "type of primary container": {
230
+ "merge_pointer": "/type_of_primary_container",
231
+ "type_ref": "sample.json#properties/type_of_primary_container"
232
+ },
233
+ "type of primary container other": {
234
+ "merge_pointer": "/type_of_primary_container_other",
235
+ "type_ref": "sample.json#properties/type_of_primary_container_other",
236
+ "allow_empty": true
237
+ },
142
238
  "processed sample type": {
143
239
  "merge_pointer": "/processed_sample_type",
144
240
  "type_ref": "sample.json#properties/processed_sample_type"
@@ -199,6 +295,10 @@
199
295
  "type_ref": "sample.json#properties/material_storage_condition",
200
296
  "allow_empty": true
201
297
  },
298
+ "fixation stabilization type": {
299
+ "merge_pointer": "/fixation_stabilization_type",
300
+ "type_ref": "sample.json#properties/fixation_stabilization_type"
301
+ },
202
302
  "quality of sample": {
203
303
  "merge_pointer": "/quality_of_sample",
204
304
  "type_ref": "sample.json#properties/quality_of_sample",
@@ -40,16 +40,16 @@
40
40
  "type_ref": "shipping_core.json#properties/tracking_number",
41
41
  "allow_empty": true
42
42
  },
43
- "account number": {
44
- "merge_pointer": "/account_number",
45
- "type_ref": "shipping_core.json#properties/account_number",
46
- "allow_empty": true
47
- },
48
43
  "shipping condition": {
49
44
  "merge_pointer": "/shipping_condition",
50
45
  "type_ref": "shipping_core.json#properties/shipping_condition",
51
46
  "allow_empty": true
52
47
  },
48
+ "shipping condition other": {
49
+ "merge_pointer": "/shipping_condition_other",
50
+ "type_ref": "shipping_core.json#properties/shipping_condition_other",
51
+ "allow_empty": true
52
+ },
53
53
  "date shipped": {
54
54
  "merge_pointer": "/date_shipped",
55
55
  "type_ref": "shipping_core.json#properties/date_shipped",
@@ -65,14 +65,89 @@
65
65
  "type_ref": "shipping_core.json#properties/quality_of_shipment",
66
66
  "allow_empty": true
67
67
  },
68
- "ship from": {
69
- "merge_pointer": "/ship_from",
70
- "type_ref": "shipping_core.json#properties/ship_from",
68
+ "ship from sender person name": {
69
+ "merge_pointer": "/ship_from_sender_person_name",
70
+ "type_ref": "shipping_core.json#properties/ship_from_sender_person_name",
71
+ "allow_empty": true
72
+ },
73
+ "ship from sender email": {
74
+ "merge_pointer": "/ship_from_sender_email",
75
+ "type_ref": "shipping_core.json#properties/ship_from_sender_email",
76
+ "allow_empty": true
77
+ },
78
+ "ship from sender phone": {
79
+ "merge_pointer": "/ship_from_sender_phone",
80
+ "type_ref": "shipping_core.json#properties/ship_from_sender_phone",
81
+ "allow_empty": true
82
+ },
83
+ "ship from name": {
84
+ "merge_pointer": "/ship_from_name",
85
+ "type_ref": "shipping_core.json#properties/ship_from_name",
86
+ "allow_empty": true
87
+ },
88
+ "ship from street1": {
89
+ "merge_pointer": "/ship_from_street1",
90
+ "type_ref": "shipping_core.json#properties/ship_from_street1",
91
+ "allow_empty": true
92
+ },
93
+ "ship from street2": {
94
+ "merge_pointer": "/ship_from_street2",
95
+ "type_ref": "shipping_core.json#properties/ship_from_street2",
96
+ "allow_empty": true
97
+ },
98
+ "ship from city": {
99
+ "merge_pointer": "/ship_from_city",
100
+ "type_ref": "shipping_core.json#properties/ship_from_city",
101
+ "allow_empty": true
102
+ },
103
+ "ship from state": {
104
+ "merge_pointer": "/ship_from_state",
105
+ "type_ref": "shipping_core.json#properties/ship_from_state",
106
+ "allow_empty": true
107
+ },
108
+ "ship from zip": {
109
+ "merge_pointer": "/ship_from_zip",
110
+ "type_ref": "shipping_core.json#properties/ship_from_zip",
111
+ "allow_empty": true
112
+ },
113
+ "ship from country": {
114
+ "merge_pointer": "/ship_from_country",
115
+ "type_ref": "shipping_core.json#properties/ship_from_country",
116
+ "allow_empty": true
117
+ },
118
+ "ship to name": {
119
+ "merge_pointer": "/ship_to_name",
120
+ "type_ref": "shipping_core.json#properties/ship_to_name",
71
121
  "allow_empty": true
72
122
  },
73
- "ship to": {
74
- "merge_pointer": "/ship_to",
75
- "type_ref": "shipping_core.json#properties/ship_to",
123
+ "ship to street1": {
124
+ "merge_pointer": "/ship_to_street1",
125
+ "type_ref": "shipping_core.json#properties/ship_to_street1",
126
+ "allow_empty": true
127
+ },
128
+ "ship to street2": {
129
+ "merge_pointer": "/ship_to_street2",
130
+ "type_ref": "shipping_core.json#properties/ship_to_street2",
131
+ "allow_empty": true
132
+ },
133
+ "ship to city": {
134
+ "merge_pointer": "/ship_to_city",
135
+ "type_ref": "shipping_core.json#properties/ship_to_city",
136
+ "allow_empty": true
137
+ },
138
+ "ship to state": {
139
+ "merge_pointer": "/ship_to_state",
140
+ "type_ref": "shipping_core.json#properties/ship_to_state",
141
+ "allow_empty": true
142
+ },
143
+ "ship to zip": {
144
+ "merge_pointer": "/ship_to_zip",
145
+ "type_ref": "shipping_core.json#properties/ship_to_zip",
146
+ "allow_empty": true
147
+ },
148
+ "ship to country": {
149
+ "merge_pointer": "/ship_to_country",
150
+ "type_ref": "shipping_core.json#properties/ship_to_country",
76
151
  "allow_empty": true
77
152
  }
78
153
  }
@@ -84,6 +159,8 @@
84
159
  "data_columns": {
85
160
  "IDs": {
86
161
  "entry (#)": {
162
+ "do_not_merge": true,
163
+ "allow_empty": true,
87
164
  "merge_pointer": "/shipping_entry_number",
88
165
  "type_ref": "sample.json#properties/shipping_entry_number"
89
166
  },
@@ -139,9 +216,18 @@
139
216
  "merge_pointer": "/sample_collection_procedure",
140
217
  "type_ref": "sample.json#properties/sample_collection_procedure"
141
218
  },
219
+ "sample collection procedure other": {
220
+ "merge_pointer": "/sample_collection_procedure_other",
221
+ "type_ref": "sample.json#properties/sample_collection_procedure_other",
222
+ "allow_empty": true
223
+ },
142
224
  "type of primary container": {
143
225
  "merge_pointer": "/type_of_primary_container",
144
- "type_ref": "sample.json#properties/type_of_primary_container",
226
+ "type_ref": "sample.json#properties/type_of_primary_container"
227
+ },
228
+ "type of primary container other": {
229
+ "merge_pointer": "/type_of_primary_container_other",
230
+ "type_ref": "sample.json#properties/type_of_primary_container_other",
145
231
  "allow_empty": true
146
232
  },
147
233
  "processed sample type": {
@@ -231,6 +317,10 @@
231
317
  "type_ref": "sample.json#properties/material_storage_condition",
232
318
  "allow_empty": true
233
319
  },
320
+ "fixation stabilization type": {
321
+ "merge_pointer": "/fixation_stabilization_type",
322
+ "type_ref": "sample.json#properties/fixation_stabilization_type"
323
+ },
234
324
  "quality of sample": {
235
325
  "merge_pointer": "/quality_of_sample",
236
326
  "type_ref": "sample.json#properties/quality_of_sample",