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

eedm.grade-definitions.v6.0.grade-definitions.json Maven / Gradle / Ivy

{
  "title" : "Grade Definitions",
  "description" : "A unit of measurement of how well a student completed a course.",
  "type" : "object",
  "properties" : {
    "metadata" : {
      "$ref" : "resource:/eedm/metadata.json"
    },
    "id" : {
      "title" : "Id",
      "description" : "The global identifier of the grade.",
      "type" : "string",
      "format" : "guid",
      "pattern" : "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
    },
    "scheme" : {
      "title" : "Grade Scheme",
      "description" : "The grade scheme that defines the context of the grade scheme item.",
      "type" : "object",
      "properties" : {
        "id" : {
          "title" : "ID",
          "description" : "The global identifier for the 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" ]
    },
    "grade" : {
      "title" : "Grade",
      "description" : "The literal value or numeric range of the grade.",
      "oneOf" : [ {
        "title" : "Literal Value",
        "description" : "The item is defined as a literal",
        "type" : "object",
        "properties" : {
          "type" : {
            "title" : "Type",
            "description" : "The type of the grade.",
            "enum" : [ "literal" ],
            "type" : "string"
          },
          "value" : {
            "title" : "Value",
            "description" : "The literal value of the grade.",
            "type" : "string"
          }
        },
        "additionalProperties" : false,
        "required" : [ "type", "value" ]
      }, {
        "title" : "Numeric Range",
        "description" : "The numeric range that defines the grade",
        "type" : "object",
        "properties" : {
          "type" : {
            "title" : "Type",
            "description" : "The type of the grade.",
            "enum" : [ "numeric" ],
            "type" : "string"
          },
          "minValue" : {
            "title" : "Minimum Value",
            "description" : "The lower boundary of the numeric range of the grade.",
            "type" : "number"
          },
          "maxValue" : {
            "title" : "Maximum Value",
            "description" : "The upper boundary of the numeric range of the grade.",
            "type" : "number"
          },
          "increment" : {
            "title" : "Increment",
            "description" : "The size of the allowable incremental steps between the lower and upper boundaries of the range.",
            "type" : "number"
          }
        },
        "additionalProperties" : false,
        "required" : [ "type", "minValue", "maxValue" ]
      } ]
    },
    "credit" : {
      "title" : "Credit",
      "description" : "What degree of credit this grade qualifies for.",
      "oneOf" : [ {
        "type" : "string",
        "enum" : [ "full", "none" ]
      }, {
        "type" : "string",
        "maxLength" : 0
      } ]
    },
    "equivalentTo" : {
      "title" : "Equivalent Grades",
      "description" : "A list of mappings to equivalent grades from other grade schemes.",
      "type" : "array",
      "items" : {
        "title" : "Equivalent Grades",
        "description" : "A list of mappings to equivalent grades from other grade schemes.",
        "type" : "object",
        "properties" : {
          "id" : {
            "title" : "ID",
            "description" : "The global identifier for the Equivalent Grades.",
            "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" ]
      }
    }
  },
  "required" : [ "id", "scheme", "grade" ],
  "additionalProperties" : false
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy