Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Formal/schema/schemas/ballot_coding.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@
"$ref": "#/definitions/County"
},
"date": {
"type": "string"
"type": "string",
"format": "date"
},
"districts": {
"items": {
Expand Down
6 changes: 4 additions & 2 deletions Formal/schema/schemas/ballot_info.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
},
"date": {
"description": "The date the ballot was encrypted.",
"type": "string"
"type": "string",
"format": "date"
},
"time": {
"description": "The time the ballot was encrypted.",
"type": "string"
"type": "string",
"format": "time"
},
"tracker": {
"description": "The tracker code generated for this ballot.",
Expand Down
3 changes: 2 additions & 1 deletion Formal/schema/schemas/election_parameters.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"properties": {
"date": {
"description": "The date on which the election takes place.",
"type": "string"
"type": "string",
"format": "date"
},
"location": {
"description": "The location where the election takes place",
Expand Down