Published package / CLIR
eu.clp_hazard_labelling
v0.1.0Regulation (EC) No 1272/2008 on classification, labelling and packaging of substances and mixtures
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-clp-hazard-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 · 17
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| absence_not_informative | text, enum | Article 26. The absence of that pictogram from this label carries no information: the Regulation itself suppressed it | pictogram_required_for | article/26 |
| label_carries_pictogram | text | Article 17(1)(d). The label carries at least one hazard pictogram | pictogram_on_label | article/19 |
| label_element_conditional | enum | Article 17(1)(d)—(h). The element is required only 'where applicable' | no inputs | |
| label_element_of_article_17 | enum | Article 17(1). The element belongs to the closed list of label elements | no inputs | |
| label_element_unconditional | enum | Article 17(1)(a)—(c). The element is required on every label of a hazardous substance or mixture in packaging | no inputs | article/17 |
| label_statement_prohibited | text, text | Article 25(4). The statement shall not appear on this label | label_of_hazardous_in_packaginglabel_statementstatement_wording | article/25 |
| more_than_one_of_01_02_03_compulsory | text | Article 26(1)(a), exception. More than one of GHS01, GHS02, GHS03 is compulsory for this label | pictogram_required_for | article/26 |
| no_pictogram_required | text, text | Annex V, clauses 1.6, 2.5 and the tail of 3.1. No pictogram is required for that hazard class and category | no inputs | |
| pictogram_covers | enum, text, text | Annex V. The pictogram is the one required for that hazard class (by section of Annex I) and those hazard categories | no inputs | |
| pictogram_optional | text, enum | Article 26(1)(a). Use of the pictogram is optional on this label | pictogram_required_for | article/26 |
| pictogram_shall_not_appear | text, enum | Article 26(1)(b)—(d). The pictogram shall not appear on this label | pictogram_required_for | article/26 |
| pictogram_shall_not_appear_for | text, enum, text | Article 26(1)(c)—(d). The pictogram shall not appear for that hazard class, while it may still appear for another | pictogram_required_for | article/26 |
| pictogram_symbol_name | enum, text | Annex V. The name of the symbol drawn inside the pictogram, as the Annex names it | no inputs | |
| precautionary_statement_applies | text, text | Annex IV, Part 1. The precautionary statement is listed against that hazard class (by section of Annex I); the hazard-category column is not carried — see the note at the head of this module | no inputs | |
| precautionary_statement_consumer_products | text | Annex IV, Table 6.1. The statement is required, as appropriate, for consumer products, irrespective of hazard class | no inputs | |
| precautionary_statement_wording | text, text | Annex IV, Part 1. The wording of the precautionary statement carrying that code | no inputs | |
| wording_forbidden_by_article_25_4 | text | Article 25(4). The wording is one of those which shall not appear on the label of a substance or mixture classified as hazardous | no inputs |
Inputs · 5
| Name | Parameters | Meaning |
|---|---|---|
| label_of_hazardous_in_packaging | text | Article 17(1). The substance or mixture is classified as hazardous and is contained in packaging |
| label_statement | text, text | Article 25(4). The statement is printed on the label or packaging |
| pictogram_on_label | text, enum | Article 19. The hazard pictogram appears on this label |
| pictogram_required_for | text, enum, text | Article 19. The classification of the substance or mixture would require that pictogram for that hazard class (by section of Annex I) |
| statement_wording | text, text | The wording of the statement as printed |