Description Usage Arguments Value See Also Examples
The add a schema to an Ajv instance
1 | ajv.addKeyword(this, name, definition)
|
this |
An AJV instance, provided implicitly when called via |
name |
The name of the keyword to be added. |
definition |
A string encoding of a javascript object to be used as to define the keyword. |
invisible(NULL)
Other AJV.Instance.Methods: ajv.addFormat
,
ajv.addSchema
,
ajv.errorsText
, ajv.keyword
,
ajv.removeSchema
,
ajv.validateSchema
,
ajv.validate
1 2 3 4 5 | ## Not run:
my_ajv_instance = Ajv()
my_ajv_instance$addSchema
## End(Not run)
|
function (...)
ajv.addSchema(x, ...)
<environment: 0x27002b0>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.