Sanity Library Reference Docs
    Preparing search index...
    GroupMembership: string | string[]

    Group membership — the declared group(s) a node belongs to. A reference resolves lexically up the node's enclosing chain (host activity → stage → workflow; an activity's OWN membership sees stage → workflow — a node is never a member of a group only it declares). An empty list is an author error (it would name no groups) — omit group instead, and each group is listed once. Authoring accepts a bare name as convenience; the STORED form is always a list, so 'seo' and ['seo'] hash identically under content addressing and lake-side reads see one shape.