...
Check ID exists in MPI.prepersons
In case error - 404
Check preperson has status=active
In case error - return 422 (Preperson is not active)
Validate
...
request
Validate shcema request using schema (TBD)
Check if any allowed field is submitted and have value:
first_name
last_name
second_name
gender
external_id
birth_date
emergency_contact
confidant_person
In case of error - return 422 (Schema validation failed)
Check if any forbidden field is submitted:
note
status
In case of error - return 422 (Schema validation failed)
...