Adapt example data

This commit is contained in:
Joshua Sangmeister 2021-04-06 11:20:47 +02:00
parent df7c25cc5d
commit 3eee3c1c37
2 changed files with 20 additions and 1 deletions

View File

@ -1948,6 +1948,7 @@
"title": "1", "title": "1",
"description": "", "description": "",
"type": "analog", "type": "analog",
"is_pseudoanonymized": false,
"pollmethod": "YNA", "pollmethod": "YNA",
"state": "finished", "state": "finished",
"min_votes_amount": 1, "min_votes_amount": 1,
@ -1960,6 +1961,7 @@
"votesvalid": "2.000000", "votesvalid": "2.000000",
"votesinvalid": "9.000000", "votesinvalid": "9.000000",
"votescast": "2.000000", "votescast": "2.000000",
"entitled_users_at_stop": null,
"content_object_id": "motion/1", "content_object_id": "motion/1",
"option_ids": [1], "option_ids": [1],
@ -1974,6 +1976,7 @@
"title": "2", "title": "2",
"description": "", "description": "",
"type": "analog", "type": "analog",
"is_pseudoanonymized": false,
"pollmethod": "YNA", "pollmethod": "YNA",
"state": "created", "state": "created",
"min_votes_amount": 1, "min_votes_amount": 1,
@ -1986,6 +1989,7 @@
"votesvalid": null, "votesvalid": null,
"votesinvalid": null, "votesinvalid": null,
"votescast": null, "votescast": null,
"entitled_users_at_stop": null,
"content_object_id": "motion/1", "content_object_id": "motion/1",
"option_ids": [3], "option_ids": [3],
@ -2000,6 +2004,7 @@
"title": "1", "title": "1",
"description": "", "description": "",
"type": "analog", "type": "analog",
"is_pseudoanonymized": false,
"pollmethod": "YNA", "pollmethod": "YNA",
"state": "created", "state": "created",
"min_votes_amount": 1, "min_votes_amount": 1,
@ -2012,6 +2017,7 @@
"votesvalid": null, "votesvalid": null,
"votesinvalid": null, "votesinvalid": null,
"votescast": null, "votescast": null,
"entitled_users_at_stop": null,
"content_object_id": "assignment/1", "content_object_id": "assignment/1",
"voted_ids": [], "voted_ids": [],
@ -2026,6 +2032,7 @@
"title": "2", "title": "2",
"description": "", "description": "",
"type": "analog", "type": "analog",
"is_pseudoanonymized": false,
"pollmethod": "Y", "pollmethod": "Y",
"state": "finished", "state": "finished",
"min_votes_amount": 1, "min_votes_amount": 1,
@ -2038,6 +2045,7 @@
"votesvalid": "9.000000", "votesvalid": "9.000000",
"votesinvalid": "2.000000", "votesinvalid": "2.000000",
"votescast": "16.000000", "votescast": "16.000000",
"entitled_users_at_stop": null,
"content_object_id": "assignment/1", "content_object_id": "assignment/1",
"voted_ids": [], "voted_ids": [],
@ -2052,6 +2060,7 @@
"title": "Wahlgang", "title": "Wahlgang",
"description": "", "description": "",
"type": "named", "type": "named",
"is_pseudoanonymized": false,
"pollmethod": "Y", "pollmethod": "Y",
"state": "finished", "state": "finished",
"min_votes_amount": 1, "min_votes_amount": 1,
@ -2064,6 +2073,7 @@
"votesvalid": "1.000000", "votesvalid": "1.000000",
"votesinvalid": "0.000000", "votesinvalid": "0.000000",
"votescast": "1.000000", "votescast": "1.000000",
"entitled_users_at_stop": null,
"content_object_id": "assignment/2", "content_object_id": "assignment/2",
"voted_ids": [1], "voted_ids": [1],
@ -2261,6 +2271,7 @@
"id": 1, "id": 1,
"weight": "2.000000", "weight": "2.000000",
"value": "Y", "value": "Y",
"user_token": "SNuxJc7W93bnhAiA",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2271,6 +2282,7 @@
"id": 2, "id": 2,
"weight": "4.000000", "weight": "4.000000",
"value": "N", "value": "N",
"user_token": "4bgn4RBjNlIeO7vj",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2281,6 +2293,7 @@
"id": 3, "id": 3,
"weight": "1.000000", "weight": "1.000000",
"value": "A", "value": "A",
"user_token": "xLBFgo3O1pAfGZ0h",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2291,6 +2304,7 @@
"id": 4, "id": 4,
"value": "Y", "value": "Y",
"weight": "3.000000", "weight": "3.000000",
"user_token": "neT9r5YkT9U8yJfa",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2301,6 +2315,7 @@
"id": 5, "id": 5,
"value": "Y", "value": "Y",
"weight": "7.000000", "weight": "7.000000",
"user_token": "U5YSuLUI1G5rNOHn",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2311,6 +2326,7 @@
"id": 6, "id": 6,
"value": "Y", "value": "Y",
"weight": "2.000000", "weight": "2.000000",
"user_token": "jkNKIiJr8Dl0yOXI",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2321,6 +2337,7 @@
"id": 7, "id": 7,
"value": "N", "value": "N",
"weight": "2.000000", "weight": "2.000000",
"user_token": "Z1cxOviuelzPT2rm",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2331,6 +2348,7 @@
"id": 8, "id": 8,
"value": "A", "value": "A",
"weight": "1.000000", "weight": "1.000000",
"user_token": "daUZh16fXCAu5DBL",
"user_id": null, "user_id": null,
"delegated_user_id": null, "delegated_user_id": null,
@ -2341,6 +2359,7 @@
"id": 9, "id": 9,
"value": "Y", "value": "Y",
"weight": "1.000000", "weight": "1.000000",
"user_token": "ivgipZ18D9Xac8pd",
"user_id": 1, "user_id": 1,
"delegated_user_id": 1, "delegated_user_id": 1,

View File

@ -1652,6 +1652,7 @@ poll:
- analog - analog
- named - named
- pseudoanonymous - pseudoanonymous
is_pseudoanonymized: boolean
pollmethod: pollmethod:
type: string type: string
required: true required: true
@ -1660,7 +1661,6 @@ poll:
- YN - YN
- YNA - YNA
- N - N
is_pseudoanonymized: boolean
state: state:
type: string type: string
enum: enum: