bounswe / bounswe2023group2

Disaster Response Platform
9 stars 2 forks source link

added check for predefined need type(missing person) #878

Closed azizamankenova closed 9 months ago

azizamankenova commented 9 months ago

As stated in issue #742, necessary checks are added for missing person type. Following information should be provided: {"type": "missing person", "details": { "missing_person_name": "Jane Doe", "missing_person_location": "under rubble in Maras" } ....} "initialQuantity" and "unsuppliedQuantity" shouldn't be provided, if "type" is "missing person"

azizamankenova commented 9 months ago

Can you also add the fields to json

Thanks for the review! Fields are added to json.