From abb588c31f32386e8faa9175d172e0a96a28eef3 Mon Sep 17 00:00:00 2001 From: Rob Atkinson Date: Sun, 4 Feb 2024 10:04:22 +1100 Subject: [PATCH] context for bbox --- .../geo/common/data_types/bounding_box/context.jsonld | 9 +++++++++ registereditems/geo/features/feature/schema.yaml | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 registereditems/geo/common/data_types/bounding_box/context.jsonld diff --git a/registereditems/geo/common/data_types/bounding_box/context.jsonld b/registereditems/geo/common/data_types/bounding_box/context.jsonld new file mode 100644 index 000000000..2616ddb67 --- /dev/null +++ b/registereditems/geo/common/data_types/bounding_box/context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "bbox": { + "@container": "@list", + "@id": "geojson:bbox" + } + } +} diff --git a/registereditems/geo/features/feature/schema.yaml b/registereditems/geo/features/feature/schema.yaml index 88d51024e..795e6ce28 100644 --- a/registereditems/geo/features/feature/schema.yaml +++ b/registereditems/geo/features/feature/schema.yaml @@ -2,6 +2,8 @@ allOf: - $ref: bblocks://ogc.geo.common.data_types.geojson - type: object properties: + bbox: + $ref: bblocks://ogc.geo.common.data_types.bounding_box links: type: array items: