type Schema
import bendvy-ecs-core@0.1.0.4/snapshot_schema.bend as SnapshotSchemaimport Base
import bendvy-ecs-core@0.1.0.4/decode_data.bend as D
import bendvy-ecs-core@0.1.0.4/ordinary_schema.bend as Ordinary
11# The same schema factory derives ordinary inventory, physical product and save
12# eligibility/closed traversal. Runtime recipes live in the leaf owners.
13type Schema<-S:Data,-C:Type,-R:Type,-eligible:Bool,-components:U32 -> C -> C & List<&2,D.Field>,-resources:R -> R & List<&2,D.Field>> is Data:
14 Schema{ordinary:Ordinary.Schema<S,C,R>}