Chiban export format
Format version 2.2.0.
This archive holds one town's records exported from Chiban. It is a standard zip file, so it opens on any computer without extra software. The records are written three ways, as plain text (NDJSON), as CSV, and as one Excel workbook, and every stored PDF has a PDF/A copy beside the original bytes, so the records stay readable without Chiban. Data files are compressed; stored documents are kept as they are.
Layout
manifest.json: first entry. Lists every data file and every stored file with its SHA-256.manifest.sha256: the SHA-256 ofmanifest.jsoninsha256sumformat.FORMAT.md: this document.data/{entity}.ndjson: one JSON object per line, one file per entity, ordered by primary key. Keys are sorted. Timestamps are UTC with microseconds. Dates areYYYY-MM-DD. Geometry is GeoJSON in EPSG:4326.files/sha256/{aa}/{bb}/{sha256}: the exact bytes of each stored document, named by their SHA-256, stored once however many documents use them.tables/{entity}.csv: the same records as the NDJSON file, for spreadsheets (full exports only). See "Spreadsheet files" below.tables/chiban-export.xlsx: one Excel workbook with a sheet per entity (full exports only).pdfa/sha256/{aa}/{bb}/{sha256}.pdf: a PDF/A-2 copy of a stored PDF, named by the SHA-256 of the original (full exports only). See "PDF/A copies" below.
Manifest fields
-
format,formatVersion,kind(businessorincremental),exportId,baseExportId,createdAt. -
town: name, state, time zone.appVersion,pack,migrationHead: the software that wrote the archive. -
entities[]:name,path,count,sha256,inExport. -
files[]:sha256,size,contentType,path,inExport. -
inExportis the export whose archive holds the bytes. In a full export it equalsexportId. In an incremental export an unchanged entity or file points at the earlier export. -
tables(full exports only):csv[]withentity,path,count,sha256,size, andworkbookwithpath,sha256,size, andsheets[]ofentity,name,rows. -
pdfa(full exports only): one entry per stored PDF withsourceSha256,status,path,sha256,size,reason,detail.statusisstoredwhen the town already held a PDF/A copy (pathpoints intofiles/; a PDF that is itself a PDF/A copy points to itself),convertedwhen the export made the copy (pathpoints intopdfa/), orfailedwhen the PDF could not be converted (pathis null andreasonanddetailsay why). A failed conversion never stops the export, and the original is always kept. Entries that are notfailedalso carryvalidationwithstatus,profile,validator,versionanddetail:passedorfailedwhen veraPDF checked the copy against the PDF/A-2b profile, ornot_validated(withdetailsaying why) when veraPDF was not installed, ran out of time, or no result was recorded when a stored copy was made. A copy that fails validation is still included.not_validatedis never a pass.
Spreadsheet files
Each CSV has a header row of column names, sorted alphabetically, then one row per record in
the same order as the NDJSON file. Files are UTF-8 with a byte order mark so Excel opens them
correctly, fields are separated by commas, quoted when they hold a comma, quote, or line break,
and lines end with CR LF (RFC 4180). A missing value is an empty cell. Objects and lists are not
split into columns: they are written as JSON text inside the cell. Text that would start a
formula in a spreadsheet (it begins with =, +, -, @, a tab, or a carriage return) has a
single quote placed in front of it in the CSV files, so the NDJSON files remain the exact record.
The workbook has one sheet per entity, named after the entity and cut to Excel's limit of 31
characters (a numeric suffix keeps names unique). Cells hold text, numbers, and true or false.
An entity with more rows than one sheet can hold continues on a sheet whose name ends in
_2, _3, and so on, each repeating the header row. A cell longer than Excel's limit of
32,767 characters is cut there in the workbook only; the CSV and NDJSON hold the full value.
PDF/A copies
Every stored PDF has a PDF/A-2 copy in the archive, so the records can be kept in the archival format. Copies the town already holds are reused; the rest are converted with Ghostscript while the export is prepared. Original files are never changed or removed. Each copy is checked with veraPDF against PDF/A-2b when veraPDF is installed, and the manifest records the result per copy.
Credentials never appear in an archive: password hashes, authenticator secrets, payment processor keys, calendar secrets, and sign-in or link tokens are omitted. Records that need them are restored without them and must be set up again.
Entities
abutter_list_candidates
File: data/abutter_list_candidates.ndjson. Ordered by id.
id: uuidlist_id: uuidparcel_id: uuidreasons: jsonbexcluded: booleanexclusion_reason: text, nullable
References:
list_idrefers toabutter_listsparcel_idrefers toparcels
abutter_list_recipients
File: data/abutter_list_recipients.ndjson. Ordered by id.
id: uuidlist_id: uuidorigin_key: textposition: integerdata: jsonbexcluded: booleanexclusion_reason: text, nullablequalifies: boolean, nullabledecision_reason: text, nullable
References:
list_idrefers toabutter_lists
abutter_lists
File: data/abutter_lists.ndjson. Ordered by id.
id: uuidapplication_id: uuidversion: integerstatus: textstrategy_key: textstrategy_version: integerresolver_key: textresolver_version: integerdrawn_on: datelayers: jsonbincomplete: jsonbcrossings_attested_by: uuid, nullablecrossings_attested_at: timestamp with time zone, nullableissued_by: uuid, nullableissued_at: timestamp with time zone, nullablesnapshot: jsonb, nullablesnapshot_sha256: text, nullablesuperseded_by: uuid, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
application_idrefers toapplications
acceptance_schedules
File: data/acceptance_schedules.ndjson. Ordered by application_id.
application_id: uuidmeeting_id: uuidset_by: uuidset_at: timestamp with time zone
References:
application_idrefers toapplicationsmeeting_idrefers toboard_meetings
account_profiles
File: data/account_profiles.ndjson. Ordered by user_id.
user_id: uuidphone: text, nullablemailing_address: text, nullableupdated_at: timestamp with time zone
References:
user_idrefers tousers
agenda_items
File: data/agenda_items.ndjson. Ordered by id.
id: uuidmeeting_id: uuidposition: integerkind: texthearing_id: uuid, nullabletitle: textdescription: text
References:
meeting_idrefers toagendashearing_idrefers tohearings
agendas
File: data/agendas.ndjson. Ordered by meeting_id.
meeting_id: uuidstatus: textrevision: integerpublished_at: timestamp with time zone, nullabledocument_id: uuid, nullable
References:
meeting_idrefers toboard_meetings
alias_overrides
File: data/alias_overrides.ndjson. Ordered by id.
id: uuidformat: textvalue: textparcel_id: uuidreplaced_parcel_id: uuid, nullablereason: textexpires_on: date, nullablesuperseded_by: uuid, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
parcel_idrefers toparcelsreplaced_parcel_idrefers toparcels
anonymous_intake_verifications
File: data/anonymous_intake_verifications.ndjson. Ordered by id.
id: uuidimage_ref: text, nullableapp_version: textcaddyfile_sha256: textran_at: timestamp with time zonepassed: booleanfindings: jsonb
appeal_nodes
File: data/appeal_nodes.ndjson. Ordered by id.
id: uuidkind: textapplication_id: uuid, nullabledecision_id: uuid, nullableparent_id: uuid, nullablelinked_pb_node_id: uuid, nullableoccurred_on: dateoutcome: text, nullablestatus: textuntimely: booleancreated_by: uuidcreated_at: timestamp with time zone
References:
application_idrefers toapplicationsdecision_idrefers toboard_decisions
appeals
File: data/appeals.ndjson. Ordered by id.
id: uuidapplication_id: uuidkind: textfiled_on: dateappellant_name: textresolved_on: date, nullableoutcome: text, nullablerecorded_by: uuidresolved_by: uuid, nullable
References:
application_idrefers toapplications
application_conditions
File: data/application_conditions.ndjson. Ordered by id.
id: uuidapplication_id: uuidcode: texttext_snapshot: textblocks_issuance: booleanstatus: textstatus_reason: text, nullablechanged_by: uuidchanged_at: timestamp with time zone
References:
application_idrefers toapplications
application_document_items
File: data/application_document_items.ndjson. Ordered by id.
id: uuidapplication_id: uuiditem_key: textwaiver_reason: text, nullablewaiver_requested_by: uuid, nullablewaiver_requested_at: timestamp with time zone, nullableaccepted_reason: text, nullableaccepted_by: uuid, nullableaccepted_at: timestamp with time zone, nullable
References:
application_idrefers toapplications
application_document_links
File: data/application_document_links.ndjson. Ordered by id.
id: uuidapplication_id: uuiditem_key: textdocument_id: uuidlinked_by: uuidlinked_at: timestamp with time zone
References:
application_idrefers toapplicationsdocument_idrefers todocuments
application_notes
File: data/application_notes.ndjson. Ordered by id.
id: uuidapplication_id: uuidbody: textauthor_id: uuidcreated_at: timestamp with time zone
References:
application_idrefers toapplications
application_number_counters
File: data/application_number_counters.ndjson. Ordered by prefix, year.
prefix: textyear: integerlast: integer
application_parcels
File: data/application_parcels.ndjson. Ordered by application_id, parcel_id.
application_id: uuidparcel_id: uuidadded_by: uuidadded_at: timestamp with time zone
References:
application_idrefers toapplicationsparcel_idrefers toparcels
application_professionals
File: data/application_professionals.ndjson. Ordered by id.
id: uuidapplication_id: uuidname: textprofession: textbusiness_address: textseal_on_plat: booleanadded_by: uuidadded_at: timestamp with time zone
References:
application_idrefers toapplications
application_snapshots
File: data/application_snapshots.ndjson. Ordered by id.
id: uuidapplication_id: uuidsequence: integerreason: textbody: jsonbbody_sha256: textcreated_by: uuidcreated_at: timestamp with time zone
References:
application_idrefers toapplications
applications
File: data/applications.ndjson. Ordered by id.
id: uuidseq: bigserialproject_id: uuidnumber: textapplication_type_key: textconfig_pins: jsonbstate: textsubstep: text, nullablerow_version: integervalues: jsonbfacts: jsonbreceived_date: date, nullablecompleted_date: date, nullabledecided_on: date, nullableissued_on: date, nullableclosure_reason: text, nullablepermit_revision: integerpermit_corrected_on: date, nullableresponsible_user_id: uuid, nullablecreated_by: uuidcreated_at: timestamp with time zoneupdated_at: timestamp with time zone
References:
project_idrefers toprojects
association_rosters
File: data/association_rosters.ndjson. Ordered by id.
id: uuidparcel_id: uuidassociation_name: textofficers: jsonbas_of: datechecked_on: date, nullableended_on: date, nullableended_at: timestamp with time zone, nullableupdated_by: uuidupdated_at: timestamp with time zone
References:
parcel_idrefers toparcels
attestations
File: data/attestations.ndjson. Ordered by id.
id: uuidapplication_id: uuiduser_id: uuidstatement_text: textstatement_sha256: textattested_at: timestamp with time zone
References:
application_idrefers toapplications
audit_log
File: data/audit_log.ndjson. Ordered by id.
id: uuidat: timestamp with time zoneactor_kind: textactor_user_id: uuid, nullableactor_job: text, nullableaction: textentity_type: textentity_id: textbefore: jsonb, nullableafter: jsonb, nullable
board_decisions
File: data/board_decisions.ndjson. Ordered by id.
id: uuidapplication_id: uuidhearing_id: uuidmeeting_id: uuidvoted_on: dateoutcome: textmotion: textvotes: jsonbfindings: textconditions: jsonbreasons_for_disapproval: text, nullablefiled_on: date, nullableminutes_document_id: uuid, nullablewritten_decision_document_id: uuid, nullableletter_document_id: uuid, nullablerecorded_by: uuidrecorded_at: timestamp with time zone
References:
application_idrefers toapplicationshearing_idrefers tohearingsmeeting_idrefers toboard_meetings
board_meetings
File: data/board_meetings.ndjson. Ordered by id.
id: uuidboard_id: uuidmeeting_date: datekind: textstatus: textlocation: textstarts_at_minute: integercancel_reason: text, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
board_idrefers toboards
board_memberships
File: data/board_memberships.ndjson. Ordered by id.
id: uuiduser_id: uuidboard_id: uuidtitle: textterm_start: dateterm_end: date, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
board_idrefers toboards
board_packet_access
File: data/board_packet_access.ndjson. Ordered by id.
id: uuidlink_id: uuid, nullablepacket_id: uuid, nullableuser_id: uuid, nullableversion_id: uuid, nullableaccessed_at: timestamp with time zone
References:
link_idrefers toboard_packet_linkspacket_idrefers toboard_packets
board_packet_items
File: data/board_packet_items.ndjson. Ordered by packet_id, document_id.
packet_id: uuiddocument_id: uuidversion_id: uuid, nullableformer_version_id: uuid, nullableposition: integerapproval_id: uuid, nullablewithdrawn_at: timestamp with time zone, nullablewithdrawn_reason: text, nullablesent_at: timestamp with time zone, nullableremoved_at: timestamp with time zone, nullableremoval_sent_at: timestamp with time zone, nullablereplaces_document_id: uuid, nullable
References:
packet_idrefers toboard_packetsdocument_idrefers todocumentsversion_idrefers todocument_versionsapproval_idrefers torendition_approvals
board_packet_links
File: data/board_packet_links.ndjson. Ordered by id.
id: uuidpacket_id: uuidrecipient_name: textrecipient_email: citextexpires_at: timestamp with time zonerevoked_at: timestamp with time zone, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
packet_idrefers toboard_packets
Omitted columns: token_hash
board_packet_members
File: data/board_packet_members.ndjson. Ordered by packet_id, user_id.
packet_id: uuiduser_id: uuidsent_at: timestamp with time zonelast_sent_at: timestamp with time zone
References:
packet_idrefers toboard_packetsuser_idrefers tousers
board_packets
File: data/board_packets.ndjson. Ordered by id.
id: uuidtitle: textboard_id: uuidmeeting_date: datemeeting_id: uuid, nullablecreated_by: uuidcreated_at: timestamp with time zonesent_at: timestamp with time zone, nullablelast_sent_at: timestamp with time zone, nullable
References:
board_idrefers toboardsmeeting_idrefers toboard_meetings
boards
File: data/boards.ndjson. Ordered by id.
id: uuidkind: textname: textshort_name: textarchived_at: timestamp with time zone, nullablecreated_by: uuid, nullablecreated_at: timestamp with time zone
calendar_accounts
File: data/calendar_accounts.ndjson. Ordered by id.
id: uuidkind: texttenant_id: textclient_id: textauthority_base: textgraph_base: textis_active: booleancreated_by: uuidcreated_at: timestamp with time zone
Omitted columns: client_secret_enc
calendar_pushes
File: data/calendar_pushes.ndjson. Ordered by id.
id: uuidinspection_id: uuidsequence: integerop: textinspector_user_id: uuidtarget_kind: textscheduled_date: datestart_minute: integerduration_minutes: integerstatus: textattempts: integerlast_error: text, nullableexternal_ref: text, nullablecreated_at: timestamp with time zonesent_at: timestamp with time zone, nullable
References:
inspection_idrefers toinspections
census_classifications
File: data/census_classifications.ndjson. Ordered by application_id.
application_id: uuidcategory: textexcluded_reason: text, nullablephase: textbuildings: integerhousing_units: integervaluation_dollars: integerclassified_by: uuidclassified_at: timestamp with time zone
References:
application_idrefers toapplications
certificates_of_occupancy
File: data/certificates_of_occupancy.ndjson. Ordered by id.
id: uuidapplication_id: uuidnumber: textissued_on: datefinal_inspection_id: uuiddocument_id: uuidissued_by: uuidissued_at: timestamp with time zone
References:
application_idrefers toapplicationsfinal_inspection_idrefers toinspectionsdocument_idrefers todocuments
clock_adjustments
File: data/clock_adjustments.ndjson. Ordered by id.
id: uuidclock_id: uuidkind: textdays: integer, nullablenew_due: date, nullablereason: textlegal_authority: jsonb, nullableapplicant_consent: booleansuperseded_by: uuid, nullablecreated_by: textcreated_at: timestamp with time zone
References:
clock_idrefers toclocks
clocks
File: data/clocks.ndjson. Ordered by id.
id: uuidapplication_id: uuidrule_key: textrule_version: integerpack_version: textstart_event: textstart_date: datelength_value: integerlength_unit: textcounting_method: textcomputed_due: datecurrent_due: daterolled_from: date, nullablestatus: textmet_on: date, nullablesource: textreplaced_due: date, nullablesuperseded_by: uuid, nullablesuperseded_reason: text, nullablecreated_at: timestamp with time zone
References:
application_idrefers toapplications
code_edition_records
File: data/code_edition_records.ndjson. Ordered by application_id.
application_id: uuidreceipt_date: datecompleted_date: date, nullableclassification: text, nullabledwelling_units: integer, nullableedition_key: textedition_label: textedition_status: textapplicant_election: text, nullablelocal_amendments_in_force: jsonbrecorded_by: uuidrecorded_at: timestamp with time zone
References:
application_idrefers toapplications
complaints
File: data/complaints.ndjson. Ordered by id.
id: uuidnumber: textcase_id: uuid, nullablechannel: textreceived_on: datelocation_text: textparcel_id: uuid, nullabledescription_original: textdescription_public: text, nullablepublic_text_approved_by: uuid, nullablepublic_text_approved_at: timestamp with time zone, nullablecomplainant_name: text, nullablecomplainant_email: citext, nullablecomplainant_phone: text, nullablecreated_by: uuid, nullableis_probe: booleancreated_at: timestamp with time zone
References:
case_idrefers toenforcement_casesparcel_idrefers toparcels
completeness_votes
File: data/completeness_votes.ndjson. Ordered by id.
id: uuidapplication_id: uuidmeeting_id: uuidvoted_on: dateoutcome: textreason: text, nullablerecorded_by: uuidrecorded_at: timestamp with time zone
References:
application_idrefers toapplicationsmeeting_idrefers toboard_meetings
config_versions
File: data/config_versions.ndjson. Ordered by id.
id: uuidkind: textkey: textversion: integerstatus: textbody: jsonbupstream_template_id: text, nullableupstream_template_version: integer, nullablerolled_back_from: integer, nullablecreated_by: uuidcreated_at: timestamp with time zonepublished_by: uuid, nullablepublished_at: timestamp with time zone, nullable
contractor_claims
File: data/contractor_claims.ndjson. Ordered by id.
id: uuidproject_id: uuidparty_id: uuidemail: citextapplication_id: uuid, nullablesent_by: uuid, nullablesent_by_kind: textexpires_at: timestamp with time zonecreated_at: timestamp with time zoneclaimed_at: timestamp with time zone, nullableclaimed_by: uuid, nullablerevoked_at: timestamp with time zone, nullable
References:
project_idrefers toprojectsparty_idrefers toproject_partiesapplication_idrefers toapplications
Omitted columns: token_hash
contractor_profiles
File: data/contractor_profiles.ndjson. Ordered by user_id.
user_id: uuidcompany_name: texttrades: text[]licenses: jsonbcreated_at: timestamp with time zoneupdated_at: timestamp with time zone
References:
user_idrefers tousers
counsel_outcomes
File: data/counsel_outcomes.ndjson. Ordered by id.
id: uuidreferral_id: uuidkind: textoccurred_on: datecourt: text, nullabledocket: text, nullabledocument_id: uuid, nullablenote: text, nullablerecorded_by: uuidcreated_at: timestamp with time zone
References:
referral_idrefers tocounsel_referralsdocument_idrefers todocuments
counsel_referrals
File: data/counsel_referrals.ndjson. Ordered by id.
id: uuidcase_id: uuidreferred_on: datecounsel_name: textpurpose: textpacket_document_id: uuidreferred_by: uuid
References:
case_idrefers toenforcement_casespacket_document_idrefers todocuments
counter_intakes
File: data/counter_intakes.ndjson. Ordered by application_id.
application_id: uuidapplicant_party_id: uuidtaken_by: uuidtaken_at: timestamp with time zonepaper_attestation_recorded_by: uuid, nullablepaper_attestation_recorded_at: timestamp with time zone, nullable
References:
application_idrefers toapplicationsapplicant_party_idrefers toproject_parties
cutover_reconciliations
File: data/cutover_reconciliations.ndjson. Ordered by id.
id: uuidlist_sha256: textreport: jsonbcreated_by: uuidcreated_at: timestamp with time zonesigned_off_by: uuid, nullablesigned_off_at: timestamp with time zone, nullable
cutover_rows
File: data/cutover_rows.ndjson. Ordered by legacy_number.
legacy_number: textapplication_id: uuidimported_by: uuidimported_at: timestamp with time zonesource_sha256: text
References:
application_idrefers toapplications
des_proximity_determinations
File: data/des_proximity_determinations.ndjson. Ordered by application_id.
application_id: uuidsuggested: jsonbdetermination: textreason: textdetermined_by: uuiddetermined_on: date
References:
application_idrefers toapplications
disposition_batches
File: data/disposition_batches.ndjson. Ordered by id.
id: uuidas_of: datestatus: textproposed_by: uuidproposed_at: timestamp with time zoneapproved_by: uuid, nullableapproved_at: timestamp with time zone, nullableexecuted_at: timestamp with time zone, nullablecancelled_at: timestamp with time zone, nullable
disposition_items
File: data/disposition_items.ndjson. Ordered by batch_id, record_kind, record_id.
batch_id: uuidrecord_kind: textrecord_id: uuidseries_key: textseries_version: texteligible_on: dateoutcome: text, nullable
References:
batch_idrefers todisposition_batches
disposition_tombstones
File: data/disposition_tombstones.ndjson. Ordered by id.
id: uuidbatch_id: uuidrecord_kind: textrecord_id: uuidtitle: textseries_key: textseries_version: textseries_citation: jsonbretention_basis: jsonbversion_ids: uuid[]file_sha256s: text[]proposed_by: uuidapproved_by: uuidexecuted_at: timestamp with time zone
References:
batch_idrefers todisposition_batches
document_text
File: data/document_text.ndjson. Ordered by version_id.
version_id: uuidtext: texthas_text_layer: boolean
References:
version_idrefers todocument_versions
Omitted columns: tsv
document_versions
File: data/document_versions.ndjson. Ordered by id.
id: uuiddocument_id: uuidrole: textfile_sha256: textfilename: textcontent_type: textcreated_by: uuid, nullablederived_from_version_id: uuid, nullableredaction_job_id: uuid, nullablecreated_at: timestamp with time zone
References:
document_idrefers todocumentsfile_sha256refers tofilesderived_from_version_idrefers todocument_versions
documents
File: data/documents.ndjson. Ordered by id.
id: uuidseq: bigserialrecord_kind: textrecord_id: uuidtitle: textdoc_kind: textaudiences: text[]is_public: booleanpublic_changed_by: uuid, nullablepublic_changed_at: timestamp with time zone, nullablecreated_by_kind: textcreated_by: uuid, nullablemigration_batch_id: uuid, nullablesuperseded_by: uuid, nullabledisposed_at: timestamp with time zone, nullabledisposed_tombstone_id: uuid, nullablecreated_at: timestamp with time zone
References:
migration_batch_idrefers tomigration_batchessuperseded_byrefers todocuments
Typed references:
record_idbyrecord_kind: application toapplications, inspection toinspections, project toprojects, parcel toparcels, meeting toboard_meetings, migration_batch tomigration_batches, enforcement_case toenforcement_cases
enforcement_appeals
File: data/enforcement_appeals.ndjson. Ordered by id.
id: uuidcase_id: uuidtarget_kind: texttarget_id: uuidfiled_on: dateappellant_name: textboard: textresolved_on: date, nullableoutcome: text, nullablerecorded_by: uuidcreated_at: timestamp with time zone
References:
case_idrefers toenforcement_cases
enforcement_cases
File: data/enforcement_cases.ndjson. Ordered by id.
id: uuidnumber: textparcel_id: uuid, nullablelocation_text: textstatus: textopened_on: dateclosed_on: date, nullableclosure_reason: text, nullableassigned_to: uuid, nullableis_public: booleanpublic_summary: text, nullablerow_version: integercreated_at: timestamp with time zoneupdated_at: timestamp with time zone
References:
parcel_idrefers toparcels
enforcement_designations
File: data/enforcement_designations.ndjson. Ordered by id.
id: uuiduser_id: uuidtitle: textadopting_authority: textadopted_on: dateended_on: date, nullable
enforcement_fines
File: data/enforcement_fines.ndjson. Ordered by id.
id: uuidcase_id: uuidorder_id: uuid, nullablekind: textrule_key: text, nullableamount_cents: integerimposed_on: datecourt: textdocket: textjudgment_step_id: uuid, nullablecounsel_outcome_id: uuid, nullablerecorded_by: uuidcreated_at: timestamp with time zone
References:
case_idrefers toenforcement_casesorder_idrefers toenforcement_ordersjudgment_step_idrefers toorder_court_stepscounsel_outcome_idrefers tocounsel_outcomes
enforcement_notes
File: data/enforcement_notes.ndjson. Ordered by id.
id: uuidcase_id: uuidobserved_on: datebody: textauthor_id: uuidcreated_at: timestamp with time zone
References:
case_idrefers toenforcement_cases
enforcement_orders
File: data/enforcement_orders.ndjson. Ordered by id.
id: uuidcase_id: uuidnumber: textrule_key: textrule_version: integerfinding_ids: uuid[]corrective_action: textcorrective_deadline: date, nullablecease_immediately: booleanstatus: textdrafted_by: uuidissued_on: date, nullableissued_by: uuid, nullabledocument_id: uuid, nullablerow_version: integercreated_at: timestamp with time zone
References:
case_idrefers toenforcement_casesdocument_idrefers todocuments
export_targets
File: data/export_targets.ndjson. Ordered by id.
id: uuidkind: textname: textsettings: jsonbday_of_month: integeris_active: booleancreated_at: timestamp with time zone
Omitted columns: credentials_enc, run_requested_at, last_success_at, last_failure_at, last_error
fee_assessments
File: data/fee_assessments.ndjson. Ordered by id.
id: uuidapplication_id: uuidstage: textsequence: integerschedule_version_id: uuidcomputation: jsonbtotal_cents: integerassessed_by: textassessed_at: timestamp with time zone
References:
application_idrefers toapplications
fee_overrides
File: data/fee_overrides.ndjson. Ordered by id.
id: uuidapplication_id: uuidfee_code: textkind: textamount_cents: integer, nullablereason: textsuperseded_by: uuid, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
application_idrefers toapplications
file_tombstones
File: data/file_tombstones.ndjson. Ordered by sha256.
sha256: textsize_bytes: bigintcontent_type: textdeleted_at: timestamp with time zonebatch_id: uuid
References:
batch_idrefers todisposition_batches
files
File: data/files.ndjson. Ordered by sha256.
sha256: textsize_bytes: bigintcontent_type: textstorage_key: textcreated_at: timestamp with time zone
gate_overrides
File: data/gate_overrides.ndjson. Ordered by id.
id: uuidapplication_id: uuidgate_key: textkind: textreason: text, nullablelegal_authority: jsonb, nullablecreated_by: uuidcreated_at: timestamp with time zonerevoked_at: timestamp with time zone, nullablerevoked_by: uuid, nullable
References:
application_idrefers toapplications
gis_features
File: data/gis_features.ndjson. Ordered by id.
id: uuidlayer_key: textsource_key: textname: text, nullablegeom: geometry(Geometry, 4326)
gis_layers
File: data/gis_layers.ndjson. Ordered by key.
key: textrequired: booleanadapter: text, nullablesource_url: text, nullablemapping: jsonbstale_after_days: integerrefresh_interval_hours: integerlast_success_at: timestamp with time zone, nullablelast_failure_at: timestamp with time zone, nullablelast_error: text, nullable
hearings
File: data/hearings.ndjson. Ordered by id.
id: uuidapplication_id: uuidmeeting_id: uuidkind: textstatus: textcontinued_from: uuid, nullablecontinuation_announced: boolean, nullableannounced_details: text, nullablenotice_set_id: uuidproperly_noticed_at: timestamp with time zone, nullableproperly_noticed_by: uuid, nullableheld_on: date, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
application_idrefers toapplicationsmeeting_idrefers toboard_meetingsnotice_set_idrefers tonotice_sets
historical_records
File: data/historical_records.ndjson. Ordered by id.
id: uuidrecord_type: textnumber: text, nullablerecorded_on: date, nullabledescription: text, nullablevalues: jsonbsource_file: textsource_sha256: textsource_sheet: textsource_row: integerimported_by: uuidimported_at: timestamp with time zone
import_exceptions
File: data/import_exceptions.ndjson. Ordered by id.
id: uuidlayer_key: textfirst_run_id: uuidlast_seen_run_id: uuidrow_key: textkind: textcontent_hash: textpayload: jsonbdetail: textstatus: textdisposition_by: uuid, nullabledisposition_reason: text, nullablecreated_at: timestamp with time zone
References:
first_run_idrefers toimport_runslast_seen_run_idrefers toimport_runs
import_runs
File: data/import_runs.ndjson. Ordered by id.
id: uuidlayer_key: textadapter: textactor_user_id: uuid, nullableactor_job: text, nullableinput_hash: textstatus: textstarted_at: timestamp with time zonefinished_at: timestamp with time zone, nullablereport: jsonb, nullableerror: text, nullable
inspection_item_results
File: data/inspection_item_results.ndjson. Ordered by inspection_id, item_key.
inspection_id: uuiditem_key: textlabel_snapshot: textrequired: booleanoutcome: textnote: text, nullable
References:
inspection_idrefers toinspections
inspections
File: data/inspections.ndjson. Ordered by id.
id: uuidapplication_id: uuidchecklist_version_id: uuidinspection_type: textis_final: booleanstatus: textchannel: textrequested_by_user_id: uuid, nullablerequested_at: timestamp with time zonepreferred_date: date, nullablecontact_name: textcontact_phone: text, nullableaccess_notes: text, nullablereinspection_of: uuid, nullableinspector_user_id: uuid, nullablescheduled_date: date, nullablestart_minute: integer, nullableduration_minutes: integer, nullablecalendar_sequence: integerresult_notes: text, nullableresult_recorded_by: uuid, nullableresult_recorded_at: timestamp with time zone, nullablecancel_reason: text, nullableoff_grid_reason: text, nullablerow_version: integercreated_at: timestamp with time zoneupdated_at: timestamp with time zone
References:
application_idrefers toapplicationschecklist_version_idrefers toconfig_versions
inspector_calendars
File: data/inspector_calendars.ndjson. Ordered by user_id.
user_id: uuidkind: textemail: citextgraph_user_id: text, nullableupdated_by: uuidupdated_at: timestamp with time zone
ledger_allocations
File: data/ledger_allocations.ndjson. Ordered by id.
id: uuidentry_id: uuidtarget_kind: textapplication_id: uuid, nullablefee_assessment_id: uuid, nullablestage: text, nullablefee_code: text, nullablefine_id: uuid, nullableamount_cents: integer
References:
entry_idrefers toledger_entriesapplication_idrefers toapplicationsfee_assessment_idrefers tofee_assessmentsfine_idrefers toenforcement_fines
ledger_entries
File: data/ledger_entries.ndjson. Ordered by id.
id: uuidentry_type: textmethod: textamount_cents: integerposted_at: timestamp with time zonebusiness_date: datereceipt_id: uuid, nullablereverses_entry_id: uuid, nullablepayment_attempt_id: uuid, nullableprocessor: text, nullableprocessor_account_id: uuid, nullableprocessor_object_id: text, nullablecheck_number: text, nullablepayer_name: textpayer_user_id: uuid, nullablereason: text, nullableactor_kind: textactor_user_id: uuid, nullableactor_job: text, nullable
References:
receipt_idrefers toreceiptsreverses_entry_idrefers toledger_entriespayment_attempt_idrefers topayment_attempts
legal_holds
File: data/legal_holds.ndjson. Ordered by id.
id: uuidtarget_kind: texttarget_id: uuidreason: textplaced_by: uuidplaced_at: timestamp with time zonereleased_by: uuid, nullablereleased_at: timestamp with time zone, nullablerelease_reason: text, nullable
Typed references:
target_idbytarget_kind: project toprojects, application toapplications, document todocuments
letter_mailings
File: data/letter_mailings.ndjson. Ordered by id.
id: uuidapplication_id: uuiddecision_id: uuidparty_id: uuiddocument_id: uuidcreated_at: timestamp with time zonemailed_on: date, nullablemailed_by: uuid, nullablemailed_at: timestamp with time zone, nullable
References:
application_idrefers toapplicationsdecision_idrefers toboard_decisionsparty_idrefers toproject_partiesdocument_idrefers todocuments
license_checks
File: data/license_checks.ndjson. Ordered by id.
id: uuidapplication_id: uuidlicense_number: textlicense_type: textresult: textnote: text, nullablelookup_url: textchecked_by: uuidchecked_at: timestamp with time zone
References:
application_idrefers toapplications
meeting_minutes
File: data/meeting_minutes.ndjson. Ordered by meeting_id.
meeting_id: uuiddocument_id: uuidstatus: textapproved_on: date, nullablerecorded_by: uuidrecorded_at: timestamp with time zone
References:
meeting_idrefers toboard_meetingsdocument_idrefers todocuments
migration_batches
File: data/migration_batches.ndjson. Ordered by id.
id: uuidname: textsource_root: textseries_key: textfolder_pattern: textid_format: textstatus: textreport: jsonb, nullablecreated_by: uuidcreated_at: timestamp with time zoneupdated_at: timestamp with time zone
migration_items
File: data/migration_items.ndjson. Ordered by id.
id: uuidbatch_id: uuidsource_path: textsize_bytes: bigintsha256: textfolder_key: text, nullableoutcome: text, nullableexcept_reason: text, nullabledocument_id: uuid, nullableduplicate_of_item: uuid, nullableparcel_link: textocr_status: textocr_reason: text, nullablecreated_at: timestamp with time zone
References:
batch_idrefers tomigration_batchesdocument_idrefers todocuments
notice_items
File: data/notice_items.ndjson. Ordered by id.
id: uuidset_id: uuidrequirement_key: textrequirement_version: integersource: textchannel: textrecipient_key: text, nullablerecipient_name: text, nullablerecipient_address: text, nullableroles: text[]due_on: datecounting_method: text
References:
set_idrefers tonotice_sets
notice_proof_supersessions
File: data/notice_proof_supersessions.ndjson. Ordered by proof_id.
proof_id: uuidsuperseded_by_proof_id: uuidrecorded_at: timestamp with time zone
References:
proof_idrefers tonotice_proofssuperseded_by_proof_idrefers tonotice_proofs
notice_proofs
File: data/notice_proofs.ndjson. Ordered by id.
id: uuiditem_id: uuidmethod: textreference: text, nullableeffective_on: datedocument_id: uuidrecorded_by: uuidrecorded_at: timestamp with time zone
References:
item_idrefers tonotice_items
notice_sets
File: data/notice_sets.ndjson. Ordered by id.
id: uuidsubject_kind: textsubject_id: uuidapplication_id: uuid, nullableanchor_date: dateinherited_from: uuid, nullablecreated_at: timestamp with time zone
notification_outbox
File: data/notification_outbox.ndjson. Ordered by id.
id: uuidevent: textapplication_id: uuidrecipient_user_id: uuid, nullablerecipient_party_id: uuid, nullablepayload: jsonbstatus: textdrop_reason: text, nullableattempts: integercreated_at: timestamp with time zonesent_at: timestamp with time zone, nullable
References:
application_idrefers toapplicationsrecipient_party_idrefers toproject_parties
order_court_steps
File: data/order_court_steps.ndjson. Ordered by id.
id: uuidorder_id: uuidkind: textoccurred_on: datecourt: textdocket: text, nullabledocument_id: uuidjudgment_outcome: text, nullableappeal_due: jsonb, nullablerecorded_by: uuidcreated_at: timestamp with time zone
References:
order_idrefers toenforcement_ordersdocument_idrefers todocuments
order_service_events
File: data/order_service_events.ndjson. Ordered by id.
id: uuidorder_id: uuidrecipient_id: uuid, nullablemethod: textserved_on: dateserver_name: text, nullableserver_role: text, nullablenewspaper: text, nullableproof_document_id: uuidrecorded_by: uuidcreated_at: timestamp with time zone
References:
order_idrefers toenforcement_ordersrecipient_idrefers toorder_service_recipientsproof_document_idrefers todocuments
order_service_recipients
File: data/order_service_recipients.ndjson. Ordered by id.
id: uuidorder_id: uuidrole: textname: textaddress: textsource: textanswer_due: jsonb, nullableanswered_on: date, nullableanswer_document_id: uuid, nullable
References:
order_idrefers toenforcement_ordersanswer_document_idrefers todocuments
order_service_role_checks
File: data/order_service_role_checks.ndjson. Ordered by order_id, role.
order_id: uuidrole: textoutcome: textbasis: textchecked_by: uuidchecked_on: date
References:
order_idrefers toenforcement_orders
parcel_aliases
File: data/parcel_aliases.ndjson. Ordered by id.
id: uuidparcel_id: uuidformat: textvalue: textvalue_normalized: textstatus: textsource: textretired_on: date, nullableretired_reason: text, nullablecreated_at: timestamp with time zone
References:
parcel_idrefers toparcelsformatrefers toparcel_id_formats
parcel_id_formats
File: data/parcel_id_formats.ndjson. Ordered by key.
key: textlabel: textkind: textwidth: integer, nullableis_display: boolean
parcel_lineage_events
File: data/parcel_lineage_events.ndjson. Ordered by id.
id: uuidkind: texteffective_date: dateeffective_basis: textreference: text, nullablenote: text, nullablecreated_by: uuidcreated_at: timestamp with time zone
parcel_lineage_links
File: data/parcel_lineage_links.ndjson. Ordered by event_id, parcel_id, role.
event_id: uuidparcel_id: uuidrole: text
References:
event_idrefers toparcel_lineage_eventsparcel_idrefers toparcels
parcel_record_carry_forwards
File: data/parcel_record_carry_forwards.ndjson. Ordered by link_id, to_parcel_id.
link_id: uuidto_parcel_id: uuidcreated_by: uuidcreated_at: timestamp with time zone
References:
link_idrefers toparcel_record_linksto_parcel_idrefers toparcels
parcel_record_links
File: data/parcel_record_links.ndjson. Ordered by id.
id: uuidrecord_kind: textrecord_id: uuidparcel_id: uuid, nullableraw_ref_format: text, nullableraw_ref_value: text, nullablestatus: textlinked_via: text, nullablecreated_at: timestamp with time zone
References:
parcel_idrefers toparcels
Typed references:
record_idbyrecord_kind: application toapplications, inspection toinspections, document todocuments, historical_record tohistorical_records, enforcement_case toenforcement_cases
parcels
File: data/parcels.ndjson. Ordered by id.
id: uuidgeom: geometry(MultiPolygon, 4326), nullablesite_address: text, nullableowner_name: text, nullablemailing_address: text, nullablestatus: textretired_on: date, nullablecreated_at: timestamp with time zoneupdated_at: timestamp with time zone
park_rosters
File: data/park_rosters.ndjson. Ordered by id.
id: uuidparcel_id: uuidpark_name: textowner_name: textowner_mailing_address: texttenants: jsonbas_of: datechecked_on: date, nullableended_on: date, nullableended_at: timestamp with time zone, nullableupdated_by: uuidupdated_at: timestamp with time zone
References:
parcel_idrefers toparcels
payment_attempt_transitions
File: data/payment_attempt_transitions.ndjson. Ordered by id.
id: uuidattempt_id: uuidfrom_state: textto_state: textsource: textevent_id: text, nullableat: timestamp with time zone
References:
attempt_idrefers topayment_attempts
payment_attempts
File: data/payment_attempts.ndjson. Ordered by id.
id: uuidprocessor_account_id: uuidchannel: textstate: textoutcome_unknown: booleanbase_cents: integerconvenience_fee_cents: integeramount_cents: integerplanned_allocations: jsonbpayer_name: textpayer_email: text, nullablepayer_user_id: uuid, nullablecheckout_ref: text, nullableprocessor_object_id: text, nullableidempotency_key: textanomaly: text, nullablelast_check_error: text, nullablelast_checked_at: timestamp with time zone, nullablecreated_by_user_id: uuid, nullablemanual_outcome: text, nullablemanual_note: text, nullablemanual_by_user_id: uuid, nullablemanual_at: timestamp with time zone, nullableprocessor_mismatch: text, nullablecreated_at: timestamp with time zoneupdated_at: timestamp with time zonerow_version: integer
References:
processor_account_idrefers toprocessor_accounts
peril_certifications
File: data/peril_certifications.ndjson. Ordered by id.
id: uuidappeal_id: uuidcertified_on: datecertified_by: uuidcategories: text[]statement: text
References:
appeal_idrefers toenforcement_appeals
preservation_records
File: data/preservation_records.ndjson. Ordered by id.
id: uuidoriginal_version_id: uuidrequired: booleanstatus: textreason: text, nullabledetail: text, nullableattempts: integerpdfa_version_id: uuid, nullablevalidation: jsonb, nullableupdated_at: timestamp with time zone
References:
original_version_idrefers todocument_versionspdfa_version_idrefers todocument_versions
processor_accounts
File: data/processor_accounts.ndjson. Ordered by id.
id: uuidprocessor: textmode: textaccount_ref: textsettings: jsonbcreated_by: uuidcreated_at: timestamp with time zone
Omitted columns: credentials_enc, webhook_secret_enc, is_active
processor_events
File: data/processor_events.ndjson. Ordered by id.
id: uuidprocessor_account_id: uuidevent_id: texttype: textobject_id: text, nullablereceived_at: timestamp with time zoneprocessed_at: timestamp with time zone, nullableoutcome: text, nullable
References:
processor_account_idrefers toprocessor_accounts
Omitted columns: raw
project_parties
File: data/project_parties.ndjson. Ordered by id.
id: uuidproject_id: uuiduser_id: uuid, nullableemail: citext, nullablename: textrole: textowner_authorization_on_file: booleanadded_by: uuidadded_at: timestamp with time zoneremoved_at: timestamp with time zone, nullable
References:
project_idrefers toprojects
projects
File: data/projects.ndjson. Ordered by id.
id: uuidparcel_id: uuidtitle: textcreated_by: uuidcreated_at: timestamp with time zone
References:
parcel_idrefers toparcels
receipt_number_counters
File: data/receipt_number_counters.ndjson. Ordered by year.
year: integerlast: integer
receipts
File: data/receipts.ndjson. Ordered by id.
id: uuidnumber: textkind: textissued_at: timestamp with time zonebusiness_date: datepayer_name: textpayer_email: citext, nullabletotal_cents: integertendered_cents: integer, nullablechange_cents: integer, nullablesimulated: boolean
record_events
File: data/record_events.ndjson. Ordered by id.
id: uuidproject_id: uuid, nullablecase_id: uuid, nullableapplication_id: uuid, nullablekind: textoccurred_on: daterecorded_by_kind: textrecorded_by: uuid, nullablenote: text, nullable
References:
project_idrefers toprojectscase_idrefers toenforcement_casesapplication_idrefers toapplications
redaction_boxes
File: data/redaction_boxes.ndjson. Ordered by id.
id: uuidjob_id: uuidpage: integer, nullablepdf_box: jsonb, nullableimage_box: jsonb, nullableexemption_key: textother_citation: text, nullableexplanation: text
References:
job_idrefers toredaction_jobs
redaction_jobs
File: data/redaction_jobs.ndjson. Ordered by id.
id: uuiddocument_id: uuidsource_version_id: uuidpurpose: textrtk_request_id: uuid, nullablestatus: textfailure_reason: text, nullableresult_version_id: uuid, nullablecreated_by: uuidcreated_at: timestamp with time zonefinished_at: timestamp with time zone, nullable
References:
document_idrefers todocumentssource_version_idrefers todocument_versionsrtk_request_idrefers tortk_requestsresult_version_idrefers todocument_versions
refund_requests
File: data/refund_requests.ndjson. Ordered by refund_object_id.
refund_object_id: textentry_id: uuidallocations: jsonbcreated_at: timestamp with time zone
References:
entry_idrefers toledger_entries
regional_impact_determinations
File: data/regional_impact_determinations.ndjson. Ordered by application_id.
application_id: uuiddetermination: textprevious_board_ref: text, nullabledetermined_on: datedetermined_by: uuid
References:
application_idrefers toapplications
regional_impact_notices
File: data/regional_impact_notices.ndjson. Ordered by id.
id: uuidapplication_id: uuidrecipient_kind: textrecipient_name: textmethod: textmailed_on: datereference: text, nullablerecorded_by: uuidrecorded_at: timestamp with time zone
References:
application_idrefers toapplications
regional_impact_parties
File: data/regional_impact_parties.ndjson. Ordered by application_id, municipality_key.
application_id: uuidmunicipality_key: text
References:
application_idrefers toapplications
reliance_links
File: data/reliance_links.ndjson. Ordered by variance_application_id, planning_application_id.
variance_application_id: uuidplanning_application_id: uuidresolved_on: date, nullable
References:
variance_application_idrefers toapplicationsplanning_application_idrefers toapplications
remediation_tasks
File: data/remediation_tasks.ndjson. Ordered by id.
id: uuidapplication_id: uuidkind: textdescription: textstatus: texttransition_id: textcreated_at: timestamp with time zone
References:
application_idrefers toapplications
rendition_approvals
File: data/rendition_approvals.ndjson. Ordered by id.
id: uuiddocument_id: uuidversion_id: uuidpurpose: textrtk_request_id: uuid, nullableapproved_by_kind: textapproved_by: uuid, nullableapproved_at: timestamp with time zonereview_statement: textrevoked_at: timestamp with time zone, nullablerevoked_by: uuid, nullablerevoke_reason: text, nullable
References:
document_idrefers todocumentsversion_idrefers todocument_versionsrtk_request_idrefers tortk_requests
report_schedule_deliveries
File: data/report_schedule_deliveries.ndjson. Ordered by id.
id: uuidschedule_id: uuiduser_id: uuidreport: textperiod_from: dateperiod_to: dateoutcome: textat: timestamp with time zone
References:
schedule_idrefers toreport_schedulesuser_idrefers tousers
report_schedule_recipients
File: data/report_schedule_recipients.ndjson. Ordered by schedule_id, user_id.
schedule_id: uuiduser_id: uuid
References:
schedule_idrefers toreport_schedulesuser_idrefers tousers
report_schedules
File: data/report_schedules.ndjson. Ordered by id.
id: uuidreport: textfrequency: textpaused: booleannext_run_on: datelast_sent_at: timestamp with time zone, nullablelast_period_from: date, nullablelast_period_to: date, nullablecreated_by: uuidcreated_at: timestamp with time zoneupdated_at: timestamp with time zone
References:
created_byrefers tousers
restraining_orders
File: data/restraining_orders.ndjson. Ordered by id.
id: uuidappeal_id: uuidissued_by: textissued_on: datedocument_id: uuiddissolved_on: date, nullable
References:
appeal_idrefers toenforcement_appealsdocument_idrefers todocuments
restriction_holdings
File: data/restriction_holdings.ndjson. Ordered by id.
id: uuidparcel_id: uuidholder_name: textholder_mailing_address: textrestriction_kind: textrecorded_reference: textended_on: date, nullableended_at: timestamp with time zone, nullablechecked_on: date, nullablecreated_by: uuidcreated_at: timestamp with time zone
References:
parcel_idrefers toparcels
retention_assignments
File: data/retention_assignments.ndjson. Ordered by id.
id: uuidrecord_kind: textrecord_id: uuidseries_key: textseries_version: integerreason: textassigned_by_kind: textassigned_by: uuid, nullableassigned_at: timestamp with time zonesuperseded_at: timestamp with time zone, nullable
Typed references:
record_idbyrecord_kind: document todocuments, application_snapshot toapplication_snapshots
review_assignments
File: data/review_assignments.ndjson. Ordered by id.
id: uuidapplication_id: uuidreviewer_user_id: uuid, nullableboard_id: uuid, nullablecomment_by: date, nullableassigned_by: uuidassigned_at: timestamp with time zoneremoved_at: timestamp with time zone, nullablestatus: textsigned_off_at: timestamp with time zone, nullable
References:
application_idrefers toapplicationsboard_idrefers toboards
review_comments
File: data/review_comments.ndjson. Ordered by id.
id: uuidassignment_id: uuidauthor_user_id: uuid, nullablebody: textcreated_at: timestamp with time zone
References:
assignment_idrefers toreview_assignments
role_capabilities
File: data/role_capabilities.ndjson. Ordered by role, capability.
role: textcapability: text
roster_reviews
File: data/roster_reviews.ndjson. Ordered by id.
id: uuidkind: textreviewed_on: datereviewed_by: uuidrecorded_at: timestamp with time zone
rtk_release_items
File: data/rtk_release_items.ndjson. Ordered by release_id, document_id.
release_id: uuiddocument_id: uuidversion_id: uuid, nullableformer_version_id: uuid, nullableapproval_id: uuid, nullableposition: integerwithdrawn_at: timestamp with time zone, nullablewithdrawn_reason: text, nullable
References:
release_idrefers tortk_releasesdocument_idrefers todocumentsversion_idrefers todocument_versionsapproval_idrefers torendition_approvals
rtk_releases
File: data/rtk_releases.ndjson. Ordered by id.
id: uuidrequest_id: uuidsequence: integerreleased_on: datemethod: textletter_document_id: uuid, nullablereleased_by: uuidlink_expires_at: timestamp with time zone, nullablelink_revoked_at: timestamp with time zone, nullablecreated_at: timestamp with time zone
References:
request_idrefers tortk_requestsletter_document_idrefers todocuments
Omitted columns: link_token_hash
rtk_requests
File: data/rtk_requests.ndjson. Ordered by id.
id: uuidnumber: textreceived_on: datereceived_via: textrequester_name: text, nullablerequester_contact: text, nullabledescription: textstatus: textresponse_due: jsonbstated_due: jsonb, nullableopen_due_on: date, nullablefirst_response_on: date, nullablefirst_response_kind: text, nullablefirst_response_url: text, nullabledenied_on: date, nullablecreated_by: uuidcreated_at: timestamp with time zonerow_version: integer
rtk_time_statements
File: data/rtk_time_statements.ndjson. Ordered by id.
id: uuidrequest_id: uuidstated_on: datestated_date: datedelay_reason: textcost_estimate: jsonb
References:
request_idrefers tortk_requests
rtk_withholdings
File: data/rtk_withholdings.ndjson. Ordered by id.
id: uuidrequest_id: uuidrelease_id: uuid, nullablescope: textdocument_id: uuid, nullablerecord_description: textexemption_key: textother_citation: text, nullableexplanation: textcreated_by: uuidcreated_at: timestamp with time zone
References:
request_idrefers tortk_requestsrelease_idrefers tortk_releases
rule_transitions_applied
File: data/rule_transitions_applied.ndjson. Ordered by id.
id: textapplied_at: timestamp with time zoneapplied_by: textaffected: integer
selectmen_certifications
File: data/selectmen_certifications.ndjson. Ordered by id.
id: uuidapplication_id: uuidrequested_on: dateoutcome: textdecided_on: date, nullablerecorded_by: uuidrecorded_at: timestamp with time zone
References:
application_idrefers toapplications
town_sections
File: data/town_sections.ndjson. Ordered by id.
id: uuidprovision_kind: textreference: texttitle: textactive: booleancreated_by: uuid, nullablecreated_at: timestamp with time zoneupdated_at: timestamp with time zone
town_settings
File: data/town_settings.ndjson. Ordered by id.
id: integername: textstate_code: texttime_zone: textbasemap_raster_url: text, nullablebasemap_attribution: text, nullableservice_status: textservice_status_since: date, nullableexport_window_days: integeranonymous_intake_enabled: booleanupdated_at: timestamp with time zone
trc_routings
File: data/trc_routings.ndjson. Ordered by application_id, department_key.
application_id: uuiddepartment_key: textassignment_id: uuidcomment_due: date, nullable
References:
application_idrefers toapplicationsassignment_idrefers toreview_assignments
user_roles
File: data/user_roles.ndjson. Ordered by user_id, role.
user_id: uuidrole: text
References:
user_idrefers tousers
users
File: data/users.ndjson. Ordered by id.
id: uuidemail: citextdisplay_name: textkind: textis_active: booleancreated_at: timestamp with time zone
Omitted columns: password_hash, totp_secret_enc, totp_enabled, totp_last_counter
violation_findings
File: data/violation_findings.ndjson. Ordered by id.
id: uuidcase_id: uuidprovision_kind: textprovision_ref: textfacts: textinspection_date: datefound_on: datefound_by: uuidstatus: textwithdrawn_reason: text, nullablewithdrawn_by: uuid, nullablewithdrawn_at: timestamp with time zone, nullablecorrected_on: date, nullablecorrected_note: text, nullablecorrected_by: uuid, nullable
References:
case_idrefers toenforcement_cases
violation_notices
File: data/violation_notices.ndjson. Ordered by id.
id: uuidcase_id: uuidfinding_ids: uuid[]sent_on: datemethod: textsent_by: uuidreceived_on: date, nullablereceipt_basis: text, nullabledocument_id: uuid, nullable
References:
case_idrefers toenforcement_casesdocument_idrefers todocuments