forked from AY2324S2-CS2103-F08-3/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -471,33 +471,50 @@ Data Field | Valid Values | |
`phone` | `123`, `98765432` | ||
`email` | `[email protected]`, | ||
`module` | `GESS1025`, `HSI1000`, `CS2103T` | ||
`faculty` | Refer to only the `Faculty` column in [Valid Faculty Values](#Valid-Faculty-Values) table below | ||
`faculty` | Refer to **only the `Faculty` column** in [Valid Faculty Values](#valid-faculty-values) table below | ||
`venue` | `COM4-02-33`, `LT21`, `Kent Ridge Vale, Tulip Street, #12-34` | ||
`tags` | `professor`, `Number1TA` | ||
`availabilities` | `TUESDAY 12:00 13:00`, `WEDNESDAY 12:00 13:00` | ||
`meetings` | Refer to the [Valid Data Values in meetings](#Valid-Data-Values-in-meetings) table | ||
`meetings` | Refer to the [Valid Data Values in meetings](#valid-data-values-in-meetings) table | ||
`favourite` | `Favourite`, `Not favourite` | ||
|
||
#### Valid Data Values in `meetings` | ||
#### Valid Data Values in meetings | ||
|
||
Meeting Data Fields | Valid Values | ||
--------|------ | ||
description | `Meeting 1`, `Finals` | ||
date | `30/1/2024 12:12`, `2002-11-15 19:00`, `1-12-2022 9:00`, `2024/1/1 0000` | ||
|
||
<div markdown="span" class="alert alert-primary">:exclamation: **Important:**<br> | ||
<div markdown="span" class="alert alert-primary"> | ||
|
||
**:exclamation: Important:**<br> | ||
Only `module`, `availabilities` and meeting `date` has additional constraints for their data values.<br> | ||
|
||
* The values of `module` and `availabilities` must be in capital letters.<br> | ||
|
||
* For example, `CS2103T` is a valid value for `module` whereas `cs2103t` is invalid. | ||
|
||
* The day in `availabilities` must be in their full spelling. | ||
|
||
* For example, `MONDAY` is valid and `MON` is invalid. | ||
|
||
* The value of `favourite` data field is case-sensitive. | ||
|
||
* For example, `Not favourite` is valid and `not favourite` and `not FAVOURITE` is invalid. | ||
|
||
</div> | ||
|
||
Example: | ||
<div markdown="block" class="alert alert-info"> | ||
|
||
**:information_source: Notes:**<br> | ||
|
||
* The displayed view in StaffConnect will reset to the default view after the `edit` command is called. | ||
|
||
* The changes made are displayed in the result display above the command box. | ||
</div> | ||
|
||
|
||
#### Example: | ||
```json | ||
{ | ||
"persons" : [ { | ||
|