Published package / CLIR
who.uv_index
v0.1.0Глобальный солнечный УФ-индекс (ВОЗ/ВМО/ЮНЕП/ICNIRP, 2002): категории облучения, порог защиты и схема мер
A package can be printed as a standalone module in a general-purpose language that answers without the rules engine: an answer and its status, with no proof, hashes or canonical document. Everything on this page comes from the generation plan built with the index; the gallery computes nothing of its own.
Generation plan
The plan builds: the package can be printed as a module.
- plan format
- law-backend-plan/0.7
- capabilities
- base layer only
Checked against package scenarios
Not checked: the package scenarios have not been run against generated modules. A plan that builds does not yet show that the answers coincide.
Target languages
bslcsdarterlexgojavaktluaphppyrbrsscalaswiftts
./law dev backend corpus/clir/who-uv-index.lawir.json --target ts --target py --target go --out DIR
Module interface
Questions are public relations with a producing rule; inputs are the facts a question reads. Function names follow the language: ask_… in Python, ask.… in TypeScript, Ask… in Go.
Questions · 9
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| uv_burn_times_not_recommended | reporting burn times is not recommended | no inputs | ||
| uv_category_below | enum, dec | exposure category for UVI values below this number | no inputs | |
| uv_category_from | enum, dec | exposure category open upwards from this UVI value | no inputs | |
| uv_category_range | enum, dec, dec | inclusive UVI range of an exposure category | no inputs | |
| uv_children_need_special_protection | protecting babies and young children is particularly important | no inputs | ||
| uv_protection_message | enum, text | sound bite message of the recommended sun protection scheme | no inputs | |
| uv_protection_reinforced_from | dec | from this UVI value the protection message is reinforced | no inputs | |
| uv_protection_threshold | dec | above this UVI value protection is necessary | no inputs | |
| uv_reported_as_whole_number | the UVI is presented as a single value rounded to the nearest whole number | no inputs |