Changeset - 03e08c17cee2
[Not reviewed]
default
0 1 0
Dennis Fink - 3 years ago 2022-06-10 09:38:27
dennis.fink@c3l.lu
Fix barometer unit in jsonschema
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
spaceapi/schema/sensors.json
Show inline comments
 
@@ -53,97 +53,97 @@
 
      "value"
 
    ],
 
    "type": "object"
 
  },
 
  "temperature": {
 
    "properties": {
 
      "name": {
 
        "type": "string"
 
      },
 
      "value": {
 
        "type": "number"
 
      },
 
      "description": {
 
        "type": "string"
 
      },
 
      "location": {
 
        "type": "string"
 
      },
 
      "unit": {
 
        "enum": [
 
          "°C",
 
          "°F",
 
          "K",
 
          "°De",
 
          "°N",
 
          "°R",
 
          "°Ré",
 
          "°Rø"
 
        ]
 
      }
 
    },
 
    "required": [
 
      "value",
 
      "unit",
 
      "location"
 
    ],
 
    "type": "object"
 
  },
 
  "barometer": {
 
    "properties": {
 
      "name": {
 
        "type": "string"
 
      },
 
      "value": {
 
        "type": "number"
 
      },
 
      "unit": {
 
        "enum": [
 
          "hPA"
 
          "hPa"
 
        ]
 
      },
 
      "location": {
 
        "type": "string"
 
      },
 
      "description": {
 
        "type": "string"
 
      }
 
    },
 
    "required": [
 
      "value",
 
      "unit",
 
      "location"
 
    ],
 
    "type": "object"
 
  },
 
  "radiation": {
 
    "beta": {
 
      "type": "array",
 
      "items": {
 
        "properties": {
 
          "location": {
 
            "type": "string"
 
          },
 
          "unit": {
 
            "enum": [
 
              "cpm",
 
              "r/h",
 
              "µSv/h",
 
              "mSv/a",
 
              "µSv/a"
 
            ]
 
          },
 
          "description": {
 
            "type": "string"
 
          },
 
          "conversion_factor": {
 
            "type": "number"
 
          },
 
          "dead_time": {
 
            "type": "number"
 
          },
 
          "value": {
 
            "type": "number"
 
          },
 
          "name": {
 
            "type": "string"
 
          }
0 comments (0 inline, 0 general)