All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eedm.student-unverified-grades.v1.0.0.student-unverified-grades.json Maven / Gradle / Ivy

{
  "title" : "Student Unverified Grades",
  "description" : "The unverified grades for a student.",
  "version" : "1.0.0",
  "type" : "object",
  "properties" : {
    "metadata" : {
      "$ref" : "resource:/eedm/metadata.json"
    },
    "id" : {
      "title" : "ID",
      "description" : "The global identifier of the student unverified grade.",
      "type" : "string",
      "format" : "guid",
      "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
    },
    "student" : {
      "title" : "Student",
      "description" : "The student associated with the unverified grade.",
      "type" : "object",
      "properties" : {
        "id" : {
          "title" : "ID",
          "description" : "The global identifier for the Student.",
          "type" : "string",
          "format" : "guid",
          "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
        }
      },
      "links" : [ {
        "rel" : "self",
        "href" : "/persons/{id}",
        "targetSchema" : {
          "$ref" : "persons.json#"
        }
      } ],
      "additionalProperties" : false,
      "required" : [ "id" ]
    },
    "sectionRegistration" : {
      "title" : "Section Registration",
      "description" : "The section registration associated with the grade.",
      "type" : "object",
      "properties" : {
        "id" : {
          "title" : "ID",
          "description" : "The global identifier for the Section Registration.",
          "type" : "string",
          "format" : "guid",
          "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
        }
      },
      "links" : [ {
        "rel" : "self",
        "href" : "/section-registrations/{id}",
        "targetSchema" : {
          "$ref" : "section-registrations.json#"
        }
      } ],
      "additionalProperties" : false,
      "required" : [ "id" ]
    },
    "awardGradeScheme" : {
      "title" : "Award Grade Scheme",
      "description" : "The award grade scheme associated with the student.",
      "oneOf" : [ {
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the Award Grade Scheme.",
            "type" : "string",
            "format" : "guid",
            "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
          }
        },
        "links" : [ {
          "rel" : "self",
          "href" : "/grade-schemes/{id}",
          "targetSchema" : {
            "$ref" : "grade-schemes.json#"
          }
        } ],
        "additionalProperties" : false,
        "required" : [ "id" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "incompleteGrade" : {
      "title" : "Incomplete Grade",
      "description" : "The default incomplete final grade and the extension date associated with the student's grade.",
      "oneOf" : [ {
        "type" : "object",
        "properties" : {
          "finalGrade" : {
            "title" : "Final Grade",
            "description" : "The default final grade.",
            "type" : "object",
            "properties" : {
              "id" : {
                "title" : "ID",
                "description" : "The global identifier for the Final Grade.",
                "type" : "string",
                "format" : "guid",
                "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
              }
            },
            "links" : [ {
              "rel" : "self",
              "href" : "/grade-definitions/{id}",
              "targetSchema" : {
                "$ref" : "grade-definitions.json#"
              }
            } ],
            "additionalProperties" : false,
            "required" : [ "id" ]
          },
          "extensionDate" : {
            "title" : "Extension Date",
            "description" : "The date after which the default final grade may be applied.",
            "type" : "string",
            "format" : "date",
            "pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
          }
        },
        "additionalProperties" : false,
        "required" : [ "finalGrade", "extensionDate" ]
      }, {
        "type" : "object",
        "maxProperties" : 0
      } ]
    },
    "details" : {
      "title" : "Details",
      "description" : "The grade and/or last attendance details.",
      "type" : "object",
      "properties" : {
        "grades" : {
          "title" : "Grades",
          "description" : "The grade details.",
          "type" : "array",
          "items" : {
            "type" : "object",
            "properties" : {
              "grade" : {
                "title" : "Grade",
                "description" : "The actual grade.",
                "type" : "object",
                "properties" : {
                  "id" : {
                    "title" : "ID",
                    "description" : "The global identifier for the Grade.",
                    "type" : "string",
                    "format" : "guid",
                    "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                  }
                },
                "links" : [ {
                  "rel" : "self",
                  "href" : "/grade-definitions/{id}",
                  "targetSchema" : {
                    "$ref" : "grade-definitions.json#"
                  }
                } ],
                "additionalProperties" : false,
                "required" : [ "id" ]
              },
              "type" : {
                "title" : "Type",
                "description" : "The type of grade (e.g. midterm, final).",
                "type" : "object",
                "properties" : {
                  "id" : {
                    "title" : "ID",
                    "description" : "The global identifier for the Type.",
                    "type" : "string",
                    "format" : "guid",
                    "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                  }
                },
                "links" : [ {
                  "rel" : "self",
                  "href" : "/section-grade-types/{id}",
                  "targetSchema" : {
                    "$ref" : "section-grade-types.json#"
                  }
                } ],
                "additionalProperties" : false,
                "required" : [ "id" ]
              },
              "submittedOn" : {
                "title" : "Submitted On",
                "description" : "The date the unverified grade was submitted.",
                "oneOf" : [ {
                  "type" : "string",
                  "format" : "date",
                  "pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
                }, {
                  "type" : "string",
                  "maxLength" : 0
                } ]
              }
            },
            "additionalProperties" : false,
            "required" : [ "grade", "type" ]
          }
        },
        "lastAttendance" : {
          "title" : "Last Attendance",
          "description" : "The details regarding the student's last known attendance.",
          "oneOf" : [ {
            "title" : "Date",
            "description" : "The last date the student attended the course.",
            "type" : "object",
            "properties" : {
              "date" : {
                "title" : "Date",
                "description" : "The last date the student attended the course.",
                "type" : "string",
                "format" : "date",
                "pattern" : "^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|0[1-9]|[1-2][0-9])$"
              }
            },
            "additionalProperties" : false,
            "required" : [ "date" ]
          }, {
            "title" : "Status",
            "description" : "The details of the student's last known attendance.",
            "type" : "object",
            "properties" : {
              "status" : {
                "title" : "Status",
                "description" : "The details of the student's last known attendance.",
                "enum" : [ "neverAttended" ],
                "type" : "string"
              }
            },
            "additionalProperties" : false,
            "required" : [ "status" ]
          }, {
            "type" : "object",
            "maxProperties" : 0
          } ]
        }
      },
      "additionalProperties" : false,
      "minProperties" : 1
    }
  },
  "required" : [ "id", "student", "sectionRegistration", "details" ],
  "additionalProperties" : false,
  "links" : [ {
    "rel" : "filter",
    "encType" : "application/x-www-form-urlencoded",
    "method" : "GET",
    "href" : "/student-unverified-grades?criteria={\"sectionRegistration\": {\"id\": $id}}",
    "title" : "Section Registration",
    "description" : "The section registration associated with the grade.",
    "schema" : {
      "type" : "object",
      "properties" : {
        "sectionRegistration" : {
          "type" : "object",
          "properties" : {
            "id" : {
              "type" : "string",
              "format" : "guid",
              "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
            }
          }
        }
      }
    },
    "targetSchema" : {
      "$ref" : "student-unverified-grades.json#"
    }
  }, {
    "rel" : "filter",
    "encType" : "application/x-www-form-urlencoded",
    "method" : "GET",
    "href" : "/student-unverified-grades?criteria={\"student\": {\"id\": $id}}",
    "title" : "Student",
    "description" : "The student associated with the unverified grade.",
    "schema" : {
      "type" : "object",
      "properties" : {
        "student" : {
          "type" : "object",
          "properties" : {
            "id" : {
              "type" : "string",
              "format" : "guid",
              "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
            }
          }
        }
      }
    },
    "targetSchema" : {
      "$ref" : "student-unverified-grades.json#"
    }
  }, {
    "rel" : "namedQuery",
    "encType" : "application/x-www-form-urlencoded",
    "method" : "GET",
    "href" : "/student-unverified-grades?section={\"section\": {\"id\": $id}}",
    "name" : "section",
    "title" : "Section",
    "description" : "Filter to return section associated with a student unverified grade.",
    "schema" : {
      "type" : "object",
      "properties" : {
        "section" : {
          "type" : "string",
          "format" : "guid",
          "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
        }
      }
    },
    "targetSchema" : {
      "$ref" : "student-unverified-grades.json#"
    }
  } ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy