JSON SCHEMA VALIDATE in built service throwing error

Here is the fix:

Everywhere I read it is being mentioned with either Doc type or IS Doc type.
That actually diverted me and made my work more tedious.

It is actually JSON DOC Type
I was getting this error because passing the entire schema is not allowed, You have to pass in the name of JSON DOC TYPE you create.

Right click package → new → Json doc type
image

I was actually creating
image

that was throwing the error.
The way you pass in the name into conformto field is by right clicking json doc type in whichever package you created the json doc type and copy and then paste in the name into corfomto field and map it.

1 Like