Event

Event Model

The Event Model represents the structure of an event in festify fest management framework.

Event Attributes

AttributeData TypeDescription

_id

string(ObjectId)

The unique identifier for the event.

name

string

The name of the event.

type

string(ENUM)

The type of activity. Value can contain any one of ["EVENT", "COMPETITION", "EXHIBITION", "WORKSHOP", "OTHER"].

summary

string

The brief outline of the event

description

string

Complete details of an event including prizes, rules etc.

venue

string

Venue of the event

timeline

array of timePoint

Includes time, venue, and description of the event

timePoint.time

string

Time of the event

timePoint.venue

string

Venue of the event

timePoint.description

string

Description of the event

image

string

Image of the event

organisation

string

The name of the organisation hosting the event.

Example Event Object

{
  "_id": "5349b4ddd2781d08c09890f3",
  "name": "Art Exhibition",
  "type": "EXHIBITION",
  "summary": "An exhibition showcasing contemporary art pieces.",
  "description": "Explore the world of modern art through various paintings and sculptures.",
  "venue": "Art Gallery",
  "timeline": [
    {
      "time": "2023-11-05T10:00:00Z",
      "venue": "Gallery Entrance",
      "description": "Exhibition opening and welcome reception."
    },
    {
      "time": "2023-11-05T15:00:00Z",
      "venue": "Exhibition Halls",
      "description": "Guided tour of the art pieces."
    },
    {
      "time": "2023-11-05T18:00:00Z",
      "venue": "Gallery Courtyard",
      "description": "Closing ceremony and art auction."
    }
  ],
  "image": "https://fake-url.com/art_exhibition.jpg",
  "organisation": "5f7f2b9a4f3d1e0b1c9b4c7a"
}

Usage

The Event Model is used for storing and managing information about events within our fest management system.

Organisation Model

The Organization Model represents the structure of an organisation which is responsible for hosting events in festify fest management framework.

Organisation Attributes

AttributeData TypeDescription

_id

string(ObjectId)

The unique identifier for the event.

name

string

The name of the organization.

Usage

Example Organisation Object

{
  "_id": "5349b4ddd2781d08c09890f3",
  "name": "Art Freaks"
}

Last updated