Module gff_schema

Module gff_schema 

Source
Expand description

GFF schema types for field validation. Schema types for GFF field validation.

Defines GffType, FieldSchema, and the GffSchema trait used to associate engine-derived field schemas with typed GFF resource wrappers.

These types live in rakata-formats (next to GffValue) so both rakata-generics (schema provider) and rakata-lint (schema consumer) can depend on them without circular imports.

Structs§

FieldSchema
Schema definition for a single GFF field.

Enums§

FieldConstraint
A numeric boundary constraint for engine value truncation/clamping.
GffType
Expected GFF field type, mirroring the variants of GffValue.

Traits§

GffSchema
Trait providing the engine-derived field schema for a GFF resource type.

Functions§

gff_value_type
Map a GffValue variant to its corresponding GffType.