zoning_ordinance_content
3,931 rows · one retrieved chapter each
The full text. Each chapter of an adopted code is retrieved from its host, OCR’d, and structured into markdown; both forms are kept. A functional GIN index over the text is what answers full-text search, and structured_markdown is what the chapter pages render — with extracted standards highlighted in place.
| Column | Type | Meaning |
|---|---|---|
| content_id | bigint | Primary key, used in every /chapters URL |
| locality_id | bigint | → zoning_locality |
| source · source_url · document_url | text | Which host the chapter came from, and where |
| chapter · document_title | text | The chapter heading as published |
| ocr_text | text | Raw OCR output |
| structured_markdown | text | The same text, structured — headings, tables, emphasis |
| char_count | integer | Generated column over the OCR text; chapters average 67 KB, the largest is 3 MB |
| status | text | pending → ocr_done → markdown_done → rules_extracted |
Exposed atChaptersText searchAPI