Data Event Formats - Embankments
Summary
CWMS needs a message structure to notify clients of embankment-related events.
Opinions
Opinion 1
Summary: Use the structures described below for embankment-related events.
All messages will be published to the appropriate REALTIME_OPS topic. Subscribers can set up appropriate filters to receive the desired messages.
Author: Mike Perryman
Embankments
Only values necessary to uniquely identify an embankment (“type”, “embankment_id”), and values necessary to minimally describe and embandkment (“project_id, “structure_type”) are required for EmbankmentCreated and EmbankmentUpdated messages.
EmbankmentCreated Message Structure
Message Type |
Structure |
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EmbankmentCreated |
|
Example EmbankmentCreated message
{
"type": "embankment_created",
"embankment_id": {
"office_id": "SWT",
"name": "Greenbrier Dam"
},
"project_id": "Greenbrier Reservoir",
"structure_type": "Rolled Earth-Filled",
"us_protection_type": "Rock Riprap",
"ds_protection_type": "Grass-Covered Soil",
"us_sideslope": 2.0,
"ds_sideslope": 2.5,
"length": 4750.0,
"max_height": 175.0,
"top_width": 75.0,
"unit": "ft"
}
EmbankmentUpdated Message Structure
Message Type |
Structure |
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EmbankmentUpdated |
|
Example EmbankmentUpdated message
{
"type": "embankment_updated",
"embankment_id": {
"office_id": "SWT",
"name": "Greenbrier Dam"
},
"project_id": "Greenbrier Reservoir",
"structure_type": "Rolled Earth-Filled",
"us_protection_type": "Rock Riprap",
"ds_protection_type": "Grass-Covered Soil",
"us_sideslope": 2.0,
"ds_sideslope": 2.5,
"length": 4750.0,
"max_height": 175.0,
"top_width": 75.0,
"unit": "ft"
}
Only values necessary to uniquely identify an embankment (“type”, “embankment_id”) are required for EmbankmentDeleted messages.
EmbankmentDeleted Message Structure
Message Type |
Structure |
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|
EmbankmentDeleted |
|
Example EmbankmentDeleted message
{
"type": "embankment_deleted",
"embankment_id": {
"office_id": "SWT",
"name": "Greenbrier Dam"
}
}
Structure Types Table
Structure Type |
|---|
Rolled Earth-Filled |
Natural |
Concrete Arch |
Dble-Curv Concrete Arch |
Concrete Apron |
Concrete Dam |
Concrete Gravity |
Rolld Imperv Earth-Fill |
Imprv/Semiperv EarthFill |
Protection Types Table
Protection Type |
|---|
Concrete Blanket |
Concrete Arch Facing |
Masonry Facing |
Grass-Covered Soil |
Soil Cement |
Rock Riprap |
Natural Rock |
Stone Toe |
Decision Status
Status: request for comments