So I was looking into MVVM again after some time where I didn't really follow new developments and I noticed that the amount of tutorials/guides etc. has grown greatly. However most examples/example implementations of MVVM lack to explain something that's not really clear to me. All of these examples are pretty simple and none of them reads something form a database/file/etc.
Now for example I have some paint-like application and I save the paintings in XAML. What belongs into the ViewModel what belongs into the Model?
Does the Model supply functions to load/save the paintings from/to a XAML file?
Does the ViewModel bind to properties that the Model exposes (Color, Width, Position etc.)?
Does the validation happen in the Model or in the ViewModel?