Hard validation > cropResidue completeness can only be true if the fate of the residue is specified
New Validation
Validation
Validation Conditions
- If the
siteType
iscropland
,glass or high accessible cover
,permanent pasture
- If the
completeness.cropResidue=true
- If none of these terms were added
Above ground crop residue, burnt
,Above ground crop residue, removed
,Above ground crop residue, incorporated
,Above ground crop residue, left on field
- If no term with
termType
=cropResidueManagement
are recorded
Validation Level
-
Warning: this might be an error, but we will still allow the upload to be validated. -
Error: this is an error and must be fixed to validate the upload.
Example
Input Data
Example 1:
{
"@type": "Cycle",
"products": [
{
"@type": "Product",
"term": {
"name": "Above ground crop residue, total",
"units": "kg dry matter"
},
"value": [
100
]
}
],
"practices": [
{
"@type": "Practice",
"term": {
"name": "Residue burnt",
"units": "%"
},
"value": [
30
]
},
{
"@type": "Practice",
"term": {
"name": "Residue left on field",
"units": "%"
},
"value": [
5
]
}
]
}
Example 2:
{
"@type": "Cycle",
"products": [
{
"@type": "Product",
"term": {
"name": "Above ground crop residue, total",
"units": "kg dry matter"
},
"value": [
100
]
}
]
}
Output error/warning message
For sites of type cropland, glass or high accessible cover or permanent pasture, if data completeness is marked true for crop residue, the fate of the of Above ground crop residue must be fully specified. The fate can be added using:
- one or more practices in the [cropResidueManagement](https://www-staging.hestia.earth/glossary?page=1&termType=cropResidueManagement) glossary
- the products `Above ground crop residue, removed`, `Above ground crop residue, incorporated`, `Above ground crop residue, burnt`, `Above ground crop residue, left on field`
Additional Notes
Edited by Guillaume