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

print this planbslcsdarterlexgojavaktluaphppyrbrsscalaswiftts

Print the module from a repository checkout

./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

NameParametersMeaningReadsSources
uv_burn_times_not_recommendedreporting burn times is not recommendedno inputs
uv_category_belowenum, decexposure category for UVI values below this numberno inputs
uv_category_fromenum, decexposure category open upwards from this UVI valueno inputs
uv_category_rangeenum, dec, decinclusive UVI range of an exposure categoryno inputs
uv_children_need_special_protectionprotecting babies and young children is particularly importantno inputs
uv_protection_messageenum, textsound bite message of the recommended sun protection schemeno inputs
uv_protection_reinforced_fromdecfrom this UVI value the protection message is reinforcedno inputs
uv_protection_thresholddecabove this UVI value protection is necessaryno inputs
uv_reported_as_whole_numberthe UVI is presented as a single value rounded to the nearest whole numberno inputs

Inputs · 0