cap-oet
Copyright (c) 2026 WMO RAF
--------------------------------------------------------------------------------
# Disclaimer
This is NOT an official or standardised set of icons for the OASIS Event Terms. No
standards body -- OASIS, OCHA, WMO or any other -- has endorsed these mappings, and the
choice of icon for each event code is a judgement call, not a specification.

It is an internal effort to standardise the icons used across the warning tools
developed at https://github.com/wmo-raf -- including cap-composer, cap-aggregator and
ClimWeb -- so that the same event type looks the same wherever it is displayed or
communicated.

The event terms themselves are standard, and come from the OASIS CAP Event Terms List
v1.2: https://docs.oasis-open.org/emergency/cap-etl/v1.2/cap-etl-v1.2.html

--------------------------------------------------------------------------------
cap-oet packages the OASIS Event Terms List (OET v1.2) together with an SVG icon for
each of its 224 CAP event codes.

The icons are NOT original artwork. Every one is vendored from an existing open icon
set — the OCHA Humanitarian Icons, or Font Awesome Free — recoloured to
fill="currentColor" and, for Font Awesome, normalised into a 48x48 viewBox. Those sets
remain under their own licenses, reproduced below.

Which license applies to what:

  * The Python code, templates, build scripts and documentation  -> MIT (below)
  * The OET v1.2 data (src/cap_oet/data/oet_v1_2.py)             -> OASIS (below)
  * Icons listed in mapping.py::OCHA_SOURCED                     -> OCHA (below)
  * Icons listed in mapping.py::FA_SOURCED  ("fa:<name>")        -> CC BY 4.0 (below)

--------------------------------------------------------------------------------
# cap-oet code: MIT License (https://opensource.org/licenses/MIT)
In cap-oet, the MIT license applies to all non-icon files.

Copyright (c) 2026 WMO RAF

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in the
Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
United Nations Office for the Coordination of Humanitarian Affairs (OCHA)
(https://www.unocha.org)
--------------------------------------------------------------------------------
# OCHA Humanitarian Icons
Icon library: https://brand.unocha.org/d/xEPytAUjC3sH/icons

The OCHA Humanitarian Icons are published by OCHA and made freely available for
humanitarian use. Icons listed in mapping.py::OCHA_SOURCED are derived from this set,
modified only by recolouring to fill="currentColor".

Attribution is requested. Where possible, credit as:

    Source: OCHA

Questions and additional formats: ochavisual@un.org

--------------------------------------------------------------------------------
Fonticons, Inc. (https://fontawesome.com)
--------------------------------------------------------------------------------
# Font Awesome Free License
Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license/free.

cap-oet distributes Font Awesome icons as SVG only. It does not ship Font Awesome
web/desktop font files, JavaScript, or CSS. Accordingly the CC BY 4.0 icon license
below is the one that applies to this distribution; the SIL OFL font license does not,
as no fonts are included.

--------------------------------------------------------------------------------
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
The Font Awesome Free download is licensed under a Creative Commons
Attribution 4.0 International License and applies to all icons packaged
as SVG and JS file types.

Copyright (c) 2025 Fonticons, Inc. (https://fontawesome.com)

Icons listed in mapping.py::FA_SOURCED are derived from Font Awesome Free (solid),
modified by recolouring to fill="currentColor" and normalising into a 48x48 viewBox.

--------------------------------------------------------------------------------
# Attribution
Attribution is required by the CC BY license. Font Awesome asks that attribution
comments embedded in their files not be actively removed. cap-oet normalises the icon
markup for use in an SVG sprite, so attribution is instead recorded here, in NOTICE,
and per-icon in mapping.py::FA_SOURCED, which names the exact Font Awesome icon each
OET code is derived from.

--------------------------------------------------------------------------------
OASIS Open (https://www.oasis-open.org)
--------------------------------------------------------------------------------
# OASIS Event Terms List (OET v1.2)
The event codes, terms, groupings and CAP categories in
src/cap_oet/data/oet_v1_2.py are adapted from the OASIS Common Alerting Protocol
Event Terms List, Version 1.2:

    https://docs.oasis-open.org/emergency/cap-etl/v1.2/cap-etl-v1.2.html

Copyright (c) OASIS Open. Used under the OASIS IPR Policy
(https://www.oasis-open.org/policies-guidelines/ipr/).
