Appearance
DoCurious API Reference / types / ChallengeCategory
Interface: ChallengeCategory
Defined in: types/challenge.types.ts:232
A taxonomy category used to classify challenges (e.g., "Outdoor Adventure", "Science").
Remarks
Categories are managed by platform admins and drive Explore page filtering, recommendation seeding, and breadth-based badge criteria. A challenge can belong to multiple categories. Each category belongs to one of 6 parent categories defined in PARENT_CATEGORIES.
Extends
Properties
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
description?
optionaldescription:string
Defined in: types/challenge.types.ts:236
displayOrder
displayOrder:
number
Defined in: types/challenge.types.ts:240
Sort order in category lists and filter panels
icon?
optionalicon:string
Defined in: types/challenge.types.ts:242
Icon name or URL for category visual representation
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
isActive
isActive:
boolean
Defined in: types/challenge.types.ts:244
Inactive categories are hidden from browse but retained for existing challenges
name
name:
string
Defined in: types/challenge.types.ts:233
parentCategory?
optionalparentCategory:ChallengeParentCategory
Defined in: types/challenge.types.ts:238
Which of the 6 parent categories this subcategory belongs to
slug
slug:
string
Defined in: types/challenge.types.ts:235
URL-safe identifier used in routing and API queries
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified