Auto-Restart on Failure snaps

Currently my team has a use case to allow our snap to auto restart on failure if our snap service crashes. Is there some setting we could possibly put in our snapcraft.yml or a system setting we can provide snap in order to do that? I tried to look at the system settings snap supports and did not notice one.

See https://snapcraft.io/docs/snapcraft-app-and-service-metadata specifically the restart-condition entry.