I’m trying to validate the following shape:
{
tag: :locations,
paths: {
[%w[in near], %w[me us]] => { current_location: true, tag: 'Location' },
[%w[in near], %w[my our], %w[area town community city island state]] => { current_location: true, tag: 'Location' },
[%w[on], %w[my our], %w[island]] => { current_location: true, tag: 'Location' }
},
},
You’ll note that the value for :paths is a Hash will Array keys. How would validating this work?
Thank you!