-
Notifications
You must be signed in to change notification settings - Fork 1
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
rdls_schema.json: hazards required in event_set, hazard optional in e… #192
Conversation
We didn't discuss making |
In the case where the whole event_set is consistent in hazard type, it doesn't make too much sense to specify it for each event in the dataset. Therefore I''d put it optional, with the instruction to specify it in case of multiple hazard types. |
From a user perspective, I think it's better to always populate The downside is that it is slightly more work for publishers to fill Therefore, I would avoid instructions like "[only] specify it in case of multiple hazard types." As for making it optional, if the only reason to have it optional is the case of all events having the same hazard type, I think it should remain as required (notwithstanding my general preference to make as many fields as possible optional!) |
I agree that |
@matamadio is your thumbs up to the last comment the ok to add |
Yes |
Adding that back in means nothing has changed! #181 did some fixes including updating required fields being |
…vent
closes #188
Description
the descriptions of
Event_set.hazards
andEvent.hazard
are unchanged as they already specify enough. We'll include more detail about when to includeEvent.hazard
in the documentationMerge checklist
./manage.py
pre-commitIf you added or removed a field:
collapse
option of the jsonschema directives for dataset, resource, hazard, exposure, vulnerability and loss onreference/schema.md
Having trouble?
See how to resolve check failures.