pub struct GroupCategory {
pub color: String,
pub description: Option<String>,
pub name: String,
pub sort_key: i64,
pub id: i64,
pub meta: GroupCategoryMeta,
pub name_translated: String,
pub extra: Map<String, Value>,
}Expand description
A thematic classification for groups, such as worship services or community activities. A group can reference a category through information.groupCategoryId. Categories are separate from group types, which define shared settings and membership roles.
Fields§
§color: StringChurchTools color token used to display the category, such as blue.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
description: Option<String>Optional explanation of the category. Omitted, null or blank input is stored as null, including on update.
name: StringStored label configured in this installation. Use nameTranslated from the response for a localized display name.
sort_key: i64Display order. Lower values come first; list endpoints sort equal values by the stored name.
id: i64ID of this master-data record in this ChurchTools installation. Use it when assigning this classification to a group.
meta: GroupCategoryMetaCreation and modification timestamps and person IDs for this category.
name_translated: StringLocalized display name, translated from the stored name when a translation exists.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.