diff --git a/packages/overture-schema-places-theme/src/overture/schema/places/place.py b/packages/overture-schema-places-theme/src/overture/schema/places/place.py index b7ac4d415..f086933c3 100644 --- a/packages/overture-schema-places-theme/src/overture/schema/places/place.py +++ b/packages/overture-schema-places-theme/src/overture/schema/places/place.py @@ -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 @@ -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[ diff --git a/packages/overture-schema-places-theme/tests/place_baseline_schema.json b/packages/overture-schema-places-theme/tests/place_baseline_schema.json index a9e0c3620..b8752ff24 100644 --- a/packages/overture-schema-places-theme/tests/place_baseline_schema.json +++ b/packages/overture-schema-places-theme/tests/place_baseline_schema.json @@ -530,8 +530,7 @@ "required": [ "theme", "type", - "version", - "operating_status" + "version" ], "type": "object" }, diff --git a/schema/places/place.yaml b/schema/places/place.yaml index 3c741aea2..0ae5351c0 100644 --- a/schema/places/place.yaml +++ b/schema/places/place.yaml @@ -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]