HazardData

data class HazardData(val id: String, val expirationTime: Date, val type: HazardType, val category: HazardCategory, val severity: Severity, val detailedInformation: DetailedHazardInformation?, val location: HazardLocation, val locationReference: LocationReference) : DataObject

A hazard data entry.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(id: String, expirationTime: Date, type: HazardType, category: HazardCategory, severity: Severity, detailedInformation: DetailedHazardInformation?, location: HazardLocation, locationReference: LocationReference)

Properties

Link copied to clipboard

The HazardCategory aggregates the different types at a higher level.

Link copied to clipboard

The DetailedHazardInformation the basis for the individual hazard types. Each type may have additional information.

Link copied to clipboard

Expiration time of the hazard data.

Link copied to clipboard
val id: String

A unique ID of the hazard data.

Link copied to clipboard

Describes where the hazard is happening.

Link copied to clipboard

Describes information about "what" happens and "where" it happens.

Link copied to clipboard

The Severity of a hazard describes its criticality with respect to the danger.

Link copied to clipboard

The HazardType defines the nature of a hazard. It is the lowest level of categorization.