Cardiff University · Schema

Module

An academic module taught at Cardiff University, as returned by the Modules API.

EducationHigher EducationUniversityUnited KingdomWalesOpen DataCoursesResearch

Properties

Name Type Description
code string Unique module code.
name string Module title.
level string Academic level of the module.
credits string Credit value of the module.
language string Language of delivery.
noOfPeriods string Number of teaching periods.
type string Module type.
school object School that owns the module.
subject object
moduleLeader object
View JSON Schema on GitHub

JSON Schema

cardiff-module-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cardiff/refs/heads/main/json-schema/cardiff-module-schema.json",
  "title": "Module",
  "description": "An academic module taught at Cardiff University, as returned by the Modules API.",
  "type": "object",
  "required": ["code", "name"],
  "properties": {
    "code": { "type": "string", "description": "Unique module code." },
    "name": { "type": "string", "description": "Module title." },
    "level": { "type": "string", "description": "Academic level of the module." },
    "credits": { "type": "string", "description": "Credit value of the module." },
    "language": { "type": "string", "description": "Language of delivery." },
    "noOfPeriods": { "type": "string", "description": "Number of teaching periods." },
    "type": { "type": "string", "description": "Module type." },
    "school": {
      "type": "object",
      "description": "School that owns the module.",
      "properties": {
        "code": { "type": "string" },
        "name": { "type": "string" },
        "parent": { "type": "string" }
      }
    },
    "subject": {
      "type": "object",
      "properties": {
        "code": { "type": "string" },
        "name": { "type": "string" }
      }
    },
    "moduleLeader": {
      "type": "object",
      "properties": {
        "forename": { "type": "string" },
        "surname": { "type": "string" },
        "fullName": { "type": "string" },
        "title": { "type": "string" },
        "staffId": { "type": "string" },
        "username": { "type": "string" },
        "email": { "type": "string" }
      }
    }
  }
}