{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peoplesoft/refs/heads/main/json-schema/peoplesoft-campus-solutions-student-schema.json",
  "title": "Student",
  "description": "PeopleSoft Campus Solutions student record.",
  "type": "object",
  "properties": {
    "EMPLID": {
      "type": "string",
      "description": "Student ID.",
      "example": "STU001234"
    },
    "NAME": {
      "type": "string",
      "description": "Student name.",
      "example": "Alex Johnson"
    },
    "ACAD_CAREER": {
      "type": "string",
      "description": "Academic career.",
      "enum": [
        "UGRD",
        "GRAD",
        "LAW",
        "MED"
      ],
      "example": "UGRD"
    },
    "ACAD_PROG": {
      "type": "string",
      "description": "Academic program.",
      "example": "BSCS"
    },
    "ACAD_PLAN": {
      "type": "string",
      "description": "Academic plan/major.",
      "example": "COMPSCI"
    },
    "ADMIT_TERM": {
      "type": "string",
      "description": "Admission term.",
      "example": "2026F"
    },
    "ACAD_LEVEL_BOT": {
      "type": "string",
      "description": "Academic level.",
      "enum": [
        "FR",
        "SO",
        "JR",
        "SR",
        "GR"
      ],
      "example": "JR"
    },
    "CUM_GPA": {
      "type": "number",
      "description": "Cumulative GPA.",
      "example": 3.65
    },
    "TOT_TAKEN_GPA": {
      "type": "number",
      "description": "Total GPA units taken.",
      "example": 90.0
    },
    "INSTITUTION": {
      "type": "string",
      "description": "Institution code.",
      "example": "MYUNV"
    },
    "CAMPUS": {
      "type": "string",
      "description": "Campus code.",
      "example": "MAIN"
    },
    "STDNT_CAR_NBR": {
      "type": "integer",
      "description": "Student career number.",
      "example": 0
    },
    "ACAD_STANDING": {
      "type": "string",
      "description": "Academic standing.",
      "enum": [
        "GS",
        "GP",
        "AP",
        "DQ"
      ],
      "example": "GS"
    }
  },
  "x-schema-source": "domain-knowledge"
}