@s1seven/schema-tools-validate

Tool to validate certificates

Usage no npm install needed!

<script type="module">
  import s1sevenSchemaToolsValidate from 'https://cdn.skypack.dev/@s1seven/schema-tools-validate';
</script>

README

Schema-tools-validate

npm

This repository contains tools to validate certificate(s).

The validate module is using AJV to validate your certificate(s), it takes as input a certificate path | url | object | object[] from which the RefSchemaUrl property will be resolved to fetch dependencies located https://schemas.s1seven.com/ such as schema reference, translations, templates ...

Install

npm install @s1seven/schema-tools-validate

Examples

The example wrap the validate module in a function using process.argv.

The first argument is the folder path were resides your certificates to validate.

node ./examples/validate.js ./fixtures/en10168