Skip to content

Commit

Permalink
Fixed unit of measure errors:
Browse files Browse the repository at this point in the history
- baseSaturationPercentage
- limeRequirement
- netExcessAcidNeutralisingCapacity
- reducibleSulfur
  • Loading branch information
abhritchie committed Oct 25, 2023
1 parent ee7cfd8 commit 37023ff
Showing 1 changed file with 58 additions and 5 deletions.
63 changes: 58 additions & 5 deletions schema/domain/2023-07-31/properties-chemical.json
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@
"unit": {
"$ref": "./qudt.json#/$defs/unit",
"enum": [
"unit:CentiMOL-PER-KiloGM"
"unit:PERCENT"
]
}
}
Expand Down Expand Up @@ -3469,7 +3469,8 @@
"unit": {
"$ref": "./qudt.json#/$defs/unit",
"enum": [
"unit:KiloGM-PER-HA"
"KiloGM-PER-HA",
"unit:TONNE-PER-HA"
]
}
}
Expand All @@ -3482,7 +3483,59 @@
"scm:16D1"
]
}
}
},
"allOf": [
{
"if": {
"properties": {
"usedProcedure": {
"enum": [
"scm:16A1",
"scm:16B1"
]
}
}
},
"then": {
"properties": {
"result": {
"properties": {
"unit": {
"enum": [
"unit:KiloGM-PER-HA"
]
}
}
}
}
}
},
{
"if": {
"properties": {
"usedProcedure": {
"enum": [
"scm:16C1",
"scm:16D1"
]
}
}
},
"then": {
"properties": {
"result": {
"properties": {
"unit": {
"enum": [
"unit:TONNE-PER-HA"
]
}
}
}
}
}
}
]
},
{
"$ref": "./base.json#/$defs/ObservableProperty"
Expand Down Expand Up @@ -3598,7 +3651,7 @@
"unit": {
"$ref": "./qudt.json#/$defs/unit",
"enum": [
"unit:PERCENT"
"unit:MOL-PER-TONNE"
]
}
}
Expand Down Expand Up @@ -5300,7 +5353,7 @@
"unit": {
"$ref": "./qudt.json#/$defs/unit",
"enum": [
"unit:MOL-PER-TONNE"
"unit:PERCENT"
]
}
}
Expand Down

0 comments on commit 37023ff

Please sign in to comment.