---
# System prepended metadata

title: Dummy data in middleware

---

# Dummy data in middleware

* `schemeTitle` in `ApplicationGetSchema`: get from scheme `name` in schemes endpoint but fall back to dummy value if not set
- `deadline` in `ApplicationGetSchema`: get from `schemeDeadline` from application endpoint, but fall back to dummy value if not set (Think this is the one that Dan fixed on the call)
- `title` in `ApplicationGetSchema` already uses `name` field from application endpoint. (This was mentioned on the call but we're not using a dummy value in the MW so it should pull through correctly if set in Salesforce. Do we need to do any MW work to ensure it's saved correctly?)
- `deadline` in `InvitationApplicationSchema`: get from `deadline` from invitation endpoint, but fall back to dummy value if not set (again, seems to be populated since the call, but see https://wtprojects.atlassian.net/browse/FRP-3550). While fixing this we should fix an issue I've just noticed where we repeat the deadline code in `InvitationGetSchema.from_fpsf_invitation` but don't use the deadline.
- 