Skip to content

Commit 3d21ca2

Browse files
committed
fix(docs): fix format
1 parent 65b90a4 commit 3d21ca2

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ with the highest priority.
7070
* The [`parameters`](../metadata.md#parameters) metadata *MUST* point to the same Contest as the
7171
Nomination of the Representative.
7272
* The 'ref' metadata field MUST point to a valid 'Representative Nomination'.
73-
* IF there are multiple representatives, then any which are not pointing
74-
to a valid `Representative Nomination` are excluded.
75-
The nomination is only invalid if ALL references `Representative Nomination`
76-
references are invalid.
77-
This is to prevent a Representative changing their nomination invalidating a
78-
delegation with multiple representatives.
73+
IF there are multiple representatives, then any which are not pointing
74+
to a valid `Representative Nomination` are excluded.
75+
The nomination is only invalid if ALL references `Representative Nomination`
76+
references are invalid.
77+
This is to prevent a Representative changing their nomination invalidating a
78+
delegation with multiple representatives.
7979
* The payload MUST be nil.
8080

8181
A Representative *MUST* Delegate to their latest Nomination for a Category,

specs/definitions/signed_docs/docs/contest_delegation.cue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ docs: "Contest Delegation": {
6262
* The `parameters` metadata *MUST* point to the same Contest as the
6363
Nomination of the Representative.
6464
* The 'ref' metadata field MUST point to a valid 'Representative Nomination'.
65-
* IF there are multiple representatives, then any which are not pointing
66-
to a valid `Representative Nomination` are excluded.
67-
The nomination is only invalid if ALL references `Representative Nomination`
68-
references are invalid.
69-
This is to prevent a Representative changing their nomination invalidating a
70-
delegation with multiple representatives.
65+
IF there are multiple representatives, then any which are not pointing
66+
to a valid `Representative Nomination` are excluded.
67+
The nomination is only invalid if ALL references `Representative Nomination`
68+
references are invalid.
69+
This is to prevent a Representative changing their nomination invalidating a
70+
delegation with multiple representatives.
7171
* The payload MUST be nil.
7272
7373
A Representative *MUST* Delegate to their latest Nomination for a Category,

specs/signed_doc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@
15931593
}
15941594
},
15951595
"type": "764f17fb-cc50-4979-b14a-b213dbac5994",
1596-
"validation": "* The `parameters` metadata *MUST* point to the same Contest as the \n\tNomination of the Representative.\n* The 'ref' metadata field MUST point to a valid 'Representative Nomination'.\n * IF there are multiple representatives, then any which are not pointing\n\t to a valid `Representative Nomination` are excluded. \n\t The nomination is only invalid if ALL references `Representative Nomination` \n\t references are invalid.\n\t This is to prevent a Representative changing their nomination invalidating a\n\t delegation with multiple representatives.\n* The payload MUST be nil.\n\nA Representative *MUST* Delegate to their latest Nomination for a Category,\notherwise their Nomination is invalid.\n\nThis is because Delegation points to a *SPECIFIC* Nomination, and it\n*MUST* be the latest for the Representative on the Contest.\nAs the Nomination contains information that the User relies on\nwhen choosing to delegate, changing that information could have a \nreal and detrimental result in the Delegation choice.\nTherefore, for a Delegation to be valid, it *MUST* point to the\nlatest Nomination for a Representative.\n\nPublishing a newer version of the Nomination Document to a specific contest will\ninvalidate all pre-existing delegations, and all voters will need\nto re-delegate to affirm the delegates latest nomination.\n\nA Voter may withdraw their Delegation by revoking all delegation documents.\n`revocations` must be set to `true` to withdraw a delegation, OR\na later contest delegation may change the delegated representative without\nfirst revoking the prior delegation, as only the latest delegation is\nconsidered.",
1596+
"validation": "* The `parameters` metadata *MUST* point to the same Contest as the \n\tNomination of the Representative.\n* The 'ref' metadata field MUST point to a valid 'Representative Nomination'.\n IF there are multiple representatives, then any which are not pointing\n to a valid `Representative Nomination` are excluded. \n The nomination is only invalid if ALL references `Representative Nomination` \n references are invalid.\n This is to prevent a Representative changing their nomination invalidating a\n delegation with multiple representatives.\n* The payload MUST be nil.\n\nA Representative *MUST* Delegate to their latest Nomination for a Category,\notherwise their Nomination is invalid.\n\nThis is because Delegation points to a *SPECIFIC* Nomination, and it\n*MUST* be the latest for the Representative on the Contest.\nAs the Nomination contains information that the User relies on\nwhen choosing to delegate, changing that information could have a \nreal and detrimental result in the Delegation choice.\nTherefore, for a Delegation to be valid, it *MUST* point to the\nlatest Nomination for a Representative.\n\nPublishing a newer version of the Nomination Document to a specific contest will\ninvalidate all pre-existing delegations, and all voters will need\nto re-delegate to affirm the delegates latest nomination.\n\nA Voter may withdraw their Delegation by revoking all delegation documents.\n`revocations` must be set to `true` to withdraw a delegation, OR\na later contest delegation may change the delegated representative without\nfirst revoking the prior delegation, as only the latest delegation is\nconsidered.",
15971597
"versions": [
15981598
{
15991599
"changes": "* First Published Version",

0 commit comments

Comments
 (0)