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

Allow places's categories to be NULL (although categories.primary must still exist if any categories.alternate are present) #231

Merged
merged 10 commits into from
Jul 10, 2024
30 changes: 30 additions & 0 deletions examples/places/place-null-categories.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
geometry:
coordinates:
- 0
- 0
type: Point
id: overture:places:place:1
properties:
addresses:
- freeform: 770 Broadway, Floor 8
locality: New York
- country: US
freeform: '770 Broadway #802'
locality: New York
region: US-NY
brand:
name: Example
wikidata: Q1000
emails:
- [email protected]
phones:
- +32 1207
socials:
- https://www.twitter.com/example
theme: places
type: place
update_time: '2024-06-12T12:20:08-06:00'
version: 1
websites:
- https://www.example.com
type: Feature
1 change: 0 additions & 1 deletion schema/places/place.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ properties:
- "$ref": https://geojson.org/schema/Point.json
properties:
unevaluatedProperties: false
required: [categories]
allOf:
- "$ref": ../defs.yaml#/$defs/propertyContainers/overtureFeaturePropertiesContainer
- "$ref": ../defs.yaml#/$defs/propertyContainers/namesContainer
Expand Down
Loading