# North Dakota Century Code (N.D.C.C.)

## Directory layout

```
~/refs/ndcc/
├── .index.json              — section index (29,107 entries)
├── title-<T>/
│   ├── _title.md            — title metadata
│   └── chapter-<T>-<CC>.md  — chapter text with all sections
```

69 titles (title-1 through title-65, including decimals like title-12.1).

## Lookup

N.D.C.C. § 14-07.1-02 maps to `title-14/chapter-14-07.1.md`. Sections appear as `### §` headings within the chapter file. Search for `### § 14-07.1-02` to find the specific section.

## Section index

`.index.json` maps every section to its file and line number:

```python
import json
idx = json.load(open(".index.json"))
entry = idx["14-07.1-02"]
# {"file": "title-14/chapter-14-07.1.md", "line": 45, "heading": "§ 14-07.1-02. ..."}
```

## Heading format

```markdown
# Title 14 — Domestic Relations and Persons
## Chapter 14-07.1 — Domestic Violence
### § 14-07.1-02. Domestic violence protection order.
```

## Citation format

```
N.D.C.C. § 14-09-06.2
N.D.C.C. § 14-09-06.2(1)(a)
```

## Access

READ-ONLY. Do not modify, delete, or write to any file in this directory.
