@magda/registry-aspects
Version:
Common aspects for use with the registry.
30 lines (29 loc) • 862 B
JSON
{
"$schema": "http://json-schema.org/schema#",
"title": "Dataset Quality Aspect",
"description": "Aspect describing the quality rating of a dataset as determined by a number of different minions out of 100, along with the weight that they carry.",
"type": "object",
"properties": {
"additionalProperties": {
"type": "object",
"$ref": "#/definitions/rating"
}
},
"definitions": {
"rating": {
"type": "object",
"properties": {
"score": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"weighting": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
}
}