🗄️ Activity Suggestion Wheel Configuration

Data Entity Details | Generated by Eircodex v1.0.0

📊 Activity Suggestion Wheel Configuration Entity

Configuration settings for the visual activity suggestion wheel component, including display options and activity categorization.

external 🔑 Primary Key: config_id

📈 Entity Statistics

📋 Attributes

9

1 required, 1 unique

🔍 Indexes

1

Database performance indexes

✅ Validations

2

Data integrity rules

⚡ Operations

0

Allowed CRUD operations

📝 Entity Overview

The Activity Suggestion Wheel Configuration entity governs the visual and functional aspects of the activity suggestion wheel, a key user interface element that engages children and youth by providing an interactive and appealing way to discover activities. Proper configuration ensures the wheel is intuitive, motivating, and aligned with the platform's branding and user needs, thereby enhancing user experience and adoption.

This entity requires coordination with the UI/UX and frontend teams responsible for the activity-suggestion-wheel component. Configuration settings must be flexible yet validated to prevent UI issues. CRUD operations are limited to the wheel component, simplifying access control. The entity's design supports easy updates to adapt to user feedback and evolving design standards. Integration with the activity-suggestion-engine ensures consistency between backend suggestions and frontend display.

Technically, the configuration is stored as a document in the activity-data-repository, enabling rapid retrieval and updates. Validation rules enforce constraints on segment counts and animation speed to maintain UI integrity. The activity-suggestion-wheel component consumes this configuration to render the interactive wheel, ensuring a consistent and engaging user experience. Indexed fields optimize queries filtering by default activity category for dynamic content loading.

📋 Data Structure

Name Type Description Constraints
id uuid Unique identifier for activity suggestion wheel configuration REQUIRED UNIQUE
config_id PK string Unique identifier for the wheel configuration. PRIMARY KEY
theme string Visual theme of the activity suggestion wheel. -
number_of_segments integer Number of segments displayed on the wheel. -
segment_labels array Labels for each segment on the wheel. -
animation_speed integer Speed of the wheel spin animation in milliseconds. -
show_descriptions boolean Flag to show or hide activity descriptions on the wheel. -
default_activity_category string Default category of activities to display. -
last_updated string Timestamp of the last configuration update. -

🔍 Database Indexes

Index on default_activity_category

Columns: default_activity_category

✅ Validation Rules

undefined

error

Number of segments must be between 4 and 20.

undefined

error

Animation speed must be a positive integer.

📐 Business Rules

undefined

undefined

The activity-suggestion-wheel component must apply the latest configuration settings for display.

⚡ CRUD Operations

➕ CREATE

Not Allowed

👁️ READ

Not Allowed

✏️ UPDATE

Not Allowed

🗑️ DELETE

Not Allowed

💾 Storage Configuration

Storage Type: document_store
Location: activity-data-repository