diff --git a/Formal/schema/schemas/ballot_coding.schema.json b/Formal/schema/schemas/ballot_coding.schema.json index 4944745..8d27a27 100644 --- a/Formal/schema/schemas/ballot_coding.schema.json +++ b/Formal/schema/schemas/ballot_coding.schema.json @@ -246,7 +246,8 @@ "$ref": "#/definitions/County" }, "date": { - "type": "string" + "type": "string", + "format": "date" }, "districts": { "items": { diff --git a/Formal/schema/schemas/ballot_info.schema.json b/Formal/schema/schemas/ballot_info.schema.json index 8cad890..7ab48b3 100644 --- a/Formal/schema/schemas/ballot_info.schema.json +++ b/Formal/schema/schemas/ballot_info.schema.json @@ -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.", diff --git a/Formal/schema/schemas/election_parameters.schema.json b/Formal/schema/schemas/election_parameters.schema.json index e4bbbd9..84fc9fb 100644 --- a/Formal/schema/schemas/election_parameters.schema.json +++ b/Formal/schema/schemas/election_parameters.schema.json @@ -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",