What roof measurement data your CRM receives, field by field
Roof area, footprint, squares, order squares, pitch and nine line lengths: what each field RoofStruct sends means on the roof, and which line of a material order it feeds.
Every measurement RoofStruct sends to your CRM, by webhook or API, carries the same block: two areas, three ordering numbers, the predominant pitch, four counts and nine line lengths, each length in feet and in metres. They are the numbers the PDF report prints, from the same calculation. Here is what each one means on the roof and where it belongs in your CRM.
The areas
| Field | What it is | Use it for |
|---|---|---|
roof_area_ft2 / roof_area_m2 |
Area along the slope of every roof face | Shingles, underlayment, any material sold by the square |
footprint_ft2 / footprint_m2 |
The flat outline seen from above | Rough checks against the building plan, never material |
Roof area is always larger than the footprint on a pitched roof; the steeper the roof, the bigger the gap. Map roof area to your material fields.
The ordering numbers
| Field | What it is |
|---|---|
squares |
Roof area divided by 100 sq ft |
waste_percent |
The waste percent set on the drawing |
order_squares |
Squares with the waste added |
order_squares is the number to buy against; squares is the roof. If your CRM calculates its own waste, map squares and let it add its percentage, but don't add waste twice.
The pitch
predominant_pitch is the rise per 12 of the largest face, as a number (6 for a 6/12). predominant_pitch_text is the same pitch written the way a roofer says it, like "6/12". Use the text for display and the number for any pricing rule that steps up on steep roofs.
The line lengths
Each length comes twice, in lengths_ft and in lengths_m:
| Field | On the roof | Feeds |
|---|---|---|
eave |
Bottom edges | Starter strip, ice and water along the eaves |
rake |
Sloped gable edges | Rake starter, rake trim |
ridge |
Horizontal peaks | Ridge cap, ridge vent |
hip |
Sloped external corners | Hip cap |
valley |
Internal corners | Valley metal or valley underlayment |
drip_edge |
Edges that take drip edge | Drip edge |
step_flashing |
Roof meeting a sidewall | Step flashing |
wall_flashing |
Roof meeting a headwall | Headwall flashing |
gutter |
Runs marked for gutter | Gutter |
A length is only counted if the edge was labeled with that type on the drawing. An unlabeled line contributes to nothing.
The counts
| Field | What it counts |
|---|---|
facet_count |
Roof faces |
unpitched_face_count |
Faces counted flat |
structure_count |
Separate structures on the job |
penetration_count |
Vents, skylights, chimneys and other cutouts |
Facet count is a quick complexity signal for labour pricing. Penetrations hint at flashing kits and boots.
The two fields that explain the rest
schemaisroofstruct.measurements.v1. It changes only if the block changes shape, so check it before mapping.calibratedsays whether the drawing had a scale. When it'sfalse, every area and length is empty (null), because a drawing with no scale has no real sizes.
Where you trip
- Mapping footprint to materials. It's the outline, not the roof. Use roof area.
- Adding waste twice.
order_squaresalready includeswaste_percent. - Reading an empty length as zero.
nullmeans "not measured", which is different from a roof with no valleys (0). - Mixing units. Pick feet or metres per CRM field and stick to it.
Developer docs: Measurements and Get report measurements in the RoofStruct API reference.