Skip to content
Snippets Groups Projects
Commit d7f78ba1 authored by Ulrich Loup's avatar Ulrich Loup
Browse files

Merge branch 'extend-resultQuality-with-list-of-annotations' into 'main'

Extend resultQuality with list of annotations

See merge request stamplate/jsonschemas!24
parents 2dcaa65b 2cddf9a4
Branches main
No related tags found
No related merge requests found
......@@ -4,13 +4,29 @@
"@import": "stamplate.jsonld",
"@vocab": "http://schema.org/"
},
"@id": "https://rdm-software.pages.ufz.de/saqc/",
"@type": "ObservationResultQuality",
"annotation": "99",
"annotationType": "SaQC",
"properties": {
"version": "2.6",
"measure": "flagUniLOF",
"definition": "https://url/to/config"
}
"annotations": [
{
"@id": "https://rdm-software.pages.ufz.de/saqc/",
"@type": "ObservationResultQuality",
"annotation": "99",
"annotationType": "SaQC",
"properties": {
"version": "2.6",
"measure": "flagUniLOF",
"definition": "https://url/to/config"
}
},
{
"@id": "https://tereno.net/quality",
"@type": "ObservationResultQuality",
"annotation": "baddata",
"annotationType": "generic"
},
{
"@id": "https://tereno.net/quality",
"@type": "ObservationResultQuality",
"annotation": "Analysis error",
"annotationType": "specific"
}
]
}
......@@ -25,49 +25,60 @@
"@vocab"
]
},
"@id": {
"description": "link to a view page of the quality-measure scheme/tool",
"$ref": "#/$defs/url"
},
"@type": {
"type": "string",
"const": "ObservationResultQuality"
},
"annotation": {
"description": "actual quality label, e.g., a number or good/bad",
"type": "string"
},
"annotationType": {
"description": "quality-measure scheme/tool, e.g., SaQC",
"type": "string"
},
"properties": {
"description": "parameters of the quality-measure scheme/tool",
"type": "object",
"properties": {
"@type": {
"type": "string",
"const": "ObservationResultQualityProperties"
},
"version": {
"description": "version of the quality-measure scheme/tool",
"type": "string"
"annotations": {
"description": "array of quality annotations of the observation",
"type": "array",
"items": {
"type": "object",
"properties": {
"@id": {
"description": "link to a view page of the quality-measure scheme/tool",
"$ref": "#/$defs/url"
},
"@type": {
"type": "string",
"const": "ObservationResultQuality"
},
"annotation": {
"description": "actual quality label, e.g., a number or good/bad",
"type": "string"
},
"annotationType": {
"description": "quality-measure scheme/tool, e.g., SaQC",
"type": "string"
},
"properties": {
"description": "parameters of the quality-measure scheme/tool",
"type": "object",
"properties": {
"@type": {
"type": "string",
"const": "ObservationResultQualityProperties"
},
"version": {
"description": "version of the quality-measure scheme/tool",
"type": "string"
},
"measure": {
"description": "name of the quality measure, e.g., flagUniLOF",
"type": "string"
},
"definition": {
"description": "URL to the configuration of the quality measure",
"$ref": "#/$defs/optionalUrl"
}
}
}
},
"measure": {
"description": "name of the quality measure, e.g., flagUniLOF",
"type": "string"
},
"definition": {
"description": "URL to the configuration of the quality measure",
"$ref": "#/$defs/optionalUrl"
}
"required": [
"@id",
"@type"
]
}
}
},
"required": [
"@context",
"@id",
"@type"
"@context"
],
"$defs": {
"url": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment