type
PluginFieldValidationContext
Resolved plugin field and candidate value supplied to validation.
Properties
| Property | Type | Description |
|---|---|---|
Field | schema.Field | The resolved manifest definition owned by the plugin. |
RuntimePath | string | The concrete path including array or block indexes. |
Value | store.Value | The candidate document value. |
Full signature
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
}