While testing using the sample JSON and schema given at https://json-schema.org/learn/getting-started-step-by-step.html and deliberately changing 'productId' in the JSON from an integer value to a string to get an error returned, I noticed that the value associated with dataPath was prefixed with a full stop (American: period, i.e. a dot):
"dataPath": ".productId"
I believe that this should not be the case.
I presume this have been processed from ajv output, the error message of which starts "data.productId".
While testing using the sample JSON and schema given at https://json-schema.org/learn/getting-started-step-by-step.html and deliberately changing 'productId' in the JSON from an integer value to a string to get an error returned, I noticed that the value associated with dataPath was prefixed with a full stop (American: period, i.e. a dot):
"dataPath": ".productId"
I believe that this should not be the case.
I presume this have been processed from ajv output, the error message of which starts "data.productId".