Glossary: treetracker-admin-api

Generated by .github/scripts/build-glossary.mjs from domain-graph.json (source commit 1f25d3e). Do not edit by hand.

This glossary lists the business terms of treetracker-admin-api. Each term links to its domain, which says what the domain does, its rules, and its flows. The estate glossary shows which other repos use the same terms.

Terms

Domains

Capture Verification

The core domain. It manages tree-capture records collected by the Treetracker mobile app and lets admins browse, search, and verify them. A verify action approves or rejects a capture, records a domain event, and publishes the outcome to downstream services over RabbitMQ.

Terms: Trees (capture), DomainEvent, TreeTag, Species

Rules:

Flows:

Grower Management

Manages planters (growers), the people who collect captures in the field, and their registration records. It exposes organization-scoped listing, lookup, selfie retrieval, and profile updates over raw parameterized SQL.

Terms: Planter, PlanterRegistration

Rules:

Flows:

Organization Management

Manages stakeholder organizations and provides the organization-scoping mechanism that other domains reuse for access control. It resolves the set of entity ids under an organization and builds the where clauses that restrict data to that scope.

Terms: Organization

Rules:

Flows:

Identity & Access Control

Handles admin authentication, role-and-policy authorization, and audit logging. Login issues a JWT carrying the user roles; the isAuth middleware enforces policy-based permissions per route; the audit middleware records every successful auditable action.

Terms: AdminUser, AdminRole, Policy, AuditRecord

Rules:

Flows:

Species & Tag Catalog

Maintains the reference catalog of tree species and the tags applied to captures. It supports full CRUD, capture-count aggregation per species, and merging duplicate species into one.

Terms: Species, Tag, TreeTag

Rules:

Flows: