forked from JSv4/OpenContracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
742 lines (655 loc) · 24.2 KB
/
schema.graphql
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
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
schema {
query: Query
mutation: Mutation
}
type AddAnnotation {
ok: Boolean
annotation: AnnotationType
}
type AddDocTypeAnnotation {
ok: Boolean
annotation: AnnotationType
}
type AddDocumentsToCorpus {
ok: Boolean
message: String
}
type AddRelationship {
ok: Boolean
relationship: RelationshipType
}
enum AnalysisStatus {
CREATED
QUEUED
RUNNING
COMPLETED
FAILED
}
type AnalysisType implements Node {
id: ID!
created: DateTime!
modified: DateTime!
isPublic: Boolean!
creator: UserType!
analyzer: AnalyzerType!
callbackToken: UUID!
receivedCallbackFile: String
analyzedCorpus: CorpusType!
importLog: String
analyzedDocuments(offset: Int, before: String, after: String, first: Int, last: Int): DocumentTypeConnection!
analysisStarted: DateTime
analysisCompleted: DateTime
status: AnalysisStatus!
annotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type AnalysisTypeConnection {
pageInfo: PageInfo!
edges: [AnalysisTypeEdge]!
totalCount: Int
}
type AnalysisTypeEdge {
node: AnalysisType
cursor: String!
}
type AnalyzerType implements Node {
creator: UserType!
created: DateTime!
modified: DateTime!
id: ID!
manifest: GenericScalar
description: String!
hostGremlin: GremlinEngineType_WRITE!
disabled: Boolean!
isPublic: Boolean!
annotationlabelSet(offset: Int, before: String, after: String, first: Int, last: Int): AnnotationLabelTypeConnection!
relationshipSet(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
labelsetSet(offset: Int, before: String, after: String, first: Int, last: Int): LabelSetTypeConnection!
analysisSet(offset: Int, before: String, after: String, first: Int, last: Int): AnalysisTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
analyzerId: String
}
type AnalyzerTypeConnection {
pageInfo: PageInfo!
edges: [AnalyzerTypeEdge]!
totalCount: Int
}
type AnalyzerTypeEdge {
node: AnalyzerType
cursor: String!
}
enum AnnotationLabelLabelType {
RELATIONSHIP_LABEL
DOC_TYPE_LABEL
TOKEN_LABEL
}
type AnnotationLabelType implements Node {
id: ID!
created: DateTime!
modified: DateTime!
labelType: AnnotationLabelLabelType!
analyzer: AnalyzerType
color: String!
description: String!
icon: String!
text: String!
isPublic: Boolean!
creator: UserType!
relationshipSet(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
annotationSet(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
includedInLabelsets(offset: Int, before: String, after: String, first: Int, last: Int): LabelSetTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type AnnotationLabelTypeConnection {
pageInfo: PageInfo!
edges: [AnnotationLabelTypeEdge]!
totalCount: Int
}
type AnnotationLabelTypeEdge {
node: AnnotationLabelType
cursor: String!
}
type AnnotationType implements Node {
id: ID!
page: Int!
rawText: String
tokensJsons: JSONString!
boundingBox: JSONString!
json: GenericScalar
annotationLabel: AnnotationLabelType
document: DocumentType!
corpus: CorpusType
analysis: AnalysisType
isPublic: Boolean!
creator: UserType!
created: DateTime!
modified: DateTime!
assignmentSet(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentTypeConnection!
sourceNodeInRelationships(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
targetNodeInRelationships(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type AnnotationTypeConnection {
pageInfo: PageInfo!
edges: [AnnotationTypeEdge]!
totalCount: Int
}
type AnnotationTypeEdge {
node: AnnotationType
cursor: String!
}
type AssignmentType implements Node {
id: ID!
name: String
document: DocumentType!
corpus: CorpusType
resultingAnnotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
resultingRelationships(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
comments: String!
assignor: UserType!
assignee: UserType
completedAt: DateTime
created: DateTime!
modified: DateTime!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type AssignmentTypeConnection {
pageInfo: PageInfo!
edges: [AssignmentTypeEdge]!
totalCount: Int
}
type AssignmentTypeEdge {
node: AssignmentType
cursor: String!
}
type CorpusType implements Node {
id: ID!
parent: CorpusType
title: String!
description: String!
icon: String
documents(offset: Int, before: String, after: String, first: Int, last: Int): DocumentTypeConnection!
labelSet: LabelSetType
isPublic: Boolean!
creator: UserType!
backendLock: Boolean!
userLock: UserType
error: Boolean!
created: DateTime!
modified: DateTime!
assignmentSet(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentTypeConnection!
children(offset: Int, before: String, after: String, first: Int, last: Int): CorpusTypeConnection!
relationshipSet(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
annotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
analyses(offset: Int, before: String, after: String, first: Int, last: Int): AnalysisTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type CorpusTypeConnection {
pageInfo: PageInfo!
edges: [CorpusTypeEdge]!
totalCount: Int
}
type CorpusTypeEdge {
node: CorpusType
cursor: String!
}
type CreateCorpusMutation {
ok: Boolean
message: String
}
type CreateLabelForLabelsetMutation {
ok: Boolean
message: String
obj: AnnotationLabelType
}
type CreateLabelMutation {
ok: Boolean
message: String
}
type CreateLabelset {
ok: Boolean
message: String
obj: LabelSetType
}
scalar DateTime
type DeleteCorpusMutation {
ok: Boolean
message: String
}
type DeleteDocument {
ok: Boolean
message: String
}
type DeleteExport {
ok: Boolean
message: String
}
type DeleteLabelMutation {
ok: Boolean
message: String
}
type DeleteLabelset {
ok: Boolean
message: String
}
type DeleteMultipleDocuments {
ok: Boolean
message: String
}
type DeleteMultipleLabelMutation {
ok: Boolean
message: String
}
type DocumentType implements Node {
id: ID!
title: String
description: String
customMeta: JSONString
icon: String!
pdfFile: String!
txtExtractFile: String
pawlsParseFile: String
backendLock: Boolean!
userLock: UserType
isPublic: Boolean!
creator: UserType!
created: DateTime!
modified: DateTime!
assignmentSet(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentTypeConnection!
corpusSet(offset: Int, before: String, after: String, first: Int, last: Int): CorpusTypeConnection!
relationshipSet(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
docAnnotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
includedInAnalyses(offset: Int, before: String, after: String, first: Int, last: Int): AnalysisTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type DocumentTypeConnection {
pageInfo: PageInfo!
edges: [DocumentTypeEdge]!
totalCount: Int
}
type DocumentTypeEdge {
node: DocumentType
cursor: String!
}
scalar GenericScalar
type GremlinEngineType_READ implements Node {
id: ID!
creator: UserType!
created: DateTime!
modified: DateTime!
url: String!
lastSynced: DateTime
installStarted: DateTime
installCompleted: DateTime
isPublic: Boolean!
analyzerSet(offset: Int, before: String, after: String, first: Int, last: Int): AnalyzerTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type GremlinEngineType_READConnection {
pageInfo: PageInfo!
edges: [GremlinEngineType_READEdge]!
totalCount: Int
}
type GremlinEngineType_READEdge {
node: GremlinEngineType_READ
cursor: String!
}
type GremlinEngineType_WRITE implements Node {
id: ID!
creator: UserType!
created: DateTime!
modified: DateTime!
url: String!
lastSynced: DateTime
installStarted: DateTime
installCompleted: DateTime
isPublic: Boolean!
analyzerSet(offset: Int, before: String, after: String, first: Int, last: Int): AnalyzerTypeConnection!
apiKey: String
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type GremlinEngineType_WRITEConnection {
pageInfo: PageInfo!
edges: [GremlinEngineType_WRITEEdge]!
totalCount: Int
}
type GremlinEngineType_WRITEEdge {
node: GremlinEngineType_WRITE
cursor: String!
}
scalar JSONString
type LabelSetType implements Node {
id: ID!
isPublic: Boolean!
creator: UserType!
created: DateTime!
modified: DateTime!
title: String!
description: String!
icon: String!
annotationLabels(offset: Int, before: String, after: String, first: Int, last: Int, description_Contains: String, text: String, text_Contains: String, labelType: String, usedInLabelsetId: String, usedInLabelsetForCorpusId: String): AnnotationLabelTypeConnection
analyzer: AnalyzerType
usedByCorpuses(offset: Int, before: String, after: String, first: Int, last: Int): CorpusTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type LabelSetTypeConnection {
pageInfo: PageInfo!
edges: [LabelSetTypeEdge]!
totalCount: Int
}
type LabelSetTypeEdge {
node: LabelSetType
cursor: String!
}
type MakeCorpusPublic {
ok: Boolean
message: String
obj: CorpusType
}
type Mutation {
tokenAuth(username: String!, password: String!): ObtainJSONWebTokenWithUser
verifyToken(token: String): Verify
refreshToken(refreshToken: String): Refresh
addAnnotation(annotationLabelId: String!, corpusId: String!, documentId: String!, json: GenericScalar!, page: Int!, rawText: String!): AddAnnotation
removeAnnotation(annotationId: String!): RemoveAnnotation
updateAnnotation(annotationLabel: String, id: String!, json: GenericScalar, page: Int, rawText: String): UpdateAnnotation
addDocTypeAnnotation(annotationLabelId: String!, corpusId: String!, documentId: String!): AddDocTypeAnnotation
removeDocTypeAnnotation(annotationId: String!): RemoveAnnotation
addRelationship(corpusId: String!, documentId: String!, relationshipLabelId: String!, sourceIds: [String]!, targetIds: [String]!): AddRelationship
removeRelationship(relationshipId: String!): RemoveRelationship
removeRelationships(relationshipIds: [String]): RemoveRelationships
updateRelationships(relationships: [RelationInputType]): UpdateRelations
createLabelset(base64IconString: String, description: String, filename: String!, title: String!): CreateLabelset
updateLabelset(description: String, icon: String, id: String!, title: String!): UpdateLabelset
deleteLabelset(id: String!): DeleteLabelset
createAnnotationLabel(color: String, description: String, icon: String, text: String, type: String): CreateLabelMutation
updateAnnotationLabel(color: String, description: String, icon: String, id: String!, labelType: String, text: String): UpdateLabelMutation
deleteAnnotationLabel(id: String!): DeleteLabelMutation
deleteMultipleAnnotationLabels(annotationLabelIdsToDelete: [String]!): DeleteMultipleLabelMutation
createAnnotationLabelForLabelset(color: String, description: String, icon: String, labelType: String, labelsetId: String!, text: String): CreateLabelForLabelsetMutation
removeAnnotationLabelsFromLabelset(labelIds: [String]!, labelsetId: String! = "Id of the labelset to delete the labels from"): RemoveLabelsFromLabelsetMutation
uploadDocument(base64FileString: String!, customMeta: GenericScalar, description: String!, filename: String!, title: String!): UploadDocument
updateDocument(customMeta: GenericScalar, description: String, id: String!, pdfFile: String, title: String): UpdateDocument
deleteDocument(id: String!): DeleteDocument
exportDocument(corpusId: String!, documentId: String!): StartDocumentExport
deleteMultipleDocuments(documentIdsToDelete: [String]!): DeleteMultipleDocuments
forkCorpus(corpusId: String!): StartCorpusFork
makeCorpusPublic(corpusId: String!): MakeCorpusPublic
createCorpus(description: String, icon: String, labelSet: String, title: String): CreateCorpusMutation
updateCorpus(description: String, icon: String, id: String!, labelSet: String, title: String): UpdateCorpusMutation
deleteCorpus(id: String!): DeleteCorpusMutation
linkDocumentsToCorpus(corpusId: String!, documentIds: [String]!): AddDocumentsToCorpus
removeDocumentsFromCorpus(corpusId: String!, documentIdsToRemove: [String]!): RemoveDocumentsFromCorpus
importOpenContractsZip(base64FileString: String!): UploadCorpusImportZip
exportCorpus(corpusId: String!): StartCorpusExport
deleteExport(id: String!): DeleteExport
startAnalysisOnCorpus(analyzerId: ID!, corpusId: ID!): StartCorpusAnalysisMutation
}
interface Node {
id: ID!
}
type ObtainJSONWebTokenWithUser {
payload: GenericScalar!
refreshExpiresIn: Int!
user: UserType
token: String!
refreshToken: String!
}
type PageInfo {
hasNextPage: Boolean!
hasPreviousPage: Boolean!
startCursor: String
endCursor: String
}
type Query {
annotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection
annotation(id: ID!): AnnotationType
relationships(offset: Int, before: String, after: String, first: Int, last: Int, relationshipLabel: ID, corpusId: ID, documentId: ID): RelationshipTypeConnection
relationship(id: ID!): RelationshipType
annotationLabels(offset: Int, before: String, after: String, first: Int, last: Int, description_Contains: String, text: String, text_Contains: String, labelType: String, usedInLabelsetId: String, usedInLabelsetForCorpusId: String): AnnotationLabelTypeConnection
annotationLabel(id: ID!): AnnotationLabelType
labelsets(offset: Int, before: String, after: String, first: Int, last: Int, id: Float, description_Contains: String, title: String, title_Contains: String, textSearch: String, labelsetId: String): LabelSetTypeConnection
labelset(id: ID!): LabelSetType
corpuses(offset: Int, before: String, after: String, first: Int, last: Int, description: String, description_Contains: String, id: Float, title_Contains: String, textSearch: String, usesLabelsetId: String): CorpusTypeConnection
corpus(id: ID!): CorpusType
documents(offset: Int, before: String, after: String, first: Int, last: Int, description: String, description_Contains: String, id: Float, companySearch: String, hasPdf: Boolean, inCorpusWithId: String, hasLabelWithTitle: String, hasLabelWithId: String, textSearch: String): DocumentTypeConnection
document(id: String): DocumentType
userimports(offset: Int, before: String, after: String, first: Int, last: Int): UserImportTypeConnection
userimport(id: ID!): UserImportType
userexports(offset: Int, before: String, after: String, first: Int, last: Int, name_Contains: String, id: Float, created_Lte: DateTime, started_Lte: DateTime, finished_Lte: DateTime, orderByCreated: String, orderByStarted: String, orderByFinished: String): UserExportTypeConnection
userexport(id: ID!): UserExportType
assignments(offset: Int, before: String, after: String, first: Int, last: Int, assignor_Email: String, assignee_Email: String, documentId: String): AssignmentTypeConnection
assignment(id: ID!): AssignmentType
gremlinEngine(id: ID!): GremlinEngineType_READ
gremlinEngines(offset: Int, before: String, after: String, first: Int, last: Int, url: String): GremlinEngineType_READConnection
analyzer(id: ID!): AnalyzerType
analyzers(offset: Int, before: String, after: String, first: Int, last: Int, description_Contains: String, disabled: Boolean, analyzerId: String, hostedByGremlinEngineId: String): AnalyzerTypeConnection
analysis(id: ID!): AnalysisType
analyses(offset: Int, before: String, after: String, first: Int, last: Int, analysisStarted_Gte: DateTime, analysisStarted_Lte: DateTime, analysisCompleted_Gte: DateTime, analysisCompleted_Lte: DateTime, status: String, receivedCallbackResults: Boolean): AnalysisTypeConnection
}
type Refresh {
payload: GenericScalar!
refreshExpiresIn: Int!
token: String!
refreshToken: String!
}
input RelationInputType {
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
id: String
sourceIds: [String]
targetIds: [String]
relationshipLabelId: String
corpusId: String
documentId: String
}
type RelationshipType implements Node {
id: ID!
relationshipLabel: AnnotationLabelType
corpus: CorpusType
document: DocumentType!
sourceAnnotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
targetAnnotations(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
analyzer: AnalyzerType
isPublic: Boolean!
creator: UserType!
created: DateTime!
modified: DateTime!
assignmentSet(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type RelationshipTypeConnection {
pageInfo: PageInfo!
edges: [RelationshipTypeEdge]!
totalCount: Int
}
type RelationshipTypeEdge {
node: RelationshipType
cursor: String!
}
type RemoveAnnotation {
ok: Boolean
}
type RemoveDocumentsFromCorpus {
ok: Boolean
message: String
}
type RemoveLabelsFromLabelsetMutation {
ok: Boolean
message: String
}
type RemoveRelationship {
ok: Boolean
}
type RemoveRelationships {
ok: Boolean
}
type StartCorpusAnalysisMutation {
ok: Boolean
message: String
obj: AnalysisType
}
type StartCorpusExport {
ok: Boolean
message: String
export: UserExportType
}
type StartCorpusFork {
ok: Boolean
message: String
newCorpus: CorpusType
}
type StartDocumentExport {
ok: Boolean
message: String
export: UserExportType
}
scalar UUID
type UpdateAnnotation {
ok: Boolean
message: String
}
type UpdateCorpusMutation {
ok: Boolean
message: String
}
type UpdateDocument {
ok: Boolean
message: String
}
type UpdateLabelMutation {
ok: Boolean
message: String
}
type UpdateLabelset {
ok: Boolean
message: String
}
type UpdateRelations {
ok: Boolean
}
type UploadCorpusImportZip {
ok: Boolean
message: String
corpus: CorpusType
}
type UploadDocument {
ok: Boolean
message: String
document: DocumentType
}
type UserExportType implements Node {
id: ID!
zip: String!
name: String
created: DateTime!
started: DateTime
finished: DateTime
errors: String!
backendLock: Boolean!
isPublic: Boolean!
creator: UserType!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type UserExportTypeConnection {
pageInfo: PageInfo!
edges: [UserExportTypeEdge]!
totalCount: Int
}
type UserExportTypeEdge {
node: UserExportType
cursor: String!
}
type UserImportType implements Node {
id: ID!
zip: String!
name: String
created: DateTime!
started: DateTime
finished: DateTime
errors: String!
isPublic: Boolean!
creator: UserType!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type UserImportTypeConnection {
pageInfo: PageInfo!
edges: [UserImportTypeEdge]!
totalCount: Int
}
type UserImportTypeEdge {
node: UserImportType
cursor: String!
}
type UserType implements Node {
id: ID!
password: String!
lastLogin: DateTime
isSuperuser: Boolean!
username: String!
isStaff: Boolean!
dateJoined: DateTime!
name: String!
firstName: String!
lastName: String!
givenName: String!
familyName: String!
auth0Id: String!
phone: String!
email: String!
synced: Boolean!
isActive: Boolean!
emailVerified: Boolean!
isSocialUser: Boolean!
lastSynced: DateTime
firstSignedIn: DateTime!
lastIp: String!
createdAssignments(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentTypeConnection!
myAssignments(offset: Int, before: String, after: String, first: Int, last: Int): AssignmentTypeConnection!
userexportSet(offset: Int, before: String, after: String, first: Int, last: Int): UserExportTypeConnection!
userimportSet(offset: Int, before: String, after: String, first: Int, last: Int): UserImportTypeConnection!
editingDocuments(offset: Int, before: String, after: String, first: Int, last: Int): DocumentTypeConnection!
documentSet(offset: Int, before: String, after: String, first: Int, last: Int): DocumentTypeConnection!
corpusSet(offset: Int, before: String, after: String, first: Int, last: Int): CorpusTypeConnection!
editingCorpuses(offset: Int, before: String, after: String, first: Int, last: Int): CorpusTypeConnection!
annotationlabelSet(offset: Int, before: String, after: String, first: Int, last: Int): AnnotationLabelTypeConnection!
relationshipSet(offset: Int, before: String, after: String, first: Int, last: Int): RelationshipTypeConnection!
annotationSet(offset: Int, before: String, after: String, first: Int, last: Int, rawText_Contains: String, annotationLabelId: ID, annotationLabel_Text: String, annotationLabel_Text_Contains: String, annotationLabel_Description_Contains: String, annotationLabel_LabelType: String, documentId: ID, corpusId: ID, usesLabelFromLabelsetId: String): AnnotationTypeConnection!
labelsetSet(offset: Int, before: String, after: String, first: Int, last: Int): LabelSetTypeConnection!
gremlinengineSet(offset: Int, before: String, after: String, first: Int, last: Int): GremlinEngineType_WRITEConnection!
analyzerSet(offset: Int, before: String, after: String, first: Int, last: Int): AnalyzerTypeConnection!
analysisSet(offset: Int, before: String, after: String, first: Int, last: Int): AnalysisTypeConnection!
myPermissions: GenericScalar
isPublished: Boolean
objectSharedWith: GenericScalar
}
type Verify {
payload: GenericScalar!
}