Spectral to enforce all properties being marked as required?

Hi folks - is there a way I can write a rule to enforce all defined properties appearing in the ‘required’ list in a JSON schema? As far as I can tell, I can’t use ‘enumeration’ while defining the list of values from another path. Just wanted to check I’m not missing something before I try doing this with a custom function. Thanks!

Hey James, I hope you found what you were looking for, but it’s correct that enumeration won’t help here. This is probably going to need to be a custom function.