Title is pretty self explanatory. Yaml/Json file are easier to manipulate and validate than the arrays, which needs to actually be be included and could pose a security risk.
Re the JSON, would be nice if a JSON Schema definition could be created to validate it. Also helps in supports IDEs like VSCode as you get autocompletion.
Title is pretty self explanatory. Yaml/Json file are easier to manipulate and validate than the arrays, which needs to actually be be included and could pose a security risk.