Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add under environment section for lightning strike detectors #1

Merged
merged 1 commit into from
Apr 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion schemas/groups/environment.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,44 @@
}
}
},
"lightning": {
"title": "lightning",
"type": "object",
"description": "Thunderstorms and lightnings related data.",
"properties": {
"eventType": {
"enum": [
"lightning",
"disturber",
"noiseDetected",
"noiseGone"
]
},
"distance": {
"description": "Distance to strike",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "m"
},
"distanceToFront": {
"description": "Distance to front",
"$ref": "../definitions.json#/definitions/numberValue",
"units": "m"
},
"energyScale": {
"description": "Energy for scale (not measured in particular units)",
"type": "number"
},
"totalDetected": {
"description": "Total count detected recently",
"type": "number",
"default": 0
},
"detectionPeriod": {
"description": "Time period in minutes for total recently detected counter",
"type": "number"
}
}
},
"time": {
"type": "object",
"description": "A time reference for the vessel. All clocks on the vessel dispaying local time should use the timezone offset here. If a timezoneRegion is supplied the timezone must also be supplied. If timezoneRegion is supplied that should be displayed by UIs in preference to simply timezone. ie 12:05 (Europe/London) should be displayed in preference to 12:05 (UTC+01:00)",
Expand Down Expand Up @@ -388,4 +426,4 @@
}
}
}
}
}