# Resources Data Model

# Overview

The Resources EDM in Runmerge represents digital assets such as documents, videos, presentations, and other media types. This model ensures a structured way to store, categorize, and link resources across different entities.

# Fields and Structure

# Basic Information

  • name (string, required) - The name of the resource.
  • description (string, optional) - A brief description of the resource.

# Resource Details

  • resourceType (enum, required) - The type of resource. Possible values:

    • "Document" - A text-based document (e.g., PDF, Word).
    • "Presentation" - A slideshow or deck (e.g., PowerPoint, Google Slides).
    • "Video" - A video file or link (e.g., MP4, YouTube).
    • "Image" - An image file (e.g., JPG, PNG).
    • "Audio" - An audio file (e.g., MP3, WAV).
    • "Link" - A web link pointing to an external resource.
    • "Other" - Any other resource type not covered above.
  • url (string, required) - The URL where the resource is stored.

  • fileType (string, optional) - The format of the file (e.g., pdf, mp4, png).

  • fileSize (number, optional) - The file size in bytes.

  • uploadDate (date, required) - The date when the resource was uploaded.

  • accessLevel (string, optional) - The level of access control for this resource (e.g., "public", "restricted", "private").

# Custom Fields

  • sourceCustomFields (array, optional) - Custom fields provided by the data source.
  • customFields (array, optional) - Custom fields assigned within Runmerge.
    • Each custom field includes:
      • key (string, required) - The identifier for the field.
      • fieldName (string, required) - The display name of the field.
      • fieldType (enum, required) - The type of data stored in the field (string, number, boolean, date, enum, object).
      • fieldValue (any, required) - The actual value of the field.

# Relationships

  • relationships (object, optional) - Links to other entities associated with the resource, such as:
    • linkedEvent (object, optional) - The event this resource is associated with.
    • linkedPerson (object, optional) - A person linked to this resource (e.g., author, presenter).
    • linkedSponsor (object, optional) - A sponsor related to this resource.
    • linkedSession (object, optional) - A session this resource belongs to (e.g., presentation slides, session recordings).
    • linkedResource (object, optional) - Another resource related to this one (e.g., supplementary materials).
    • linkedProduct (object, optional) - A product related to this resource.
    • linkedExhibitor (object, optional) - An exhibitor connected to this resource (e.g., whitepapers, brochures).
    • linkedTicket (object, optional) - A ticket granting access to this resource (if restricted).

# Group Membership

  • groups (array, optional) - A list of groups associated with the resource. Each group includes:
    • id (string, required) - Unique identifier for the group.
    • name (string, required) - Name of the group.
    • description (string, optional) - Description of the group.
    • customFields (array, optional) - Custom fields associated with the group.

# Source Data

  • sourceRawData (object, optional) - Raw data from the source system, stored as key-value pairs.

# Usage

The Resources EDM ensures structured and accessible storage of digital assets within Runmerge. By linking resources to multiple entities, the model enables seamless data integration across events, exhibitors, sessions, and attendees.