| Name | Value | Description |
|---|---|---|
| pending | pending | |
| active | active | |
| closed | closed |
Interfaces: None
A competition is a race game for the competitors to collect more vote points.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - | Internal unique identifier for this competition.
|
| name | string | No | - |
|
| status | CompetitionStatus | Yes | - |
|
| start_at | date-time-iso8601 | Yes | - |
|
| end_at | date-time-iso8601 | Yes | - |
|
| created_at | date-time-iso8601 | Yes | - |
|
| updated_at | date-time-iso8601 | Yes | - |
|
Interfaces: None
The competition participant is a competitor who is playing in a specific competition and he/she be able to win that.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - | Internal unique identifier for this competition_participant.
|
| competition_id | uuid | Yes | - |
|
| competitor_id | uuid | Yes | - |
|
Interfaces: None
The competitor can who can participate in a competition.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - | Internal unique identifier for this competitor.
|
| name | string | Yes | - |
|
Interfaces: None
The vote is created by voter and it concern for a competition_participant
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - | Internal unique identifier for this voter.
|
| competition_participant_id | uuid | Yes | - |
|
| voter_id | uuid | Yes | - |
|
| type | string | Yes | - |
|
| points | integer | Yes | - |
|
Interfaces: None
The voter can vote for competition_participant.
| Field | Type | Required? | Default | Description |
|---|---|---|---|---|
| guid | uuid | Yes | - | Internal unique identifier for this voter.
|
| name | string | Yes | - |
|