Published package / CLIR
eu.battery_labelling
v0.1.0Regulation (EU) 2023/1542 concerning batteries and waste batteries
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.8
- capabilities
- status:not_known
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
gopyts
refuse this plan · 13
bslверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUcsверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUdartверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUerlверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUexверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUjavaверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUktверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUluaверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUphpверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUrbверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUrsверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUscalaверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RUswiftверсия плана не поддержана эмиттером: 'law-backend-plan/0.8' (поддержана law-backend-plan/0.7)RU
./law dev backend corpus/clir/eu-battery-labelling.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 · 10
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| element_applies_from | enum, date | Article 13. The date from which that marking element is required | no inputs | |
| element_date_conditional | enum, text | Article 13(1)-(3). The date is the later of a fixed date and 18 months after an implementing act — the act is not pinned in this corpus, so the date is not asserted | no inputs | |
| general_label_item | dec, text | Annex VI, Part A. An item of the general information on the battery label | no inputs | |
| heavy_metal_symbol_required | text, text | Article 13(5). The battery shall bear that chemical symbol beneath the separate collection symbol | battery_metal_content_percent | article/13 |
| heavy_metal_symbol_text | enum, text | Article 13(5). The chemical symbol printed for that metal | no inputs | |
| heavy_metal_threshold_percent | enum, dec | Article 13(5). The content above which the chemical symbol is required, per cent by weight | no inputs | |
| letters_mean_heavy_metal | text, text | Article 13(5). The letters beneath the separate collection symbol are not a brand: they state that the battery contains that heavy metal above the threshold | battery_metal_content_percent | article/13 |
| symbol_lawfully_absent_from_battery | text | Article 13(4). The battery need NOT bear the separate collection symbol: it would be smaller than 0,47 × 0,47 cm, and the symbol goes on the packaging instead | symbol_would_be_smaller_than_minimum | article/13 |
| symbol_required_on_packaging | text | Article 13(4). A separate collection symbol measuring at least 1 × 1 cm shall be printed on the packaging | symbol_would_be_smaller_than_minimum | article/13 |
| symbol_unlawfully_absent | text | Article 13(4). The separate collection symbol is missing and the small-size exemption does not apply | battery_bearsbattery_in_scopesymbol_would_be_smaller_than_minimum | article/13 |
Inputs · 4
| Name | Parameters | Meaning |
|---|---|---|
| battery_bears | text, enum | The battery bears that marking element |
| battery_in_scope | text | The battery is one to which Article 13 applies at the time of the question |
| battery_metal_content_percent | text, enum, dec | The content of that heavy metal in the battery, per cent by weight |
| symbol_would_be_smaller_than_minimum | text | Article 13(4). The size of the battery is such that the separate collection symbol would be smaller than 0,47 × 0,47 cm |