{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://paperspec.scient.ing/schemas/grade.schema.json", "title": "Grade", "description": "scienting-grade/1: the grader's result for one submission; spec/19-exercises.md.", "type": "object", "properties": { "format": { "const": "scienting-grade/1" }, "submission": { "$ref": "common.schema.json#/$defs/recordId" }, "exercise": { "type": "string", "pattern": "^urn:scienting:annotation:[a-z0-9][a-z0-9._-]*/[a-hjkmnp-tv-z][0-9a-hjkmnp-tv-z]{6,25}$" }, "score": { "$ref": "common.schema.json#/$defs/decimal" }, "max": { "$ref": "common.schema.json#/$defs/decimal" }, "items": { "type": "array", "items": { "type": "object", "properties": { "element": { "type": "string", "minLength": 1 }, "points": { "$ref": "common.schema.json#/$defs/decimal" }, "max": { "$ref": "common.schema.json#/$defs/decimal" }, "feedback": { "type": "string" } }, "required": [ "element", "points", "max", "feedback" ], "additionalProperties": false }, "minItems": 1 } }, "required": [ "format", "submission", "exercise", "score", "max", "items" ], "additionalProperties": false }