JSONPath Tools / @jsonpath-tools/jsonpath / jsonSchemaToType
Function: jsonSchemaToType()
ts
function jsonSchemaToType(jsonSchema, additionalJSONSchemas): DataType
Converts the given JSON Schema to a data type.
Parameters
jsonSchema
JSON schema with its URI (optional).
additionalJSONSchemas
JSONSchemaWithURI
[] = []
Additional JSON Schemas that can be referenced from the jsonSchema (via $ref
).