AnsweredAssumed Answered

What is the equivalent "XML required field/node" for JSON elements?

Question asked by janarvin on Feb 21, 2018
Latest reply on Feb 22, 2018 by abodapati@ealabs.in

In your XSD or XML Profile, it's possible to require a field via its min/max occurs immediately.

 

How would it look like for JSON? Is it via Array (Absolute)? But I would still need to create an object/element under it. What would happen if only 2 out of n-elements are not required? (Sample scenario where highlighted are required fields.)

 

Outcomes