OptionalconfigWidget-specific configuration, carried through unmodified.
OptionallabelOptionalpositionWidget kind, e.g. legend, layer-list, basemap-gallery, search.
OptionalvisibleWhether the widget starts visible. Defaults to true when omitted.
A renderer-neutral widget/component declared by the package.
typeis an open string rather than a closed union: the widget catalogue belongs to the host application, and closing it here would make every new component a breaking change to the artifact. Unknown types are carried through the round trip and ignored by hosts that cannot render them.