Understanding the output¶
Each file gets one record. This page goes through its parts in the order they appear.
What the file is¶
verification.kind says what the file is. There are four kinds:
|
The file is |
What the record holds |
|---|---|---|
|
a German safety data sheet |
|
|
laid out like a safety data sheet, without calling itself one |
the verdict only |
|
a safety data sheet in another language |
the verdict and the finding |
|
anything else, or a file no text could be read from |
the verdict; |
Only the first kind is read further, and only its record has sheet,
statements, parser and sheet_count. Every record has the lists warnings, errors and
findings; a list with nothing to say is empty, not missing. verification.errors says why a
file is no German safety data sheet, and
verification.warnings what was noticed on the way.
A safety information (Sicherheitsinformation) is what suppliers issue for products that need no safety data sheet. It has the sixteen sections but not the title. A leaflet on handling an article that titles itself “Sicherheitsdatenblatt zum sicheren Umgang mit …” and does not name Regulation (EC) No 1907/2006, such as a battery maker’s, is one too: what it prints as classification belongs to its ingredients, not to the product’s label.
How the text was read¶
extraction says how the text was won from the PDF:
Field |
Meaning |
|---|---|
|
the reading stage the text comes from: its version and that of the PDF library; two runs of different stages may differ because the text differs, see Comparing two runs |
|
|
|
how many pages were read |
|
how many characters the text has |
|
the version of the text recognition program that read the text; only where it read pages |
|
what was noticed, as messages |
Text read by text recognition is less reliable than text the PDF carries. Check such a sheet more carefully.
The sheet¶
sheet holds what a German safety data sheet says:
Field |
Meaning |
|---|---|
|
the trade name from section 1.1 |
|
date of revision and date of issue, as year-month-day; the newest where the sheet names several |
|
the sheet’s own version number |
|
the countries the sheet is issued for, of |
|
what section 2 says about the classification, see below |
|
whether the sheet calls itself voluntary or not prescribed, and whether it calls the product an article there, see below |
|
whether the product needs a safety data sheet by law: |
|
the label of section 2.2, see below |
|
the supplier of section 1.3 with name, address, phone, e-mail and website, and the emergency phone of section 1.4, as printed with what the sheet says about it (“(24 h)”, the poison centre’s name); |
|
the text of each section that was found |
|
a fingerprint of the text; two files with the same one have the same content |
The classification¶
stated_classification is what section 2 says:
Value |
Section 2 says |
|---|---|
|
the product is classified as hazardous under the CLP Regulation |
|
it is classified under the directives before CLP (R phrases, hazard symbols) |
|
it is not classified |
|
neither |
Whether the product needs a sheet¶
sheet_duty is required where section 2 classifies the product, or where
the label carries a hazard statement (H), a signal word, a pictogram, EUH210
or an EUH statement that names a sensitising substance (EUH208, EUH204,
EUH205); other EUH statements, such as EUH066 or EUH401, do not count.
Every other sheet was issued voluntarily: not-required. Precautionary statements
(P) alone do not count: a supplier may print them on any product.
stated_voluntary is true where the sheet says of itself that it was
issued voluntarily or that no safety data sheet is prescribed for the
product (“Für dieses Produkt ist gemäß Artikel 31 der REACH-Verordnung kein
Sicherheitsdatenblatt erforderlich.”, “Dieses Sicherheitsdatenblatt wurde
freiwillig erstellt”, “… für Erzeugnisse nicht vorgeschrieben”).
stated_article is true where it calls the product an article
(“Erzeugnis”) beside that sentence, or where it says the product is an
article and therefore not subject to labelling (“Dieses Produkt ist ein
Erzeugnis, deshalb ist es … nicht kennzeichnungspflichtig”); such a sheet
need not call itself voluntary. What follows for sheet_duty:
The sheet … |
|
|---|---|
calls the product an article |
|
calls itself voluntary, and the product is not classified (section 2 does not classify it, no H statement) |
|
calls itself voluntary, but the mixture is classified and no article is named |
|
prints EUH210 or the sentence “auf Anfrage erhältlich” at the label |
|
Where the reading holds no label (label_withheld), it is not-checked, not
checked under the rules in force: always for a sheet of the rules before
June 2017, whose classification does not count either, and for an
incomplete label unless section 2 classifies the product. What follows from
not-checked is the caller’s to decide.
The label stands in the reading as the sheet prints it, unless the reading withholds it.
The label¶
hazard_statements is the label (Kennzeichnung) of section 2.2:
Field |
Meaning |
|---|---|
|
the codes of the hazard statements (H); H360 and H361 with the letters of their effect, as Annex VI of the CLP Regulation sets them ( |
|
the codes of the precautionary statements (P) |
|
the codes of the supplemental statements (EUH) |
|
|
|
the codes of the pictograms the label prints, |
|
how the label prints each of them: |
|
whether the label was looked at as drawn and every red diamond in it named |
|
whether the label states it has none (“Signalwort entfällt”, “Gefahrenpiktogramme: keine”) |
|
the statements as the sheet prints them; a code the sheet does not print stands in front of its sentence |
|
the codes the label does not print: the sheet prints only the sentence, and the parser assigned the code; each also stands in its list above |
|
for each code the statement texts name without a sentence, the sentence section 16 of the same sheet prints for it, as printed ( |
|
whom the label says it applies to, and the sentence that says it: |
|
single statements printed with a condition, by code: |
|
the blocks of 2.2 beside the label, see below |
The label holds only what the sheet prints. The signal word is the printed
one. Pictograms are the printed ones: most sheets print them as pictures,
and read looks at the label on the page for red diamonds and names each.
Nothing is derived from the codes. Where the label differs from what its
codes call for under the CLP Regulation, the findings say so
(signal-word-not-found, pictogram-not-found, pictogram-not-expected,
pictogram-precedence); a label that states it has none gets no finding
that one was not found. Where the label could not be looked at (a scanned
sheet, a label without the heading “Kennzeichnungselemente”) or a diamond
stayed unnamed, parser.warnings says so (label-images-not-read,
pictograms-not-recognised) and drawing_read is false.
Blocks beside the label¶
Some sheets print more than one label in 2.2. further_labels holds each
block beside the label, in the sheet’s order, and nothing of it stands in
the label above:
Field |
Meaning |
|---|---|
|
|
|
its heading as printed; for a sentence that says what a small package leaves out (“Reduzierte Kennzeichnung <= 125 ml: H225 und H319 entfallen.”), that sentence |
|
its lines as printed, without the heading |
|
the codes such a sentence says a small package leaves out |
|
what a small package’s label carries, in the same fields as the label above (without |
Which label applies is yours to decide: the label above is the product’s, and a small package’s label is the one of a package of at most 125 ml. Where a sheet prints no small package’s label, its label may be one: a statement such a package may leave out is then not reported as missing.
The statements¶
statements lists every statement of the label with two wordings:
Field |
Meaning |
|---|---|
|
the statement’s code, such as |
|
the wording the supplier printed |
|
the wording of the CLP Regulation; empty where the regulation has no single one, for a statement with a gap to fill or a list to choose from |
|
|
To show the statements as the sheet prints them, leave out the code of a
statement whose code_source is from_wording.
What the regulation expects¶
clp_expected stands beside the sheet and is not part of it: what the CLP
Regulation expects of the label, worked out from its codes, and where the
label as read differs. The label itself stays as printed under
sheet.hazard_statements. Whether a difference matters is yours to decide:
fill a gap with it, or check a label by it.
Field |
Meaning |
|---|---|
|
|
|
the pictograms the H codes call for, with the precedence of Article 26 CLP; never GHS04 (Article 33 CLP), no GHS05 where H290 is its only reason (Annex I 1.3.6 CLP) |
|
the codes call for a signal word, and the label as read has none |
|
the label as read has a signal word other than the one the codes call for |
|
called for, and not in the label as read |
|
in the label as read, and no H code calls for them |
|
in the label as read and called for, but Article 26 leaves them out beside another it has |
Before calling something missing, look at drawing_read,
states_no_signal_word and states_no_pictograms under
sheet.hazard_statements: a label that could not be looked at as drawn may
still show a pictogram, and one that states it has none has answered. The
findings take both into account; this block does not. For a file of several
sheets each entry of parts carries its own. A record written before has no
such block.
The findings¶
findings lists what is wrong with the sheet as a document. Each is a
message. A sheet that has to be renewed anyway
(predates-annex-ii, old-format) gets only the findings on its age and
those on a file of several sheets: what else it lacks is for its new edition
to put right.
|
Meaning |
|---|---|
|
revised before 2021, so it cannot follow today’s rules for the content of a sheet |
|
revised since 2021 but still laid out as before |
|
the revision date lies after the day |
|
the same for the issue date: |
|
no date of revision or issue that can be read |
|
classified under the directives before CLP, without a CLP label |
|
the label says the classification is not determined |
|
section 2 neither names a hazard class nor says the product is not classified, and the label is empty |
|
section 2 says not classified, yet the label carries a hazard statement, a signal word or a pictogram |
|
a supplemental statement printed only outside the label |
|
the file holds sheets of different products; |
|
the file holds the same product’s sheets for different countries, and they differ in the |
|
a statement worded differently from the regulation |
|
the H statements call for a pictogram the label does not print; only where |
|
the label prints a pictogram none of its H statements calls for; not GHS08 on an aerosol, where it may stand for the aspiration hazard (Annex I 1.3.3 CLP) |
|
the label prints GHS07 beside a pictogram Article 26 CLP lets it give way to |
|
the label prints a hazard statement the classification in 2.1 does not name ( |
|
a small package’s label lacks a hazard statement of 2.1 that Annex I 1.5.2.1 CLP does not let it leave out |
|
a small package’s label names a signal word field, and prints none the product’s codes call for |
|
the label prints a signal word that surely conflicts with the product’s codes: “Achtung” where one calls for “Gefahr”, or “Gefahr” where none can; |
|
the same for a small package’s label |
|
a small package’s label lacks a pictogram the product’s H statements call for (2.1, the label and its own); only where it was looked at as drawn and speaks of pictograms |
|
the sheet is in another language |
A finding is an observation about the document. What follows from it, such as asking the supplier for a newer sheet, is your decision.
Messages¶
Whatever the program notes about a file is a message: what it noticed while reading the text, judging the file and reading the sheet, the reason a file could not be read, and the findings. Every message has three parts:
{
"code": "wording-deviates",
"params": {
"statement": "P102",
"sheet": "Darf nicht in Kinderhände gelangen.",
"regulation": "Darf nicht in die Hände von Kindern gelangen."
},
"message": "P102: Das Blatt druckt „Darf nicht in Kinderhände gelangen.“, die Verordnung sagt „Darf nicht in die Hände von Kindern gelangen.“."
}
Part |
Meaning |
|---|---|
|
what is noted; fixed, and the same in every language |
|
the values the code names |
|
the sentence for a person, in the language you chose |
All messages lists every code with its sentence.
Choosing the language¶
The sentences are German unless you ask for English:
sdb-reader read --lang en sheet.pdf
SDB_READER_LANG=en sdb-reader read sheet.pdf
SDB_READER_LANG is an environment variable: a setting the command line
keeps, so that you need not repeat the option. The language is only ever the
one you name. The language of your machine plays no part, so the same file
gives the same result everywhere.
Not translated are the keys, fixed values such as safety-data-sheet, and
the statements of the label, which are the sheet’s own words.
Sentences of your own¶
The sentences come from a catalog, a text file that gives each code its
sentence. To word messages differently, or in another language, write a file
like this and pass it with --messages:
[messages]
"predates-annex-ii" = "Zu alt: überarbeitet am {revised}."
"undated" = "Das Blatt trägt kein Datum."
sdb-reader read --messages my-messages.toml sheet.pdf
{revised} stands for a value of the message; All messages
names the values of each code. Your file may hold only the codes you want to
word; the others are said in English. A code or a value the program does not
know is refused before any file is read.
Several sheets in one file¶
Some files hold several complete sheets one after another: the two parts of
a two-component adhesive, the products of a combination pack, or the
editions of one sheet for several countries. sheet_count says how many the file
holds; for most files it is 1.
For such a file the record gives two readings side by side:
sheet,statements,parserandfindingsare the file’s, with its sheets united: every code and pictogram any sheet prints, the stronger signal word, the newest date. The messageseveral-sheetsunderparser.warningssays so.partslists each sheet read on its own, in the file’s order, as if it were a file by itself, each with its ownclp_expected.oldest_sheetnames the sheet with the oldest date; see The oldest sheet.
{
"sheet_count": 2,
"sheet": {"revision_date": "2022-07-20", "hazard_statements": {"hazard_codes": ["H315", "H318"], "signal_word": "Gefahr"}},
"parts": [
{
"sheet": {"product_identifier": "Harz", "revision_date": "2022-07-20", "hazard_statements": {"hazard_codes": ["H315"], "signal_word": "Achtung"}},
"statements": [{"code": "H315", "sheet": "Verursacht Hautreizungen.", "regulation": "Verursacht Hautreizungen."}],
"warnings": [],
"findings": []
},
{
"sheet": {"product_identifier": "Härter", "revision_date": "2021-05-03", "hazard_statements": {"hazard_codes": ["H318"], "signal_word": "Gefahr"}},
"statements": [{"code": "H318", "sheet": "Verursacht schwere Augenschäden.", "regulation": "Verursacht schwere Augenschäden."}],
"warnings": [],
"findings": []
}
],
"oldest_sheet": {"sheet": 2, "date": "2021-05-03", "dated_by": "revision"}
}
(Shortened: each sheet under parts has every field of The sheet.)
Which reading is the right one depends on the file, and the program cannot tell:
Where the sheets are the parts of one product, the product carries all their labels, and the united reading is the product’s.
Where they are different products or editions, the united reading can name hazards that no single sheet names, and its date and version belong to no single sheet. Take the sheet you need from
parts.
Each entry holds sheet (with the fingerprint content_hash of that
sheet’s text), statements and warnings, what was noticed while reading
that sheet, and names its countries (countries, empty where none is
recognised) and its product (product_identifier). Its findings hold
the findings on that sheet’s age, judged on its own dates as for a file
that is this sheet: revised-in-future, issued-in-future, undated,
predates-annex-ii and old-format; the list is empty where there is none. There are no other
findings per sheet: a finding is about the product, and whether one sheet
is the product the program does not know. A later sheet begins at the title “Sicherheitsdatenblatt” above
its section 1, so that the date and version in the header of its first page
count for it. A list of changes that names the sections, and the same sheet
once more in another language, are no further sheets.
Comparing two runs compares the file’s reading, not
parts.
The oldest sheet¶
The file’s reading carries the newest date the file names, and its
findings on age follow that date. A file whose new resin stands beside a
hardener from 2014 is therefore not reported as old. oldest_sheet names
the sheet you would judge such a file by:
Key |
Meaning |
|---|---|
|
the sheet’s number in the file’s order, from 1 |
|
its date: the revision date, else the issue date; a date after the day of the run does not count |
|
|
Where several sheets share the oldest date, the first counts; where no
sheet carries a date that counts, oldest_sheet is null. A file of one
sheet has no oldest_sheet. Which sheet’s date counts for your product is
yours to decide; the file’s reading and findings stay as they are.
What the sheets say about each other¶
The program compares the sheets of a file and reports what it sees. It chooses none of them and never changes the united reading: which sheet counts for your product, only you know.
different-productsamong thefindings: the product names of the sheets are not one product’s. The parts of one product (”… Komponente A” and “… Komponente B”, “… (Harz)” and “… (Härter)”, colours that differ in a number at the end) are one product and not reported. Such a file is a combination pack or a set, sold as one unit, or a file that belongs to something else than the product it is filed under. Where a product name could not be read, nothing is reported, because it cannot be told.country-editions-differ: two sheets carry the same product name and are for different countries, and they differ in the fields named (statement codes, signal word, pictograms, classification).
A cover page¶
Some files begin with a cover page: a page titled “Deckblatt” or
“Sicherheitsdatenblätter für …”, a kit’s information sheet, a list “Set aus
Sicherheitsdatenblättern bestehend aus:”, or a country’s additions to the
sheet that follows. A cover page is no
sheet. Nothing is read from it: no date, version, supplier or statement of
the record comes from it, and it is not among parts.
Key |
Meaning |
|---|---|
|
|
|
the word on the cover page that names a display, as printed (such as “Mix-Display”); |
A display is a unit a supplier ships to be set up in a shop, holding several products. A file with a display’s cover page belongs to the display, not to one of its products.
Other parts¶
Part |
Holds |
|---|---|
|
path, name and size of the file |
|
what was noticed while reading the sheet, such as a label that could not be looked at as drawn; empty where nothing was |
|
for a file that is no German sheet or could not be read: that nothing was read further; otherwise empty |
|
for a file no text could be read from: the reason; otherwise empty |
|
for a PDF that carries an embedded file: see The embedded file |
|
with |
The full description of a record, with every key and its type, is a JSON Schema that ships with the program; programmers find it under The JSON schema.