This PR changes the data model for the outbreak event to include a severity field as well as reducing the character length of the location ID from 32 to 8. The resulting protobuf model looks like this:
message OutbreakEvent {
// location ID references the ID in the portal
optional string location_id = 1;
optional google.protobuf.Timestamp start_time = 2;
optional google.protobuf.Timestamp end_time = 3;
optional uint32 severity = 4;
}
Also the validation for Location ID has changed from 32 chars to 8 chars:
This PR changes the data model for the outbreak event to include a
severity
field as well as reducing the character length of the location ID from 32 to 8. The resulting protobuf model looks like this:Also the validation for Location ID has changed from 32 chars to 8 chars: