Closed rburaksaritas closed 11 months ago
{
"name": "type",
"label": "Type",
"type": "select",
"options": ["cloth", "food", "shelter", "medication", "transportation", "tool", "human", "other"]},
...
"type": {
"cloth": {
"fields": [
{"name": "size", "label": "Size", "type": "text"},
{"name": "gender", "label": "Gender", "type": "text"},
{"name": "age group", "label": "Age", "type": "select", "options": ["baby", "child", "teen", "adult", "elder", "mixed"]},
{"name": "subtype", "label": "Subtype", "type": "select", "options": ["pants", "shirt", "t-shirt", "coat", "boots", "shoes"]}
]
},
"food": {
"fields": [
{"name": "expiration_date", "label": "Expiration Date", "type": "date"},
{"name": "allergens", "label": "Allergens", "type": "text"},
{"name": "subtype", "label": "Subtype", "type": "select", "options": ["grains", "vegetables", "fruits", "meats", "dairy", "baby food", "conserved food"]}
]
},
...
Issue Description
Based on the feedback, I will update the form-fields.json file and related endpoints.
Deadline of the Issue
24.11.2023
Reviewer
Begüm Arslan