-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphql
More file actions
542 lines (494 loc) · 12.9 KB
/
schema.graphql
File metadata and controls
542 lines (494 loc) · 12.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
input AnatomyInput {
id: [String!] = null
name: [String!] = null
description: [String!] = null
}
type AnatomyType {
id: String!
name: String!
description: String
}
input AssayTypeInput {
id: [String!] = null
name: [String!] = null
description: [String!] = null
}
type AssayTypeType {
id: String!
name: String!
description: String
}
input BiosampleInput {
idNamespace: [String!] = null
localId: [String!] = null
projectIdNamespace: [String!] = null
projectLocalId: [String!] = null
persistentId: [String!] = null
creationTime: [String!] = null
samplePrepMethod: [String!] = null
anatomy: [AnatomyInput!] = null
biofluid: [String!] = null
subjects: [SubjectInput!] = null
extra: [EnrichedBiosampleInput!] = null
}
type BiosampleType {
idNamespace: String!
localId: String!
projectIdNamespace: String!
projectLocalId: String!
persistentId: String
creationTime: String
samplePrepMethod: String
anatomy: AnatomyType
biofluid: String
subjects: [SubjectType!]!
extra: EnrichedBiosampleType
}
input CollectionInput {
biosamples: [BiosampleInput!] = null
idNamespace: [String!] = null
localId: [String!] = null
persistentId: [String!] = null
creationTime: [String!] = null
abbreviation: [String!] = null
name: [String!] = null
description: [String!] = null
lab: [String!] = null
experimentType: [String!] = null
experimentTarget: [String!] = null
analyteClass: [String!] = null
anatomy: [AnatomyInput!] = null
subjects: [SubjectInput!] = null
extra: [EnrichedCollectionInput!] = null
}
type CollectionType {
biosamples: [BiosampleType!]!
idNamespace: String!
localId: String!
persistentId: String
creationTime: String
abbreviation: String
name: String!
description: String
lab: String
experimentType: String
experimentTarget: String
analyteClass: String
anatomy: [AnatomyType!]!
subjects: [SubjectType!]!
extra: EnrichedCollectionType
}
input DataTypeInput {
id: [String!] = null
name: [String!] = null
description: [String!] = null
}
type DataTypeType {
id: String!
name: String!
description: String
}
input DccInput {
id: [String!] = null
dccName: [String!] = null
dccAbbreviation: [String!] = null
dccDescription: [String!] = null
contactEmail: [String!] = null
contactName: [String!] = null
dccUrl: [String!] = null
projectIdNamespace: [String!] = null
projectLocalId: [String!] = null
}
type DccType {
id: String!
dccName: String!
dccAbbreviation: String!
dccDescription: String
contactEmail: String!
contactName: String!
dccUrl: String!
projectIdNamespace: String!
projectLocalId: String!
}
type DistinctFieldType {
field: String!
values: JSON!
}
input EnrichedBiosampleInput {
encode: [EnrichedEncodeBiosampleInput!] = null
}
type EnrichedBiosampleType {
encode: EnrichedEncodeBiosampleType
}
input EnrichedCollectionInput {
fourdn: [EnrichedFourdnCollectionInput!] = null
encode: [EnrichedEncodeCollectionInput!] = null
hubmap: [EnrichedHubmapCollectionInput!] = null
}
type EnrichedCollectionType {
fourdn: EnrichedFourdnCollectionType
hubmap: EnrichedHubmapCollectionType
encode: EnrichedEncodeCollectionType
}
input EnrichedEncodeBiosampleInput {
biosampleType: [String!] = null
biosampleTreatments: [String!] = null
biosampleTreatmentsAmount: [String!] = null
biosampleTreatmentsDuration: [String!] = null
biosampleGeneticModifications: [String!] = null
libraryMadeFrom: [String!] = null
libraryDepletedIn: [String!] = null
libraryExtractionMethod: [String!] = null
libraryLysisMethod: [String!] = null
libraryCrosslinkingMethod: [String!] = null
libraryStrandSpecific: [String!] = null
libraryFragmentationMethod: [String!] = null
librarySizeRange: [String!] = null
}
type EnrichedEncodeBiosampleType {
biosampleType: String
biosampleTreatments: String
biosampleTreatmentsAmount: String
biosampleTreatmentsDuration: String
biosampleGeneticModifications: String
libraryMadeFrom: String
libraryDepletedIn: String
libraryExtractionMethod: String
libraryLysisMethod: String
libraryCrosslinkingMethod: String
libraryStrandSpecific: String
libraryFragmentationMethod: String
librarySizeRange: String
}
input EnrichedEncodeCollectionInput {
experimentTarget: [String!] = null
project: [String!] = null
platform: [String!] = null
dbxrefs: [String!] = null
rbnsProteinConcentration: [String!] = null
}
type EnrichedEncodeCollectionType {
project: String
platform: String
dbxrefs: String
rbnsProteinConcentration: String
}
input EnrichedEncodeFileInput {
assembly: [String!] = null
fileFormatType: [String!] = null
outputType: [String!] = null
genomeAnnotation: [String!] = null
controlledBy: [String!] = null
s3Uri: [String!] = null
azureUrl: [String!] = null
fileAnalysisTitle: [String!] = null
fileAnalysisStatus: [String!] = null
readLength: [String!] = null
mappedReadLength: [String!] = null
runType: [String!] = null
pairedEnd: [String!] = null
pairedWith: [String!] = null
indexOf: [String!] = null
derivedFrom: [String!] = null
auditWarning: [String!] = null
auditNotCompliant: [String!] = null
auditError: [String!] = null
}
type EnrichedEncodeFileType {
assembly: String
fileFormatType: String
outputType: String
genomeAnnotation: String
controlledBy: String
s3Uri: String
azureUrl: String
fileAnalysisTitle: String
fileAnalysisStatus: String
biologicalReplicates: String
technicalReplicates: String
readLength: String
mappedReadLength: String
runType: String
pairedEnd: String
pairedWith: String
indexOf: String
derivedFrom: String
auditWarning: String
auditNotCompliant: String
auditError: String
}
input EnrichedFileInput {
fourdn: [EnrichedFourdnFileInput!] = null
encode: [EnrichedEncodeFileInput!] = null
hubmap: [EnrichedHubmapFileInput!] = null
}
type EnrichedFileType {
fourdn: EnrichedFourdnFileType
encode: EnrichedEncodeFileType
hubmap: EnrichedHubmapFileType
}
input EnrichedFourdnCollectionInput {
displayTitle: [String!] = null
targetedFactor: [String!] = null
digestionEnzyme: [String!] = null
crosslinkingMethod: [String!] = null
crosslinkingTemperature: [String!] = null
crosslinkingTime: [String!] = null
ligationTemperature: [String!] = null
ligationVolume: [String!] = null
ligationTime: [String!] = null
digestionTemperature: [String!] = null
digestionTime: [String!] = null
taggingMethod: [String!] = null
fragmentationMethod: [String!] = null
biotinRemoved: [String!] = null
libraryPrepKit: [String!] = null
averageFragmentSize: [String!] = null
fragmentSizeRange: [String!] = null
status: [String!] = null
dateCreated: [String!] = null
}
type EnrichedFourdnCollectionType {
displayTitle: String
targetedFactor: [String!]
digestionEnzyme: String
crosslinkingMethod: String
crosslinkingTemperature: String
crosslinkingTime: String
ligationTemperature: String
ligationVolume: String
ligationTime: String
digestionTemperature: String
digestionTime: String
taggingMethod: String
fragmentationMethod: String
biotinRemoved: String
libraryPrepKit: String
averageFragmentSize: String
fragmentSizeRange: String
status: String
dateCreated: String
}
input EnrichedFourdnFileInput {
enrichedFileFormat: [String!] = null
genomeAssembly: [String!] = null
fileType: [String!] = null
fileTypeDetailed: [String!] = null
condition: [String!] = null
biosourceName: [String!] = null
dataset: [String!] = null
replicateInfo: [String!] = null
cellLineTier: [String!] = null
}
type EnrichedFourdnFileType {
enrichedFileFormat: String
genomeAssembly: String
fileType: String
fileTypeDetailed: String
condition: String
biosourceName: String
dataset: String
replicateInfo: String
cellLineTier: String
extraFiles: [ExtraFileType!]
}
input EnrichedHubmapCollectionInput {
datasetType: [String!] = null
pipeline: [String!] = null
processing: [String!] = null
groupName: [String!] = null
analyteClass: [String!] = null
visualization: [Boolean!] = null
}
type EnrichedHubmapCollectionType {
pipeline: String
processing: String
groupName: String
visualization: Boolean
vitessceHints: [String!]
metadata: JSON
}
input EnrichedHubmapFileInput {
genomeAssembly: [String!] = null
relPath: [String!] = null
isDataProduct: [Boolean!] = null
}
type EnrichedHubmapFileType {
genomeAssembly: String
relPath: String
isDataProduct: Boolean
}
type EnrichedHubmapSubjectType {
ageValue: Float
ageUnit: String
sex: String
race: String
bodyMassIndexValue: Float
bodyMassIndexUnit: String
causeOfDeath: String
deathEvent: String
mechanismOfInjury: String
medicalHistory: [String!]
socialHistory: [String!]
heightValue: Float
heightUnit: String
weightValue: Float
weightUnit: String
}
type EnrichedSubjectType {
hubmap: EnrichedHubmapSubjectType
}
type ExtraFileType {
href: String
md5sum: String
fileSize: Int
fileFormat: String
}
input FileFormatInput {
id: [String!] = null
name: [String!] = null
description: [String!] = null
}
type FileFormatType {
id: String!
name: String!
description: String
}
input FileMetadataInput {
dcc: [DccInput!] = null
collections: [CollectionInput!] = null
project: [ProjectInput!] = null
idNamespace: [String!] = null
localId: [String!] = null
projectIdNamespace: [String!] = null
projectLocalId: [String!] = null
persistentId: [String!] = null
creationTime: [String!] = null
sizeInBytes: [Int!] = null
sha256: [String!] = null
md5: [String!] = null
filename: [String!] = null
fileFormat: [FileFormatInput!] = null
compressionFormat: [String!] = null
dataType: [DataTypeInput!] = null
assayType: [AssayTypeInput!] = null
analysisType: [String!] = null
mimeType: [String!] = null
bundleCollectionIdNamespace: [String!] = null
bundleCollectionLocalId: [String!] = null
dbgapStudyId: [String!] = null
accessUrl: [String!] = null
dataAccessLevel: [String!] = null
genomeAssembly: [String!] = null
genomeAnnotation: [String!] = null
outputType: [String!] = null
outputTypeDetail: [String!] = null
biologicalReplicates: [String!] = null
technicalReplicates: [String!] = null
assayInfo: [String!] = null
condition: [String!] = null
extra: [EnrichedFileInput!] = null
}
type FileMetadataType {
dcc: DccType!
collections: [CollectionType!]!
project: ProjectType
idNamespace: String!
localId: String!
projectIdNamespace: String!
projectLocalId: String!
persistentId: String
creationTime: String
sizeInBytes: Int
sha256: String
md5: String
filename: String!
fileFormat: FileFormatType
compressionFormat: String
dataType: DataTypeType
assayType: AssayTypeType
analysisType: String
mimeType: String
bundleCollectionIdNamespace: String
bundleCollectionLocalId: String
dbgapStudyId: String
accessUrl: String
status: String
dataAccessLevel: String
genomeAssembly: String
genomeAnnotation: String
outputType: String
outputTypeDetail: String
biologicalReplicates: String
technicalReplicates: String
assayInfo: String
condition: String
extra: EnrichedFileType
}
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
"""
scalar JSON @specifiedBy(url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf")
input NcbiTaxonomyInput {
id: [String!] = null
name: [String!] = null
clade: [String!] = null
}
type NcbiTaxonomyType {
id: String!
name: String!
clade: String
description: String
}
scalar ObjectIdScalar
input ProjectInput {
idNamespace: [String!] = null
localId: [String!] = null
name: [String!] = null
abbreviation: [String!] = null
description: [String!] = null
}
type ProjectType {
idNamespace: String!
localId: String!
name: String!
abbreviation: String
description: String
persistentId: String
}
type Query {
files(input: [FileMetadataInput!] = null, page: Int! = 0, pageSize: Int! = 25): [FileMetadataType!]!
file(id: ObjectIdScalar!): FileMetadataType
distinctValues(fields: [String!]!, input: [FileMetadataInput!] = null): [DistinctFieldType!]!
}
input SubjectInput {
idNamespace: [String!] = null
localId: [String!] = null
projectIdNamespace: [String!] = null
projectLocalId: [String!] = null
persistentId: [String!] = null
creationTime: [String!] = null
granularity: [String!] = null
sex: [String!] = null
ethnicity: [String!] = null
ageAtEnrollment: [Float!] = null
ageAtSampling: [Float!] = null
race: [String!] = null
taxonomy: [NcbiTaxonomyInput!] = null
}
type SubjectType {
idNamespace: String!
localId: String!
projectIdNamespace: String!
projectLocalId: String!
persistentId: String
creationTime: String
granularity: String
sex: String
ethnicity: String
ageAtEnrollment: Float
ageAtSampling: Float
race: [String!]!
taxonomy: NcbiTaxonomyType
extra: EnrichedSubjectType
}