...
Validate value in the field $.managing_organization, Reference on legal entity, required
Check legal entity id exists in DB
in case of error return 422 "Legal entity with such id is not found"
Check $.managing_organization.identifier.value is equal to client_id from token
in case of error return 422 "Managing_organization does not correspond to user's legal_entity"
...