How to turn a lighting spec sheet PDF into structured product data

By chatLED team · Published · Updated

About the example. Example Lighting and its LIN.UP linear pendant are fictional. It is the same sample product shown on the chatLED Digitize page. No real manufacturer's data appears in this guide.

What "structured" means for a spec sheet

A lighting spec sheet answers two kinds of question. The first kind is a fact about the product, such as its lumen output or its CRI. The second kind is about ordering: which options exist, what code each option adds to the part number, and which options cannot be combined.

A PDF holds both as text and tables laid out for a person to read. Structured data holds them as records that software can read without guessing. For an ordering table, that means three things.

  • Option groups. Each column of the ordering table is a group, such as Length or Driver, with a position in the part number.
  • Options. Each choice in a group has a name and the code it adds, such as 35 for 3500K.
  • Rules. Each restriction says which choice it starts from, which choice it switches off, and where on the sheet it came from.

A worked example: the LIN.UP ordering table

The LIN.UP sheet has a seven-column ordering table on page 2. Read left to right, it becomes seven option groups.

Option groups extracted from the fictional LIN.UP spec sheet
PositionGroupCodesWhat the codes mean
1SeriesLIN.UPLinear indirect
2Length2 4 82 ft, 4 ft, 8 ft
3CCT27 30 35 402700K to 4000K, all 90 CRI
4OutputLOW MED HIGHLow, medium, high
5VoltageUNV 347V120/277V, 347V
6DriverDB DB.1% ELV DALI DMX0-10V 1%, 0-10V 0.1%, reverse phase, DALI, DMX
7FinishW BLK SLVWhite, black, silver

The table alone would allow 1,080 part numbers: 1 × 3 × 4 × 3 × 2 × 5 × 3. The sheet does not allow all of them. A note under the driver options says the ELV driver is reverse-phase dimming for 120V only. That note is a rule, and it is the part of a spec sheet that a plain table export loses.

One option group as data

Here is the Voltage group as chatLED records it for a digitized product. Each option keeps its code, and the group keeps its position in the part number.

The Voltage group of the fictional LIN.UP
GroupPositionCodeOption
Voltage5UNV120/277V
Voltage5347V347V

One rule as data

The driver note becomes a rule with a condition, an action and a source reference. Choosing 347V switches off the ELV driver.

The driver note recorded as a rule
WhenVoltage 347V is chosen
ThenDriver ELV is not available
Reason shownELV is reverse-phase dimming for 120V only, so it is not available at 347V.
SourceDriver options table, page 2

That one rule removes 108 of the 1,080 combinations, which leaves 972 part numbers. The rule covers only part of the note. UNV means 120/277V, so no code in the part number tells a 120V circuit from a 277V one. The 120V limit stays as text that the configurator shows next to the ELV option, and a reviewer checks the circuit voltage on the drawings.

How to review the result against the PDF

Extraction makes mistakes, so treat the first result as a draft. Open the data next to the PDF and check it in this order.

  1. Count the groups. The number of option groups should equal the number of columns in the ordering table, in the same order.
  2. Read each code aloud against the sheet. A code that differs by one character, such as DB.1% read as DB1%, produces part numbers the factory will not recognize.
  3. Find every footnote and note. Each one that limits a combination should appear as a rule. Check that the rule points at the right option on both sides.
  4. Build a part number you know is valid, and one you know is not. LIN.UP-4-35-MED-UNV-ELV-W should build. LIN.UP-4-35-MED-347V-ELV-W should be refused, with the driver note as the reason.
  5. Check compliance marks by eye. Listings and certifications often sit in logos or small print. Confirm each one against the PDF before you rely on it.

On chatLED, the sample of your first product appears next to its PDF with a configurator you can try. If something is wrong, the results page has a Report a problem form, and the files you receive are one JSON file per product plus a manifest that lists each sheet.

What a spec sheet cannot tell you

Some gaps are in the source, and no extraction method closes them.

  • Rules that live elsewhere. If a restriction appears only in a price list, an ordering guide or a sales email, it is not on the sheet and will not be in the data. Supply those documents too, or add the rule by hand.
  • Photometry. A sheet usually prints a summary table. The full distribution is in the IES or LDT file, which is a separate source.
  • Ambiguous notes. "Consult factory" is not a rule a configurator can apply. It needs a person's answer.
  • File type. chatLED Digitize accepts PDF files. A scanned sheet with no text layer is harder to read than one exported from design software.

Next step

Upload one of your own spec sheets and see the first product as a sample next to its PDF.

Sources

  1. Example Lighting LIN.UP sample product, chatLED Digitize