Skip to main content

jsonschema

PropertyValue
Packagejsonschema
Versions Covered>=1.0.0
Contract Versionundefined
Statusdraft
Last Verifiedundefined
Maintainerundefined

Installation

npm install jsonschema

Covered Functions

This contract covers 3 function(s):

validate()

Postconditions

What happens after calling this function:

Condition: must_handle_error

Required Handling:

try_catch

📖 Source

Condition: should_check_result

Required Handling:

result_check

📖 Source


Validator.validate()

Postconditions

What happens after calling this function:

Condition: must_handle_error

Required Handling:

try_catch

📖 Source


Validator.addSchema()

Postconditions

What happens after calling this function:

Condition: must_handle_error

Required Handling:

try_catch

📖 Source


Example: Proper Error Handling

See Also