I am Confused, Should I validate with data in json or a json model

Very confuse on what to do.

Should I use pattern_attribute.json file with data or with a model.

need some guidance

thx

Norm

Check this link.It may help to clear some doubts

Lab: Apply the Attribute Pattern