Olympic games truce

ONU approved olympic truce for Paris 2024. This resolution aims to ensure a period of peace, to make Olympic games inspired by equality, solidarity and peace. Where does the Olympic truce originate? What can happen in case of a violation?