0.0.11 • Published 2 years ago

@shanzhai/validate-json-schema-step v0.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

@shanzhai/validate-json-schema-step Continuous Integration License FOSSA Status Renovate enabled npm npm type definitions

A Shanzhai step which validates a JSON value against a JSON schema.

Usage

If within a trigger's event handler an instance of ValidateJsonSchemaStep similar to the following were to be returned:

new ValidateJsonSchemaStep(
  `A description of the operation being performed`,
  new InputForAJsonSchema(),
  new InputForAValueToValidate(),
  new OutputForTheValidatedValue(),
);

The value which be checked against the JSON schema. If it passes, the value will be copied to the output. If it fails, an error is raised.

Dependencies

This package has the following runtime dependencies:

NameVersion
jsonschema1.4.0

Peer Dependencies

This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).

License

FOSSA Status

0.0.10

2 years ago

0.0.11

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago