type

PluginFieldValidationContext

type PluginFieldValidationContext struct { // Field is the resolved manifest definition owned by the plugin. Field schema.Field // RuntimePath identifies this concrete value occurrence. Unlike Field.Path, // it includes array and block indexes and omits block schema discriminators. RuntimePath string // Value is the candidate document value to validate. Value store.Value }

Resolved plugin field and candidate value supplied to validation.

Source core/plugin.go:283

Fieldschema.Field
The resolved manifest definition owned by the plugin.
RuntimePathstring
The concrete path including array or block indexes.
Valuestore.Value
The candidate document value.