Cardiff University · JSON Structure

Cardiff Module Structure

JSON Structure for a Cardiff University academic module.

Type: object Properties: 10 Required: 2
EducationHigher EducationUniversityUnited KingdomWalesOpen DataCoursesResearch

Module is a JSON Structure definition published by Cardiff University, describing 10 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

code name level credits language noOfPeriods type school subject moduleLeader

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/cardiff/refs/heads/main/json-structure/cardiff-module-structure.json",
  "name": "Module",
  "description": "JSON Structure for a Cardiff University academic module.",
  "type": "object",
  "properties": {
    "code": { "type": "string" },
    "name": { "type": "string" },
    "level": { "type": "string" },
    "credits": { "type": "string" },
    "language": { "type": "string" },
    "noOfPeriods": { "type": "string" },
    "type": { "type": "string" },
    "school": {
      "type": "object",
      "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" }
      }
    }
  },
  "required": ["code", "name"]
}