The most specific scalar kind a JS value matches, for error messages.
Mirrors omnist/schema.py's value_kind; integer is reported even
though it also matches number. A real Date is reported as datetime
(the Document layer's single representation for both date and
datetime, see matchesKind's doc comment above -- datetime is the
more general of the two, so it is the more informative guess absent a
declared field kind to disambiguate against).
The most specific scalar kind a JS value matches, for error messages. Mirrors
omnist/schema.py'svalue_kind;integeris reported even though it also matchesnumber. A realDateis reported asdatetime(the Document layer's single representation for bothdateanddatetime, seematchesKind's doc comment above --datetimeis the more general of the two, so it is the more informative guess absent a declared field kind to disambiguate against).