Validate view model property types

I wanted to explore creating custom validation attributes for view
models.