ajv.addSchema {ajv} | R Documentation |
A wrapper for the Ajv.addSchema method
Description
The add a schema to an Ajv instance
Usage
ajv.addSchema(this, schema, key)
Arguments
this |
An AJV instance, provided implicitly when called via |
schema |
The schema to be added.
|
key |
String; the name with which to store the schema |
Value
invisible(NULL)
See Also
Other AJV.Instance.Methods: ajv.addFormat
,
ajv.addKeyword
,
ajv.errorsText
, ajv.keyword
,
ajv.removeSchema
,
ajv.validateSchema
,
ajv.validate
Examples
## Not run:
my_ajv_instance = Ajv()
my_ajv_instance$addSchema
## End(Not run)
[Package ajv version 1.0.0 Index]