Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions doc/WARNING_DISPLAY_LOGIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ YAML header or YAML file for the warning:
date: ISO8601 date
ice: string - "ISSUE", "CONTINUE", or "END"
location: string
type: string - "redirect", "wildfire_smoke", or "local_emissions"
type: string - "redirect", "wildfire_smoke", "pollution_prevention", or "local_emissions"
```

In addition, the following properties are optional:
Expand Down Expand Up @@ -42,7 +42,9 @@ flowchart TD;
D -- Yes --> E[Set title to "Air Quality Warning"];
D -- NO --> F{Is the type "wildfire_smoke"?};
F -- YES --> G[Set title to "Wildfire Smoke"];
F -- NO --> H{Is the type "local_emissions"?};
F -- NO --> S{Is the type "pollution_prevention"?}
S -- YES --> T[Set title to "Pollution Prevention Notice"]
S -- NO --> H{Is the type "local_emissions"?};
H -- NO --> I[Set title to "N/A"];
H -- YES --> J{Is the "pollutant" property present?};
J -- NO --> I;
Expand Down