44 lines
853 B
Markdown
44 lines
853 B
Markdown
# Codex Module Contract — Project, Area, Dataset
|
|
|
|
Build only the project, area and dataset foundation.
|
|
|
|
## Required Backend
|
|
|
|
- `GET /projects`
|
|
- `POST /projects`
|
|
- `GET /projects/{project_id}`
|
|
- `POST /projects/{project_id}/areas`
|
|
- `GET /projects/{project_id}/areas`
|
|
- `POST /projects/{project_id}/datasets/upload`
|
|
- `GET /projects/{project_id}/datasets`
|
|
|
|
## Required Frontend
|
|
|
|
- project list
|
|
- create project form
|
|
- project workspace
|
|
- area list
|
|
- dataset list
|
|
- upload form
|
|
|
|
## Required Validation
|
|
|
|
- project name required
|
|
- area geometry required and valid
|
|
- dataset file required
|
|
- unsupported file types rejected with structured error
|
|
|
|
## Required Tests
|
|
|
|
- create/list/read project
|
|
- create/list area using fixture polygon
|
|
- dataset upload stores metadata record
|
|
|
|
## Do Not Build Yet
|
|
|
|
- real YOLO
|
|
- real SAM
|
|
- Sentinel
|
|
- LiDAR
|
|
- training studio
|