Initial commit
check / check (macos-latest) (push) Canceled after 0s
check / check (ubuntu-latest) (push) Canceled after 0s

This commit is contained in:
alexm committed 2026-10-11 23:45:29 -04:00
commit 62f54ed869
373 files changed
+16704

No files matched your search

+63
View File
@@ -0,0 +1,63 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://scient.ing/ns/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
}