Politecnico di Torino · JSON Structure

Politecnico Di Torino Exam Structure

JSON Structure for a PoliTO Students API exam session (source: polito/api-spec).

Type: object Properties: 17 Required: 10
EducationHigher EducationUniversityItalyOpen DataMobileOpenAPI

Exam is a JSON Structure definition published by Politecnico di Torino, describing 17 properties, of which 10 are required. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

id courseId courseShortcode courseName teacherId type status bookingStartsAt bookingEndsAt examStartsAt examEndsAt bookedCount availableCount isReschedulable feedback notes moduleNumber

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$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"
  ]
}