Skip to content

Instantly share code, notes, and snippets.

@jbothma
Last active March 6, 2021 12:43
Show Gist options
  • Save jbothma/df4491048e6faeb654ffbc8ea33bb77a to your computer and use it in GitHub Desktop.
Save jbothma/df4491048e6faeb654ffbc8ea33bb77a to your computer and use it in GitHub Desktop.
Asylum Assist form data model
[
{
"question_id": "surname",
"answer": [
{
"language": "en",
"value": "Bothma"
},
{
"language": "fr",
"value": "Bothma"
}
],
},
{
"question_id": "current_nationality",
"answer": [
{
"language": "en",
"value": "South African"
},
{
"language": "fr",
"value": "Sud africain"
}
],
}
]
@jbothma
Copy link
Author

jbothma commented Mar 6, 2021

class FormSubmission:
  submissionId: Int
  formValues: String/Json

class AsylumSeeker:
  unhcr
  name
  surname
  nationality

class SeekerSubmission:
  sumissionId: FormSubmission
  seekerId: AsylumSeeker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment