Skip to content

Commit ea3e952

Browse files
committed
fix(docs): more markdown fixes
1 parent 8243479 commit ea3e952

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/src/architecture/08_concepts/signed_doc/docs/contest_ballot.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ Only eligible users can cast ballots in the respective contest.
4040
Typically, this would be `abstain`.
4141
* The voter signs this document to confirm their ballot.
4242
* Ballots can not be cast outside the time allowed for the casting of ballots.
43-
* The `document_id` and `document+ver` must be within the time of allowed casting
44-
of ballots. Any document_id of document_ver outside this time are invalid and will
43+
* The `document_id` and `document_ver` must be within the time of allowed casting
44+
of ballots.
45+
Any `document_id` or `document_ver` outside this time are invalid and will
4546
not be counted.
4647

4748
#### Back End

specs/definitions/signed_docs/docs/contest_ballot.cue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ docs: "Contest Ballot": {
3434
Typically, this would be `abstain`.
3535
* The voter signs this document to confirm their ballot.
3636
* Ballots can not be cast outside the time allowed for the casting of ballots.
37-
* The `document_id` and `document+ver` must be within the time of allowed casting
38-
of ballots. Any document_id of document_ver outside this time are invalid and will
37+
* The `document_id` and `document_ver` must be within the time of allowed casting
38+
of ballots.
39+
Any `document_id` or `document_ver` outside this time are invalid and will
3940
not be counted.
4041
"""
4142
back_end: """

specs/signed_doc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@
15181518
},
15191519
"business_logic": {
15201520
"back_end": "* Verifies that the Contest is valid, and that the ballot is cast in the appropriate \n time frame, and has a valid `document_id` and `document_ver` in that range.\n* Verify the payload lists all the eligible proposals which can be chosen in the contest.\n* Verify the proofs in the payload are correct.",
1521-
"front_end": "* Always cast a ballot for all proposals in the contest.\n* Any proposal not explicitely selected by a user must have the default selection applied.\n Typically, this would be `abstain`.\n* The voter signs this document to confirm their ballot.\n* Ballots can not be cast outside the time allowed for the casting of ballots.\n* The `document_id` and `document+ver` must be within the time of allowed casting\n of ballots. Any document_id of document_ver outside this time are invalid and will\n not be counted."
1521+
"front_end": "* Always cast a ballot for all proposals in the contest.\n* Any proposal not explicitely selected by a user must have the default selection applied.\n Typically, this would be `abstain`.\n* The voter signs this document to confirm their ballot.\n* Ballots can not be cast outside the time allowed for the casting of ballots.\n* The `document_id` and `document_ver` must be within the time of allowed casting\n of ballots.\n Any `document_id` or `document_ver` outside this time are invalid and will\n not be counted."
15221522
},
15231523
"description": "An individual Ballot cast in a Contest by a registered user.\n\nEach ballot contains choices for all possible proposals eligible for the \ncontest.\n\nMultiple contest ballots can be cast by the same registered user in a contest, but\nonly the latest (by its document_version) will be counted.\n\nThe reason the ballot is cast in a contest is because there may be multiple contests in\na campaign, and they may be attached to either the brand, campaign or category level.\nEach level, (for example category) can in-theory have multiple contests.\n\nOnly eligible users can cast ballots in the respective contest.",
15241524
"draft": false,

0 commit comments

Comments
 (0)