Skip to content
Draft
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
38 changes: 38 additions & 0 deletions community/lexicon/location/bbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"lexicon": 1,
"id": "community.lexicon.location.bbox",
"defs": {
"main": {
"type": "object",
"description": "A bounding box representing a rectangular geographic area defined by its corner coordinates.",
"required": [
"north",
"west",
"south",
"east"
],
"properties": {
"north": {
"type": "string",
"description": "The northern latitude boundary of the bounding box."
},
"west": {
"type": "string",
"description": "The western longitude boundary of the bounding box."
},
"south": {
"type": "string",
"description": "The southern latitude boundary of the bounding box."
},
"east": {
"type": "string",
"description": "The eastern longitude boundary of the bounding box."
}
, "name": {
"type": "string",
"description": "The name of the bounding box, if any."
}
}
}
}
}
23 changes: 23 additions & 0 deletions community/lexicon/location/geojson.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"lexicon": 1,
"id": "community.lexicon.location.geojson",
"defs": {
"main": {
"type": "object",
"description": "A geographic location represented as a GeoJSON geometry object (https://geojson.org/).",
"required": [
"geometry"
],
"properties": {
"geometry": {
"type": "bytes",
"description": "The GeoJSON representation of the geometry, stored as a byte array."
},
"name": {
"type": "string",
"description": "The name of the location, if any."
}
}
}
}
}
23 changes: 23 additions & 0 deletions community/lexicon/location/wkt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"lexicon": 1,
"id": "community.lexicon.location.wkt",
"defs": {
"main": {
"type": "object",
"description": "A geographic location represented as a WKT (Well-Known Text) geometry object.",
"required": [
"geometry"
],
"properties": {
"geometry": {
"type": "string",
"description": "The WKT representation of the geometry."
},
"name": {
"type": "string",
"description": "The name of the location, if any."
}
}
}
}
}