1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-10-21 18:58:25 +00:00

Adding all the schemas necessary for convert an evaluation into a JSON-LD context

This commit is contained in:
NahcoCP
2018-01-22 11:12:38 +01:00
parent 92189822d8
commit ec68ff0b90
6 changed files with 152 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allOf": [
{"$ref": "response.json"},
{
"title": "AggregatedEvaluation",
"description": "The results of the evaluation",
"type": "object",
"properties": {
"@context": {
"$ref": "context.json"
},
"@type": {
"default": "AggregatedEvaluation"
},
"@id": {
"description": "ID of the aggregated evaluation",
"type": "string"
},
"evaluations": {
"default": [],
"type": "array",
"items": {
"anyOf": [
{
"$ref": "evaluation.json"
},{
"type": "string"
}
]
}
}
},
"required": ["@id", "evaluations"]
}
]
}