Skip to content

Commit e054564

Browse files
author
Andrew Shipman
committed
Changes to support new/changed endpoints
1 parent b4155e3 commit e054564

File tree

3 files changed

+28
-12
lines changed

3 files changed

+28
-12
lines changed

dynatademand/schemas/request/body/create_line_item.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,7 @@
4545
"deliveryType": {
4646
"type": "string",
4747
"default": "BALANCED",
48-
"description": "The plan on how responses will flow into the survey.",
49-
"enum": [
50-
"SLOW",
51-
"BALANCED",
52-
"FAST"
53-
]
48+
"description": "The plan on how responses will flow into the survey."
5449
},
5550
"sources": {
5651
"type": "array",

dynatademand/schemas/request/body/create_project.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@
5555
"type": "string",
5656
"minLength": 1
5757
}
58+
},
59+
"studyType": {
60+
"type": "array",
61+
"description": "List of possible types of survey.",
62+
"items": {
63+
"type": "string"
64+
}
65+
},
66+
"surveyRequirements": {
67+
"type": "array",
68+
"description": "List of possible requirements for a survey.",
69+
"items": {
70+
"type": "string"
71+
}
5872
}
5973
}
6074
},
@@ -118,12 +132,7 @@
118132
"deliveryType": {
119133
"type": "string",
120134
"default": "BALANCED",
121-
"description": "The plan on how responses will flow into the survey.",
122-
"enum": [
123-
"SLOW",
124-
"BALANCED",
125-
"FAST"
126-
]
135+
"description": "The plan on how responses will flow into the survey."
127136
},
128137
"sources": {
129138
"type": "array",

dynatademand/schemas/request/body/update_project.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@
2525
"items": {
2626
"type": "string"
2727
}
28+
},
29+
"studyType": {
30+
"type": "array",
31+
"items": {
32+
"type": "string"
33+
}
34+
},
35+
"studyRequirements": {
36+
"type": "array",
37+
"items": {
38+
"type": "string"
39+
}
2840
}
2941
}
3042
},

0 commit comments

Comments
 (0)