Module
ballroom.data_model
samjs/ballroom.data_model
Deprecated0.1.1
Overview
Contains the data model of the application
Introduction
This package contains the data model of the application
Constants![](/images/permalink.svg)
Enums![](/images/permalink.svg)
ballroom.data_model: Challenge_Type![](/images/permalink.svg)
Members
PUBLIC
PRIVATE
Records![](/images/permalink.svg)
ballroom.data_model: Challenge![](/images/permalink.svg)
Fields
- challengeId string -
- title string -
- description string -
- constraints string -
- difficulty string -
- testCase byte[] -
- template byte[] -
ballroom.data_model: Challenge_Ideal![](/images/permalink.svg)
Closed record
Fields
- challenge_idreadonly string -
- name string -
- type_of_challenge Challenge_Type -
- author User -
- owner Organization -
- editorial string -
- problem_description string -
- environment Environment -
- testcases TestCase[] -
- submissions Submission[] -
- contests Contest_Ideal[] -
ballroom.data_model: Contest![](/images/permalink.svg)
Fields
- contestId string -
- title string -
- description string -
- startTime Civil -
- endTime Civil -
- moderator string -
ballroom.data_model: Contest_Ideal![](/images/permalink.svg)
Closed record
Fields
- contest_idreadonly string -
- organization Organization -
- name string -
- start_time Date -
- end_time Date -
- challenges Challenge_Ideal[] -
- moderators Moderator[] -
- contestants Contestant[] -
ballroom.data_model: Contestant![](/images/permalink.svg)
Closed record
Fields
- userreadonly User -
- contestreadonly Contest_Ideal -
- total_score decimal -
ballroom.data_model: Environment![](/images/permalink.svg)
Closed record
Fields
- environtment_id readonly -
- name string -
- description string -
- stored_url string -
- challenges Challenge_Ideal[] -
ballroom.data_model: Moderator![](/images/permalink.svg)
Closed record
Fields
- moderator_id readonly -
- user User -
- contest Contest_Ideal -
ballroom.data_model: Organization![](/images/permalink.svg)
Closed record
Fields
- org_idreadonly string -
- name string -
- category string -
- members User[] -
- contests Contest_Ideal[] -
- poolOfChallenges Challenge[] -
ballroom.data_model: ScoredSubmissionMessage![](/images/permalink.svg)
Closed record
Fields
- subMsg SubmissionMessage -
- score float -
ballroom.data_model: Submission![](/images/permalink.svg)
Closed record
Fields
- submission_idreadonly string -
- input string -
- score decimal -
- submitted_time Date -
- challenge Challenge_Ideal -
- contestant Contestant -
ballroom.data_model: SubmissionMessage![](/images/permalink.svg)
Fields
- userId string -
- contestId string -
- challengeId string -
- fileName string -
- fileExtension string -
- submissionId string -
ballroom.data_model: TestCase![](/images/permalink.svg)
Closed record
Fields
- testcase_idreadonly string -
- challenge Challenge_Ideal -
- input string -
- expected_output string -
- weight decimal -
ballroom.data_model: User![](/images/permalink.svg)
Closed record
Fields
- user_idreadonly string -
- username string -
- fullname string -
- role string -
ballroom.data_model: User_idel![](/images/permalink.svg)
Closed record
Fields
- user_idreadonly string -
- username string -
- fullname string -
- role string -
- organizations Organization[] -
- contestants Contestant[] -
- moderators Moderator[] -
- authoredChallenges Challenge_Ideal[] -
Import
import samjs/ballroom.data_model;
Metadata
Released date: over 1 year ago
Version: 0.1.1
Compatibility
Platform: any
Ballerina version: 2201.4.1
GraalVM compatible: Yes
Pull count
Total: 17
Current verison: 1
Weekly downloads
Dependencies