Files
aeroresolve_backend/database/action-builder/meals.json
T

95 lines
2.3 KiB
JSON

[
{
"actionTypeCode": "MEAL_VOUCHER",
"fields": [
{
"fieldCode": "voucher_amount",
"fieldName": "Voucher Amount",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "General Information",
"displayOrder": 1,
"lookupSource": "currency"
},
{
"fieldCode": "meal_type",
"fieldName": "Meal Type",
"fieldType": "multi_select",
"lookupSource": "meal-type",
"isRequired": false,
"width": "full",
"section": "General Information",
"displayOrder": 2
},
{
"fieldCode": "validity_hours",
"fieldName": "Validity (Hours)",
"fieldType": "number",
"isRequired": true,
"width": "half",
"section": "Restrictions",
"displayOrder": 3
},
{
"fieldCode": "airport_restriction",
"fieldName": "Airport Restriction",
"fieldType": "multi_select",
"lookupSource": "airport-restriction",
"isRequired": false,
"width": "full",
"section": "Restrictions",
"displayOrder": 4
}
]
},
{
"actionTypeCode": "RESTAURANT_VOUCHER",
"fields": [
{
"fieldCode": "partner_restaurant",
"fieldName": "Partner Restaurant",
"fieldType": "dropdown",
"isRequired": true,
"width": "full",
"section": "General Information",
"displayOrder": 1
},
{
"fieldCode": "voucher_value",
"fieldName": "Voucher Value",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "General Information",
"displayOrder": 2,
"lookupSource": "currency"
},
{
"fieldCode": "expiry_date",
"fieldName": "Expiry",
"fieldType": "date",
"isRequired": true,
"width": "half",
"section": "Restrictions",
"displayOrder": 3
}
]
},
{
"actionTypeCode": "REFRESHMENT_COUPON",
"fields": [
{
"fieldCode": "coupon_amount",
"fieldName": "Coupon Amount",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "General Information",
"displayOrder": 1,
"lookupSource": "currency"
}
]
}
]