school/
1{
2 "status": "success",
3 "message": "Attendance successfully recorded",
4 "data": {
5 "date": "2023-02-22",
6 "class": "5A",
7 "attendance": [
8 {
9 "student_id": "123",
10 "name": "John Smith",
11 "status": "present"
12 },
13 {
14 "student_id": "456",
15 "name": "Jane Doe",
16 "status": "absent"
17 },
18 {
19 "student_id": "789",
20 "name": "Bob Johnson",
21 "status": "present"
22 }
23 ]
24 }
25}
The JSON data represents a response for school attendance recording, which contains three key-value pairs:
"status": indicates whether the request was successful or not. It can have two values: "success" or "error".
"message": a string that provides additional information about the status of the request, such as an error message in case of an error or a success message in case of a successful request.
"data": an object that contains the actual data related to the request. In this case, it contains the date of attendance, the class, and the attendance status of each student in the class.
The "data" object contains three key-value pairs:
"date": a string representing the date of the attendance record in YYYY-MM-DD format.
"class": a string representing the name or ID of the class whose attendance was recorded.
"attendance": an array that contains the attendance record for each student in the class. Each attendance record is an object that contains three key-value pairs:
"student_id": a string representing the ID or unique identifier of the student.
"name": a string representing the name of the student.
"status": a string representing the attendance status of the student. It can have two values: "present" or "absent".
Developed by
Episyche Technologies
Copyright © 2022-2024 Episyche Technologies. All rights reserved.
Based on JSON CRACK, by AykutSarac