Add error handling for Lottie JSON input


Check the input JSON against a schema to improve robustness.
The schema to look is
https://lottie.github.io/lottie-spec/1.0.1/specs/schema/

Task-number: QTBUG-139706
Change-Id: Iec7710f9e8180f95a16037900dae3f3dec03c91f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit8d73c7e65d21603c83bd2fee56ea8c0743940712
parent8e40a704083bd59efd6ca245ee124b2b7c5f9df2
authorKwanghyo Park <kwanghyo.park@qt.io>
committerKwanghyo Park <kwanghyo.park@qt.io>
commit timeMon, 20 Oct 2025 10:53:47 +0300