Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪛 Adjust some schema fields #268

Merged
merged 3 commits into from
Jun 24, 2022
Merged
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
10 changes: 5 additions & 5 deletions data/1.0.0-preview-1/schema/manifest.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"type": "array",
"items": {
"title": "Geopolitical Unit",
"type": ["object", "null"],
shreyasminocha marked this conversation as resolved.
Show resolved Hide resolved
"type": "object",
"properties": {
"object_id": {
"title": "Id",
Expand Down Expand Up @@ -260,7 +260,7 @@
"type": "array",
"items": {
"title": "Party",
"type": ["object", "null"],
"type": "object",
"properties": {
"object_id": {
"title": "Id",
Expand Down Expand Up @@ -311,7 +311,7 @@
"type": "array",
"items": {
"title": "Candidate",
"type": ["object", "null"],
"type": "object",
"properties": {
"object_id": {
"title": "Id",
Expand Down Expand Up @@ -364,7 +364,7 @@
"type": "array",
"items": {
"title": "Contest",
"type": ["object", "null"],
"type": "object",
"properties": {
"object_id": {
"title": "Id",
Expand Down Expand Up @@ -495,7 +495,7 @@
"type": "array",
"items": {
"title": "Ballot Style",
"type": ["object", "null"],
"type": "object",
"properties": {
"object_id": {
"title": "Id",
Expand Down
4 changes: 2 additions & 2 deletions data/1.0.0-preview-1/schema/plaintext_ballot.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"PlaintextBallotSelection": {
"title": "Plaintext Ballot Selection",
"type": "object",
"required": ["object_id", "vote", "sequence_order"],
"required": ["object_id", "vote"],
"properties": {
"object_id": {
"title": "Object Id",
Expand All @@ -39,7 +39,7 @@
"PlaintextBallotContest": {
"title": "Plaintext Ballot Contest",
"type": "object",
"required": ["object_id", "sequence_order", "ballot_selections"],
"required": ["object_id", "ballot_selections"],
"properties": {
"object_id": {
"title": "Object Id",
Expand Down