Add Key-Value Validation snippet