Dataset
Building permit and plan review comment datasets for AI training
A building permit dataset is the record of how a permit submission was reviewed: the drawing set as submitted, the plan reviewer's numbered comments with their code citations, the design team's written responses and the resubmitted sheets, for every review cycle through approval. SourceX sources these to a buyer's spec from architects, engineers, permit expediters and private plan review firms that hold them as correction letters, comment-response matrices and marked-up drawing sets, including structural peer review logs. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Permit submittals with numbered review comments, code citations, design team responses and resubmitted sheets for each review cycle
- Typical systems
- Bluebeam Revu, ProjectDox, Accela, e-PlanREVIEW, Word and Excel response matrices, PDF correction letters
- Typical history
- One record set per permit, from first submittal to approval; specify permit count, years, code editions and jurisdictions
- Modality
- PDF letters and drawing sheets, comment and response text, structured comment logs
- Delivery formats
- Agreed per order; JSONL comment records, sheets before and after as PDF or images, original letters and matrices
- Preparation
- Owner, address, parcel and permit numbers, reviewer names, seals and signatures removed or masked as the scope requires
- Licensing
- Client agreements and consultants' rights in the drawings reviewed per project; permitted use set in the license
- Availability
- Sourced to your spec from firms that kept the full review record; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| comment_id | string | Pseudonymous ID for one comment, kept across cycles so a carried-forward comment stays one record. |
| permit_case | object | Permit type, such as new building or tenant improvement, the scope of work, a valuation band and a masked case number. |
| jurisdiction_profile | object | State, jurisdiction type and size band, adopted code editions and whether local amendments apply; name masked where agreed. |
| code_basis | object | Occupancy classification, construction type, sprinkler status, stories and area from the code analysis sheet. |
| review_cycle | object | The submittal on which the comment was raised, with submission and return dates. |
| reviewer | object | Reviewing discipline and reviewer type: jurisdiction plans examiner, contracted review firm or structural peer reviewer. Never a name. |
| comment_text | string | The reviewer's wording as written, flagged when it matches a standard library comment. |
| code_citations | array | Code, edition and section or table cited, normalized from the reviewer's shorthand, with the raw string kept. |
| sheet_refs | array | Sheet numbers, detail, door or grid references, and the page and coordinates of any PDF markup. |
| applicant_response | object | Response text, responding discipline, response type and the sheet or calculation page the answer points to. |
| sheet_change | object | The sheet before and after resubmittal, with the delta number, the clouded region and how the link was made. |
| comment_status | array | Status at each cycle: open, resolved, not addressed, withdrawn, deferred or approved with a condition. |
| permit_outcome | object | Approval date, cycles per discipline, conditions of approval and deferred submittals. |
| source_form | enum | Correction letter PDF, portal export, markup summary or spreadsheet matrix, with a parse confidence flag. |
Field names from the table above; values are masked placeholders.
Example record
{
"comment_id": "prc_7d41a9_014",
"permit_case": {
"case": "permit_7d41a9",
"type": "tenant_improvement",
"scope": "Convert retail suite to cafe with seating and prep kitchen"
},
"jurisdiction_profile": {
"state": "[STATE]",
"type": "city",
"codes": [
{
"code": "IBC",
"edition": "2021",
"local_amendments": true
}
]
},
"code_basis": {
"occupancy_claimed": "B",
"construction_type": "V-B",
"sprinklered": false,
"suite_area_sf": 1480
},
"review_cycle": {
"raised_in": 1,
"submitted": "2024-03-04",
"comments_returned": "2024-03-22"
},
"reviewer": {
"discipline": "building",
"role": "jurisdiction_plans_examiner"
},
"comment_text": "Sheet G-002, code analysis: occupant load for Dining 102 is calculated with the business area factor. Use 15 net for unconcentrated assembly with tables and chairs per Table 1004.5. Revise the occupant load and confirm occupancy classification, exits and fixture count.",
"code_citations": [
{
"code": "IBC",
"edition": "2021",
"ref": "Table 1004.5",
"raw": "T1004.5"
}
],
"sheet_refs": [
{
"sheet": "G-002",
"item": "occupant load table",
"markup": {
"page": 2,
"x": 0.61,
"y": 0.34
}
}
],
"applicant_response": {
"by": "architect",
"type": "drawing_change",
"text": "Dining 102 recalculated at 930 sf net / 15 = 62. Suite reclassified A-2. Second exit added at grid C-4, see A-101. Fixture count revised on P-001.",
"points_to": [
"G-002",
"A-101",
"P-001"
]
},
"sheet_change": {
"delta": 1,
"link_method": "delta_number",
"verified_by_person": true,
"before": "sheets/permit_7d41a9/c1/G-002.pdf",
"after": "sheets/permit_7d41a9/c2/G-002.pdf"
},
"comment_status": [
{
"cycle": 1,
"status": "open"
},
{
"cycle": 2,
"status": "resolved",
"new_comments_on_change": [
"prc_7d41a9_031"
]
}
],
"permit_outcome": {
"approved": "2024-05-17",
"cycles": {
"building": 2,
"fire": 3
},
"deferred_submittals": [
"kitchen hood suppression system"
]
},
"source_form": "portal_comment_export"
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train code-compliance checking on drawings
Each comment is a located finding with its rule: which sheet and detail, which code section and what was wrong.
Draft and grade comment responses
Responses paired with next-cycle status show which answers closed a comment and which came back not addressed.
Predict comments before submission
With occupancy, construction type and jurisdiction attached, first-cycle comments show what reviewers raise on a given building type.
Ground retrieval in applied code
Citations tied to real conditions show how a section was applied in practice.
Build held-out plan check evaluations
A first-submittal set with its code basis is the task and the reviewer's comments are a reference answer, though reviewers do not catch everything.
Use-case guides: Document AI, enterprise search and RAG, Private evaluation sets, Enterprise and computer-use agents
What makes this data valuable
Every cycle kept
First submittal through approval, so each comment has an ending.
Citations with an edition
A section number resolved to a code and edition, not a bare string.
Located on the sheet
Sheet, detail and markup coordinates, so the finding points at a place.
Responses item by item
A matrix answering each numbered comment joins more cleanly than a narrative letter.
Both versions of the sheet
The sheet as reviewed and as resubmitted, so the accepted fix is visible.
Discipline and reviewer type
Building, fire, structural, accessibility, energy and peer review comments labeled apart.
Process
Building permit dataset
A comment is a finding, and how it closed is the label
A plan review comment names a place, such as sheet A-201, door 105B or detail 4 on S-501, cites a rule, usually a code section, and says what is wrong or missing. A drawing set filed with its correction letter gives you that much. The full review record adds how each comment ended. Every numbered comment has a status at every cycle, set by the reviewer who raised it: open, then resolved, not addressed, withdrawn or approved with a condition. That status is a grade on the response. A comment sent back as not addressed, with a second response under it, shows what a reviewer would not accept and what finally did.
The response decides what kind of example it becomes. Design teams answer in four ways. They change the drawing and say where. They point to information that was already on another sheet. They disagree and argue the code reading. Or they ask for an alternative method or a deferral. Only the first produces a before-and-after pair of sheets. The second is a labeled search failure, and the third is a recorded dispute, with the reviewer's reply in the next cycle as the ruling. Keep all four and label them. A corpus filtered down to drawing changes loses every case where the reviewer was wrong.
Comments and fixes do not pair off one to one. A numbered comment often bundles several asks, and a response that answers two of three comes back as not addressed. Many comments are standard library text about a missing document, such as a statement of special inspections, and they label an incomplete package, not an error on a sheet. A fix can draw new comments, because a second exit added in cycle two is reviewed for the first time in cycle two. A sheet with no comment is not a sheet found compliant, so treat uncommented sheets as unlabeled, not as negatives. And the join is manual. Comments arrive as a correction letter or a portal export, responses as a Word or Excel matrix, and the change as a clouded region with a delta number on the resubmitted PDF. A response that says see revised A-201 when the change went onto A-601 breaks the link.
Why code edition, occupancy and discipline belong in the spec
A citation only means something against the code that was in force. Model codes are revised every three years, and each state or city adopts an edition on its own schedule, often with amendments. Section numbers move between editions. The occupant load table that a comment under the 2015 model code cites as Table 1004.1.2 is Table 1004.5 from the 2018 edition on. Permits gathered in bulk mix editions, so one citation string can point at different text and one rule can carry two numbers.
Occupancy decides which rules come up at all. An office tenant improvement draws comments on exit travel, accessible routes and restroom counts. An apartment building over a parking level draws fire-resistance, separation and structural comments the office job never sees. If your model checks one building type, comments from another are mostly noise, and the code analysis sheet is the key to filter on.
Discipline changes the shape of the record. Building, fire, structural, accessibility and energy reviews are often done by different people, sometimes in different agencies, and each returns comments on its own schedule. A permit can clear building review in two cycles and wait on fire for a fourth. Structural peer review is a separate track: an independent engineer comments on calculations and analysis assumptions, the engineer of record answers item by item, and the log may never pass through the permit portal. Deferred submittals are usually reviewed after the permit is issued, so their comments tend to sit in a later file. State the edition, occupancies and disciplines, and ask for counts by each before you ask for volume.
What to check before licensing
- Ask for the design firm's client agreement terms on ownership and use of the drawings and correspondence, and have counsel confirm they allow licensing. Owner-drafted contracts can transfer ownership, and consultants' sheets carry their own terms.
- Confirm on a sample that owner names, addresses, parcel and permit numbers, reviewer names, seals and signatures are removed wherever the agreed scope requires it.
- Count how many comments in the sample cite a code section, and how many of those resolve to a named code and edition.
- Check that every first-cycle comment has a final status. Comments that vanish between cycles usually mean a letter or resubmittal is missing.
- Ask how each comment was tied to its drawing change: by delta number, markup coordinates, text matching or by hand, and what share a person verified.
- Ask what share of comments are standard library text, since they repeat across permits and inflate counts.
- Ask which side kept the record. A plan review firm's contract with the jurisdiction may limit release, and a record open to public inspection is not necessarily free to license, so have counsel check both.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
How is this different from BIM files or architectural plan sets?
This dataset is organized around the comment, not the drawing. BIM and plan set datasets deliver models and sheets, with review comments as one attribute among many. Here each record is one finding followed through every cycle, with its citation, response type, status history and reviewing discipline. It teaches what reviewers object to and what satisfies them.
Which code editions and jurisdictions can a dataset cover?
Whichever the holding firms worked in, which is why you specify it. A regional architect's files cluster in a few jurisdictions and the editions in force during those years, while a permit expediter or plan review firm may span more. State the codes, editions and states you need. SourceX looks for holders that match, and a match is not guaranteed.
Permit files are often public records. Why license them?
Because the public file is rarely the whole record, and public access does not settle the right to use the drawings. Response matrices, markup sessions and peer review logs often sit only with the design team or review firm. Filing a drawing with a building department does not by itself decide who may copy it or train on it. Have counsel confirm who holds rights in the drawings and what your use requires.
What does structural peer review add?
It adds engineer-to-engineer comments on the design basis, which plan check rarely reaches. A peer reviewer questions load paths, analysis assumptions and calculation pages, and the engineer of record answers each item, sometimes with revised calculations and no sheet change. The logs are usually spreadsheets with a status per item. Specify whether the calculations they refer to must come with them.
How is a comment linked to the change that closed it?
Through the response and the revision marks on the resubmitted sheet. The response names where the change was made, and the sheet carries a revision cloud with a delta number matching a line in its revision block. Where markups were made in a PDF review tool and the file was not flattened, an exported markup list adds page, coordinates and status. Ask that each link carry the method that produced it and whether a person checked it.
Can the drawings be delivered, or only the comment text?
Either, depending on the holder's rights and the scope you agree. Comment and response text with sheet references serves response drafting and comment prediction. Sheets before and after are needed for any model that must find the problem on the drawing. Drawings raise the ownership and site-identity questions, so decide early which tasks need them.
Related datasets
- BIM models and architectural design files
Design-side building files: BIM models, drawing sets, specifications and the review comments and revisions behind them
- Construction project records
RFIs, submittals, change orders, daily logs, inspections, photos and schedules from building projects
- Building commissioning and inspection sign-off records
Checklists, functional tests with expected and measured responses, balancing reports, the issues log and sign-offs for a building's systems
- Architectural plan sets, permit sets and as-builts
Whole sheet sets for building projects at each issue: design, permit, construction and as-built, with sheet index and correction letters
- Structural analysis models with load cases and results
Analysis models with loads, combinations and code basis, plus results, design checks and intermediate saves
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026. Own data like this? See how companies license it to AI developers.