OptionalcodeOptionaldetailsStructured information about the validation failure.
OptionalitemThe validation message for this marker. E.g. "Must be greater than 0"
The sanity path relative to the root of the current document to this marker.
NOTE: Sanity paths may contain keyed segments (i.e. {_key: string}) that
are not compatible with deep getters like lodash/get
A machine-readable identifier for the validation failure.
Built-in validators use stable codes exported by
@sanity/validation. Custom validators may provide their own code.