Schema reference

com.para.community.getGovernance

experimental

Community governance query for moderators, officials, deputies, metadata, history, and computed summary state.

Fields

community

string

Required

Community label or identifier used to resolve governance state.

moderators / officials / deputies

com.para.community.defs views

Required

Role-specific governance rosters returned as structured views.

summary / counters / editHistory

summary views

Required

Computed governance metadata and historical context for the community.

Metadata

Schema ID
com.para.community.getGovernance
Lexicon source
lexicons/com/para/community/getGovernance.json
Website source path
watx/lexicons/com/para/community/getGovernance.json
Product surfaces
Community profile, Community governance overlays

Constraints

  • `community` is required; `communityId` is optional.
  • `limit` caps candidate members considered for role assignment.

Relationships

  • Returns community governance views defined in com.para.community.defs.

Lifecycle

  • Read when a community profile needs governance roster and role hierarchy overlays.

Writers

  • Read-only query over computed governance state.

Readers

  • Community profile and governance-adjacent overlays.

Routes

  • /communities/profile/:communityId

XRPC methods

  • com.para.community.getGovernance

Indexing and moderation

Indexing

  • Computes roster, counters, history, and summary views into one payload.

Moderation

  • Governance state determines who is legible as moderator, official, or deputy inside a community.

Examples

{"community":"mx-federal","moderators":[{"handle":"alice.test"}],"summary":{"members":42}}