The .roomsketch format
Last updated: July 9, 2026
.roomsketch is the interchange format shared by PipeSketch (plumbing) and WireSketch (electrical). It carries what both trades need and neither owns: the room itself (calibrated photos, real-world scale, and property context). It deliberately never carries pipes, wires, fixtures, or anything trade-specific.
Container
A .roomsketch file is a single UTF-8 JSON document. Images are embedded as base64 JPEG so the file is self-contained: no archive, no sidecar files. The registered UTI is com.vanmoofer.roomsketch (conforms to public.json), so iOS routes the file to either app from the share sheet, Files, AirDrop, or Messages.
Manifest schema (v1)
{
"formatVersion": 1,
"producer": { "app": "PipeSketch", "version": "1.0" },
"exportedAt": "2026-07-09T12:00:00Z", // ISO 8601, optional
"property": { // optional
"name": "12 Oak Street",
"type": "house", // house | flat | apartment |
// garage | commercial | other
"address": "…", // optional: carries PII, see note
"latitude": 52.5, "longitude": 13.4, // optional
"region": "EU" // COARSE hint: EU | UK | US | AUNZ
},
"rooms": [
{
"id": "UUID",
"name": "Bathroom north wall",
"kind": "wall", // wall | floor
"imageBase64": "…", // JPEG
"imageWidthPx": 4000,
"imageHeightPx": 3000,
"pixelsPerCm": 12.5, // null = uncalibrated
"wallGeometry": { // optional
"widthCm": 400, "heightCm": 260
}
}
]
}
Semantics
| Field | Rule |
|---|---|
formatVersion | Missing = 1. Readers accept unknown fields (forward compatibility) and reject only a higher major version they cannot honor. |
region | A coarse hint, never a binding standards profile. Importers suggest a matching profile but the user always confirms: a US import must still explicitly choose IPC vs UPC in PipeSketch. |
kind | wall or floor. WireSketch (walls only) imports floors as walls or skips them; PipeSketch preserves both. |
pixelsPerCm | The single source of scale truth, in the image's pixel space. null means uncalibrated; the importing app walks the user into its calibration flow. |
| Coordinates | Positions inside each app are normalized (0 to 1) against the image; only the image and its scale travel, so no coordinate conversion is ever needed. |
Privacy note
A single shared room (Share as Room Sketch) carries only the photo and its scale: no address and no location. A whole-property pack includes the property's street address, so a contractor can find the job, but not its precise GPS coordinates and not any private notes. The photos still show the inside of a building, and the file is created locally and shared through the iOS share sheet. Send it only to people you intend to give that information to.
Import behavior
- Both apps mint new IDs on import: importing twice creates two independent copies, never a merge.
- Oversized files are rejected with a clear message before decoding (both apps cap the container size).
- Images that fail to decode are dropped and counted; the import reports how many.
What it is not
Not a backup format (each app has its own full-project format: .pipesketch / WireSketch project files), not a CAD interchange, and not a fixture/trade-data carrier. Keeping it small is what keeps the two apps compatible.