Docs Menu
API Developer Guide / middleware / pub / json / toJsonSchema

Service: toJsonSchema

This service will Convert the input Payload into JSON Schema.

Input Parameter:

Name Type Description
*payload: Object JSON input
isArray: Boolean Check for Array

Output Parameter:

Name Type Description
jsonSchema: String JSON Schema
@multiPart: Object Sets of Data in a Single Body
error: String Error Message