...

Validate request using schema (TBD)

  1. Check if any at least one of allowed field is submitted and have has value:

    • first_name

    • last_name

    • second_name

    • gender

    • external_id

    • birth_date

    • emergency_contact

    • confidant_person

      1. In case of error - return 422 (Schema validation failed)

  2. Check if any forbidden field is submitted:

    • note

    • status

      1. In case of error - return 422 (Schema validation failed)

...