@s1seven/schema-tools-certificate-model

Tool to create class / instances specific to a schema

Usage no npm install needed!

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

README

Schema-tools-certificate-model

npm

The certificate-model module provides a class using template pattern to generate a class / instances based a given JSON schema.

Install

npm install @s1seven/schema-tools-certificate-model

Examples

The example uses the CertificateModel class in a function using process.argv.

First argument is the schema type, and the second argument is the version of the schema that should be loaded to create a classe extending CertificateModel.

node ./examples/certificate-model.js en10168-schemas v0.0.2