type

RequiredFieldAddress

One field of an artifact's after manifest, addressed by its resource and canonical path, or by its block definition.

Properties

PropertyTypeDescription
ResourceIDschema.StableIDThe stable ID of the collection or global, or empty for a field of a block definition checked in every stored block of it.
PathstringThe canonical field path. A path through a blocks field names the block type, as in layout.hero.heading. A "**" segment finds the block it precedes at any depth, as in **.hero.heading.
ScopestringLimits the first block found to placements beneath a localized ancestor ("localized") or not ("unlocalized"); empty for both.

Full signature

type RequiredFieldAddress struct { ResourceID schema.StableID `json:"resourceId,omitempty"` Path string `json:"path"` Scope string `json:"scope,omitempty"` }

Source migration/phases.go:177