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