Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ class Place(OvertureFeature[Literal["places"], Literal["place"]], Named):
),
]

# Required
# Optional

operating_status: Annotated[
OperatingStatus,
OperatingStatus | None,
Field(
description=textwrap.dedent("""
An indication of whether a place is: in continued operation, in a temporary
Expand All @@ -221,9 +221,7 @@ class Place(OvertureFeature[Literal["places"], Literal["place"]], Named):
set to 0.
""").strip(),
),
]

# Optional
] = None

categories: Categories | None = None
basic_category: Annotated[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,7 @@
"required": [
"theme",
"type",
"version",
"operating_status"
"version"
],
"type": "object"
},
Expand Down
1 change: 0 additions & 1 deletion schema/places/place.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,3 @@ properties:
This is not an indication of 'opening hours' or that the place is open/closed at the current time-of-day or day-of-week.
type: string
enum: ["open", "permanently_closed", "temporarily_closed"]
required: [operating_status]
Loading