diff --git a/15-draft.json b/15-draft.json
index d48ed4f..029aa51 100644
--- a/15-draft.json
+++ b/15-draft.json
@@ -414,11 +414,10 @@
"type": "number"
},
"unit": {
- "description": "The unit of pressure used by your sensor
Note: The hPA
unit is deprecated and should not be used anymore. Use the correct hPa
unit instead.",
+ "description": "The unit of pressure used by your sensor",
"type": "string",
"enum": [
- "hPa",
- "hPA"
+ "hPa"
]
},
"location": {
@@ -695,7 +694,7 @@
"type": "number"
},
"unit": {
- "description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
+ "description": "The humidity unit",
"type": "string",
"enum": [
"%"
@@ -788,10 +787,9 @@
"type": "number"
},
"unit": {
- "description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
+ "description": "The power unit",
"type": "string",
"enum": [
- "mW",
"W",
"VA"
]
@@ -889,7 +887,7 @@
"type": "number"
},
"unit": {
- "description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
+ "description": "The wind speed unit",
"type": "string",
"enum": [
"m/s",
@@ -912,7 +910,7 @@
"type": "number"
},
"unit": {
- "description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
+ "description": "The gust speed unit",
"type": "string",
"enum": [
"m/s",
@@ -935,7 +933,7 @@
"type": "number"
},
"unit": {
- "description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
+ "description": "The direction unit",
"type": "string",
"enum": [
"°"
@@ -956,7 +954,7 @@
"type": "number"
},
"unit": {
- "description": "The unit of the sensor value. You should always define the unit though if the sensor is a flag of a boolean type then you can of course omit it.",
+ "description": "The elevation unit",
"type": "string",
"enum": [
"m"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6f2e12a..8beb53f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,13 @@ Changes should start with one of the following tags:
- `[changed]` for changes to the existing API
- `[removed]` for keys that have been removed from the schema
+## v15
+
+`sensors`:
+
+- [removed] The deprecated unit `hPA` in `barometer.unit` was removed, use `hPa` instead ([#109])
+- [removed] The redundant unit `mW` in `power_consumption.unit` was removed, use `W` instead ([#109])
+
## v14
Root level:
@@ -73,3 +80,4 @@ Root level:
[#72]: https://github.com/SpaceApi/schema/pull/72
[#77]: https://github.com/SpaceApi/schema/pull/77
[#80]: https://github.com/SpaceApi/schema/pull/80
+[#109]: https://github.com/SpaceApi/schema/pull/109