Skip to main content

Site Configuration

This document explains the Site preconfigured JSON used to define activities, connectors, storage, communication, and country metadata for the application.


Overview​

The Site configuration acts as a central system definition that controls:

  • User interaction activities (Create, Edit, Delete)
  • Authentication and communication connectors
  • Application and organization-level storage
  • Communication integrations (chat, calls, notifications, etc.)
  • Country and dialing code metadata

Metadata​

FieldValue
NameSite
TypePreconfigured
Bundle IDSite_v0.0.0
Version0.0.1

Communication Roles​

Defines user participation roles within the site:

  • member
  • host
  • cohost
  • guest
  • inactive

These roles are reused across communication and access control features.


Activities​

Activities define user actions that are logged or tracked.

Supported Activities​

  • Create
  • Edit
  • Delete

Each activity uses a JSON-based payload, follows a standard logging schema, and is preconfigured at the package level.

Activity Payload Structure​

This structure ensures consistent activity logging across the platform.


Connectors​

Connectors define integrations and system capabilities that connect internal and external components.


Organization Settings​

Local Admin​

Provides built-in authentication controls.

Features include:

  • Multi-Factor Authentication (MFA)
  • PIN-based access
  • QR Code authentication

Configured at the organization level.


Application Settings​

Storage​

Defines how and where application data is stored.

Supported Storage Types​

NamePurpose
defaultPrimary storage
logsApplication logs
archiveArchived data

Supports local storage and can be extended to external providers.


Communication Settings​

Defines communication capabilities using a Local provider.

Supported Integrations​

  • Chat
  • Documents
  • Calendar
  • Messages
  • Calls
  • Notifications

Each integration:

  • Is enabled by default
  • Uses a local provider
  • Is grouped under the communication package type

Storage Settings​

Mirrors the application storage configuration with:

  • Default storage
  • Logs storage
  • Archive storage

Allows separation of operational data, logs, and archived content.


Country Codes​

Contains country-level metadata for UI and validation.

Each entry includes:

  • Country name
  • ISO code
  • Dialing code
  • Flag (SVG)

Used for:

  • Phone number validation
  • Localization
  • User profile settings

Usage Notes​

  • This configuration is preconfigured and versioned
  • Acts as a base system template
  • Can be overridden at the organization or application level
  • Works seamlessly with logging, communication, and storage modules

Summary​

The Site configuration provides a structured foundation for:

  • Activity tracking
  • Communication features
  • Storage management
  • Authentication
  • Localization support

It ensures consistency, scalability, and easy extensibility across applications.