Function that defines rules for a schema.
type SchemaFn<TModel, TPathKind extends PathKind = PathKind.Root> = ( p: SchemaPathTree<TModel, TPathKind>,) => void