Mandatory Field Json validation

Not applicable

Hi,

I need to validate Json Payload. where I need to do Field validation.

I used SOAP Validation policy where I can only validate syntax validation.

I am using Json Schema, where I cannot achieve Json Field validation.

Can someone help on this issue ?

0 5 1,739
5 REPLIES 5

SOAP Validation Policy in JSON context can be used only to determine valid JSON or NOT. It doesn't validate against any schema. You need to use javascript policy for same.

Refer it here

I saw that post, I am using schema here, but even-though my schema is not able to do field validation.

So mean you are using JavaScript Policy to validate JSON against schema but still that's not working ?

yes, I used Json Schema to validate fields and it's values of Json payload. and now it is working.

That's great