Validate metadata before adding to photo source
- ColorSwatchMetada class created