Verified Commit 09cef81b authored by Dan Jones's avatar Dan Jones
Browse files

chore: recompile schema

parent d6bbb800
...@@ -1183,6 +1183,122 @@ ...@@ -1183,6 +1183,122 @@
"title": "GeoJSON LineString", "title": "GeoJSON LineString",
"type": "object" "type": "object"
}, },
"geojson.org.schema.MultiLineString.json": {
"$id": "https://geojson.org/schema/MultiLineString.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"bbox": {
"items": {
"type": "number"
},
"minItems": 4,
"type": "array"
},
"coordinates": {
"items": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 2,
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiLineString"
],
"type": "string"
}
},
"required": [
"type",
"coordinates"
],
"title": "GeoJSON MultiLineString",
"type": "object"
},
"geojson.org.schema.MultiPoint.json": {
"$id": "https://geojson.org/schema/MultiPoint.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"bbox": {
"items": {
"type": "number"
},
"minItems": 4,
"type": "array"
},
"coordinates": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiPoint"
],
"type": "string"
}
},
"required": [
"type",
"coordinates"
],
"title": "GeoJSON MultiPoint",
"type": "object"
},
"geojson.org.schema.MultiPolygon.json": {
"$id": "https://geojson.org/schema/MultiPolygon.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"bbox": {
"items": {
"type": "number"
},
"minItems": 4,
"type": "array"
},
"coordinates": {
"items": {
"items": {
"items": {
"items": {
"type": "number"
},
"minItems": 2,
"type": "array"
},
"minItems": 4,
"type": "array"
},
"type": "array"
},
"type": "array"
},
"type": {
"enum": [
"MultiPolygon"
],
"type": "string"
}
},
"required": [
"type",
"coordinates"
],
"title": "GeoJSON MultiPolygon",
"type": "object"
},
"geojson.org.schema.Point.json": { "geojson.org.schema.Point.json": {
"$id": "https://geojson.org/schema/Point.json", "$id": "https://geojson.org/schema/Point.json",
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
...@@ -1611,13 +1727,7 @@ ...@@ -1611,13 +1727,7 @@
"exclusion_zones": { "exclusion_zones": {
"description": "Exclusion zones for all platforms", "description": "Exclusion zones for all platforms",
"items": { "items": {
"description": "GeoJSON Polygon", "$ref": "#/components/schemas/geojson.org.schema.Polygon.json"
"properties": {
"geometry": {
"$ref": "#/components/schemas/geojson.org.schema.Polygon.json"
}
},
"type": "object"
}, },
"type": "array" "type": "array"
}, },
...@@ -1637,13 +1747,7 @@ ...@@ -1637,13 +1747,7 @@
"region_of_interest": { "region_of_interest": {
"description": "Region of interest for the entire operation", "description": "Region of interest for the entire operation",
"items": { "items": {
"description": "GeoJSON Polygon", "$ref": "#/components/schemas/geojson.org.schema.Polygon.json"
"properties": {
"geometry": {
"$ref": "#/components/schemas/geojson.org.schema.Polygon.json"
}
},
"type": "object"
}, },
"type": "array" "type": "array"
}, },
...@@ -1690,29 +1794,12 @@ ...@@ -1690,29 +1794,12 @@
"example": "go_home", "example": "go_home",
"type": "string" "type": "string"
}, },
"target_depth": { "target_waypoint": {
"description": "Z-coordinate safe place for respective platform . If platform to NOT stay at depth, key in `0.0`", "$ref": "#/components/schemas/geojson.org.schema.Point.json"
"example": 10.0,
"format": "float",
"type": "number"
},
"target_waypoint_latitude": {
"description": "Y-coordinate safe place for respective platform",
"example": 50.365,
"format": "float",
"type": "number"
},
"target_waypoint_longitude": {
"description": "X-coordinate safe place for respective platform",
"example": -7.432,
"format": "float",
"type": "number"
} }
}, },
"required": [ "required": [
"target_waypoint_latitude", "target_waypoint"
"target_waypoint_longitude",
"target_depth"
], ],
"type": "object" "type": "object"
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment