R-SUB: Submission Rules
Submission Rules
These rules govern what constitutes a valid data submission. All three must pass before a submission enters the pending-validation queue.
R-SUB-01
SHACL Validation Required
Every submission must pass the cth:FieldDataQuality SHACL shape before entering the validation queue. Submissions that fail are rejected at ingestion with a machine-readable error payload.
submit.rego calls the SHACL validator endpoint synchronously. Rejection codes returned as JSON-LD ValidationReport.
R-SUB-02
FPIC Mandatory for Indigenous Territory
Any parcel whose GPS centroid intersects an officially recognised indigenous territory or Afro-Colombian collective territory requires a valid cth:FPICCredential signed by the Community Sovereign before submission is accepted.
ST_Within() check against territorial_boundaries table at ingestion. Row-level security blocks write if FPIC credential not present in JWT claims.
R-SUB-03
Methodology Declaration Required
Submitter must declare which measurement methodology was used (e.g. KoboToolbox GPS v2.3, Planet NDVI mosaic 2025-Q4, manual tape survey). Methodology ID must resolve to a registered entry in cth_methodology_registry.
submissions.methodology_id. Validator accreditation scope is checked against methodology type.
No hay comentarios para mostrar
No hay comentarios para mostrar