type

LiveValidationEmbeddedScope

LiveValidationEmbeddedScope selects a declared plugin payload being edited before Apply. Chained field paths are relative to the previous payload. Identity is the item's ordinary stable key, never an internal occurrence ID.

Properties

PropertyTypeDescription
FieldstringThe Field value.
TreeKeystringThe TreeKey value.
CaseTagstringThe CaseTag value.
VariantSlugstringThe VariantSlug value.
IdentitystringThe Identity value.
Datastore.ValuesThe Data value.

Full signature

type LiveValidationEmbeddedScope struct { Field string `json:"field"` TreeKey string `json:"treeKey"` CaseTag string `json:"caseTag"` VariantSlug string `json:"variantSlug"` Identity string `json:"identity"` Data store.Values `json:"data"` }

Source protocol/live_validation.go:19