# fatihdx/turk-ceza-hukuku-json architecture

> Architecture diagram of the GitHub repository fatihdx/turk-ceza-hukuku-json, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fatihdx/turk-ceza-hukuku-json
- Repository: https://github.com/fatihdx/turk-ceza-hukuku-json

## Overview

This repository is a structured Turkish criminal-law dataset, with Python usage examples rather than a hosted application. The main user workflow is to load a law JSON file and inspect or search its articles and supplemental term data. The README documents the contents and example queries; the sampled Python file implements loading, article lookup, crime lookup, category filtering, text search, and statistics. The JSON internals are represented as documented data domains; no application service or external integration is evidenced.

Main entry points: [`kullanim_ornekleri.py`](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/kullanim_ornekleri.py) (Load and query), [`TCK_5237.json`](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json) (TCK articles), [`CMK_5271.json`](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json) (CMK articles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_laws["Law datasets"]
  node_tck_articles["TCK articles<br/>[TCK_5237.json]"]
  node_tck_crimes["Crime terms<br/>[TCK_5237.json]"]
  node_tck_categories["Crime categories<br/>[TCK_5237.json]"]
  node_cmk_articles["CMK articles<br/>[CMK_5271.json]"]
  node_cmk_concepts["Legal concepts<br/>[CMK_5271.json]"]
  node_cmk_categories["Concept categories<br/>[CMK_5271.json]"]
end

subgraph group_examples["Python examples"]
  node_python_examples["Load and query"]
end

node_user(("Data user"))

node_user -->|"runs examples"| node_python_examples
node_python_examples -->|"loads data"| node_tck_articles
node_python_examples -->|"queries terms"| node_tck_crimes
node_python_examples -->|"counts categories"| node_tck_categories
node_python_examples -->|"loads data"| node_cmk_articles
node_python_examples -->|"counts concepts"| node_cmk_concepts
node_python_examples -->|"counts categories"| node_cmk_categories

click node_tck_articles "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json"
click node_tck_crimes "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json"
click node_tck_categories "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json"
click node_cmk_articles "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json"
click node_cmk_concepts "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json"
click node_cmk_categories "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json"
click node_python_examples "https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/kullanim_ornekleri.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_tck_articles,node_tck_crimes,node_tck_categories,node_cmk_articles,node_cmk_concepts,node_cmk_categories,node_user toneBlue
class node_python_examples toneAmber
```

## Components

### Law datasets

- [TCK articles](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json): `TCK_5237.json`
- [Crime terms](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json): `TCK_5237.json`
- [Crime categories](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/TCK_5237.json): `TCK_5237.json`
- [CMK articles](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json): `CMK_5271.json`
- [Legal concepts](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json): `CMK_5271.json`
- [Concept categories](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/CMK_5271.json): `CMK_5271.json`

### Python examples

- [Load and query](https://github.com/fatihdx/turk-ceza-hukuku-json/blob/main/kullanim_ornekleri.py): `kullanim_ornekleri.py`

### Other components

- **Data user**

## Connections

- Data user → Load and query: runs examples (evidence: `README.md`)
- Load and query → TCK articles: loads data (evidence: `kullanim_ornekleri.py`)
- Load and query → Crime terms: queries terms (evidence: `kullanim_ornekleri.py`)
- Load and query → Crime categories: counts categories (evidence: `kullanim_ornekleri.py`)
- Load and query → CMK articles: loads data (evidence: `kullanim_ornekleri.py`)
- Load and query → Legal concepts: counts concepts (evidence: `kullanim_ornekleri.py`)
- Load and query → Concept categories: counts categories (evidence: `kullanim_ornekleri.py`)
