{ "$schema": "https://json-structure.org/meta/extended/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/politecnico-di-torino/main/json-structure/politecnico-di-torino-exam-structure.json", "name": "Exam", "type": "object", "description": "JSON Structure for a PoliTO Students API exam session (source: polito/api-spec).", "properties": { "id": { "type": "int64" }, "courseId": { "type": "double" }, "courseShortcode": { "type": "string" }, "courseName": { "type": "string" }, "teacherId": { "type": "int64" }, "type": { "type": "string" }, "status": { "type": "string", "enum": ["available", "booked", "requestable", "requested", "requestAccepted", "requestRejected", "unavailable"] }, "bookingStartsAt": { "type": ["string", "null"], "format": "date-time" }, "bookingEndsAt": { "type": "string", "format": "date-time" }, "examStartsAt": { "type": ["string", "null"], "format": "date-time" }, "examEndsAt": { "type": ["string", "null"], "format": "date-time" }, "bookedCount": { "type": "int32" }, "availableCount": { "type": "int32" }, "isReschedulable": { "type": "boolean" }, "feedback": { "type": ["string", "null"] }, "notes": { "type": ["string", "null"] }, "moduleNumber": { "type": "int32" } }, "required": [ "id", "courseId", "courseShortcode", "courseName", "teacherId", "type", "status", "bookingEndsAt", "bookedCount", "availableCount" ] }