Skip to content

Commit

Permalink
fix: update situations-schema to make city optional
Browse files Browse the repository at this point in the history
  • Loading branch information
pjotrvdh committed Jan 22, 2025
1 parent 0ab4074 commit 38f8caa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/_files/situations-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,14 @@
"additionalProperties": false,
"properties": {
"city": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"road": {
"type": "string"
Expand All @@ -605,7 +612,6 @@
}
},
"required": [
"city",
"road"
],
"title": "Location"
Expand Down

0 comments on commit 38f8caa

Please sign in to comment.