Expand description
Per-tenant JSON Schema descriptors for payload validation. Per-tenant JSON Schema descriptors for crash and log payload validation.
This module defines the public types consumed by detritus-server when
loading and eventually applying per-project validation rules. The actual
JSON Schema compilation and validation lives in the server; the protocol
crate only owns the wire-level taxonomy (SchemaKind) and the on-disk
descriptor (SchemaSpec).
§Error taxonomy
SchemaError is the unified error type for
all schema operations: file I/O, JSON parsing, validation failures, and
look-ups for projects that were never registered.
Structs§
- Schema
Spec - One schema-file declaration as it appears in
tokens.toml.
Enums§
- Schema
Error - Errors produced during schema loading or validation.
- Schema
Kind - The two payload shapes that may carry a per-tenant JSON Schema.