jsonString | String. Optional. JSON content for validation in a String. If you specify the value of this parameter, you need not specify jsonStream or jsonDocument. |
jsonStream | java.io.InputStream. Optional. JSON content for validation in an input stream. If you specify the value of this parameter, you need not specify jsonString or jsonDocument. |
jsonDocument | Document. Optional. JSON content for validation in a document (IData object). If you specify the value of this parameter, you need not specify jsonString or jsonStream. |
streamEncoding | String. Optional. Character encoding that applies to jsonStream. The default is UTF-8. |
conformsTo | String Fully qualified name of a JSON document type on Integration Server against which the JSON content will be validated. |
isValid | String. Flag that indicates whether or not validation was successful. A value of: true indicates that validation was successful. false indicates that validation was unsuccessful. | |
errors | Document List. Conditional. Returned only when errors are encountered during validation. Each document contains the following information: | |
Key | Description | |
code | String Error code (for example, JSV-001). | |
message | String Error message (for example, JSON schema validation failed). | |
path | String Location of the error. |