Skip to content

Commit 67df6ca

Browse files
eceltovkrulis-martin
authored andcommitted
improved descriptions
1 parent 636f040 commit 67df6ca

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

app/helpers/MetaFormats/FormatDefinitions/GroupPrivateDataFormat.php

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class GroupPrivateDataFormat extends MetaFormat
3030
#[FPost(new VArray(new VUuid()), "IDs of the students of this group")]
3131
public array $students;
3232

33-
#[FPost(new VUuid(), "The instance ID of the group", required: false)]
33+
#[FPost(new VUuid(), "ID of an instance in which the group belongs", required: false)]
3434
public string $instanceId;
3535

36-
#[FPost(new VBool(), "Whether the group has a valid license")]
36+
#[FPost(new VBool(), "Whether the instance where the group belongs has a valid license")]
3737
public bool $hasValidLicence;
3838

3939
#[FPost(new VArray(new VUuid()), "IDs of all group assignments")]
@@ -42,30 +42,38 @@ class GroupPrivateDataFormat extends MetaFormat
4242
#[FPost(new VArray(new VUuid()), "IDs of all group shadow assignments")]
4343
public array $shadowAssignments;
4444

45-
#[FPost(new VBool(), "Whether the group statistics are public")]
45+
#[FPost(new VBool(), "Whether the student's results are visible to other students")]
4646
public bool $publicStats;
4747

48-
#[FPost(new VBool(), "Whether the group is detaining")]
48+
#[FPost(new VBool(), "Whether the group detains the students (so they can be released only by the teacher)")]
4949
public bool $detaining;
5050

51-
#[FPost(new VDouble(), "The group assignment point threshold", required: false)]
51+
#[FPost(
52+
new VDouble(),
53+
"A relative number of points a student must receive from assignments to fulfill the requirements of the group",
54+
required: false,
55+
)]
5256
public ?float $threshold;
5357

54-
#[FPost(new VInt(), "The group points limit", required: false)]
58+
#[FPost(
59+
new VInt(),
60+
"A minimal number of points that a student must receive to fulfill the group's requirements",
61+
required: false,
62+
)]
5563
public ?int $pointsLimit;
5664

5765
#[FPost(new VArray(), "Entities bound to the group")]
5866
public array $bindings;
5967

60-
#[FPost(new VTimestamp(), "The time when the exam starts if there is an exam", required: false)]
68+
#[FPost(new VTimestamp(), "The time when the exam starts if there is an exam scheduled", required: false)]
6169
public ?int $examBegin;
6270

63-
#[FPost(new VTimestamp(), "The time when the exam ends if there is an exam", required: false)]
71+
#[FPost(new VTimestamp(), "The time when the exam ends if there is an exam scheduled", required: false)]
6472
public ?int $examEnd;
6573

66-
#[FPost(new VBool(), "Whether there is a strict exam lock", required: false)]
74+
#[FPost(new VBool(), "Whether the scheduled exam requires a strict access lock", required: false)]
6775
public ?bool $examLockStrict;
6876

69-
#[FPost(new VArray(), "All group exams")]
77+
#[FPost(new VArray(), "All past exams (with at least one student locked)")]
7078
public array $exams;
7179
}

0 commit comments

Comments
 (0)