effects/schema describes data-shaped effect requests and results, such as the entries readdir answers, for validation. Its types.ts checks the corresponding handwritten TypeScript declarations against the types Ts<> derives from the schemas.
These schemas are not a native runner ABI or the complete native effect set; that set follows effects/node/ within the native scope.
Examples
The demo on this page offers one schema, a directory entry, with a value it accepts. It is defined in sample.f.mjs, and the module page's demo lists it among all the others.
An entry readdir answers, described by a data-validation schema in effects/schema. The corresponding handwritten TypeScript operation declarations are checked against schema-derived types.