Commit 7987cd52 authored by hengwen's avatar hengwen

Add definition for waterway and heightmap

parent 98697bf6
......@@ -339,6 +339,37 @@ definitions:
type: "array"
items:
$ref: "#/definitions/Node"
Waterway:
type: "object"
properties:
type:
type: "string"
enum: [RIVER, STREAM, DITCH]
nodes:
type: "array"
items:
$ref: "#/definitions/Node"
Heightmap:
type: "object"
properties:
data:
type: "array"
items:
type: "array"
items:
type: "number"
heightMapDeltaX:
type: "number"
heightMapDeltaY:
type: "number"
heightMapMinX:
type: "number"
heightMapMinY:
type: "number"
heightMapMaxX:
type: "number"
heightMapMaxY:
type: "number"
MapDataResp:
type: "object"
properties:
......@@ -352,6 +383,10 @@ definitions:
$ref: "#/definitions/Building"
bounds:
$ref: "#/definitions/Bounds"
waterways:
$ref: "#/definitions/Waterway"
heightmap:
$ref: "#/definitions/Heightmap"
SimulationResult:
type: "array"
items:
......
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