forked from datasaur-ai/api-client-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_project_row_multiple_labelers.json
More file actions
102 lines (102 loc) · 3.83 KB
/
create_project_row_multiple_labelers.json
File metadata and controls
102 lines (102 loc) · 3.83 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
{
"operationName": "LaunchTextProjectMutation",
"variables": {
"input": {
"name": "Test Project with multiple labeler and cross assignments",
"documentSettings": {
"kind": "ROW_BASED",
"autoScrollWhenLabeling": true,
"displayedRows": 1,
"mediaDisplayStrategy": "FULL"
},
"assignees": [
{
"email": "labeler-A@datasaur.ai",
"documentNames": [
"file-1.csv",
"file-3.csv"
]
},
{
"email": "labeler-B@datasaur.ai",
"documentNames": [
"file-1.csv",
"file-2.csv"
]
},
{
"email": "labeler-C@datasaur.ai",
"documentNames": [
"file-2.csv",
"file-3.csv"
]
}
],
"projectSettings": {
"consensus": 1,
"enableEditLabelSet": false,
"enableEditSentence": false
},
"documents": [
{
"name": "file-1.csv",
"file": null,
"fileName": "file-1.csv",
"settings": {
"questions": [
{
"type": "DROPDOWN",
"config": {
"multiple": true,
"options": [
{
"id": "1",
"label": "Red"
},
{
"id": "2",
"label": "Black"
},
{
"id": "3",
"label": "White"
}
]
},
"name": "Color",
"label": "What color is it?",
"required": false
}
]
},
"docFileOptions": {
"customHeaderColumns": [
{
"name": "Book Cover 1",
"displayed": true,
"labelerRestricted": false
},
{
"name": "Book Cover 2",
"displayed": true,
"labelerRestricted": false
}
],
"firstRowAsHeader": true
}
},
{
"name": "file-2.csv",
"file": null,
"fileName": "file-2.csv"
},
{
"name": "file-3.csv",
"file": null,
"fileName": "file-3.csv"
}
]
}
},
"query": "mutation LaunchTextProjectMutation($input: LaunchTextProjectInput!) { launchTextProject(input: $input) { id rootDocumentId settings { consensus enableEditLabelSet enableEditSentence __typename } __typename }}"
}