inline-jsonschema-validator

1.3.0 • Public • Published

inline-jsonschema-validator

Display and do validation on JSON Schemas in the browser or as library on your site.

This library uses Ajv for convient validation of JSON Schemas. You can for example embed it into your your own documentation or website to have your schemas more accessible to consumers.

Getting Started

npm install inline-jsonschema-validator

Via NPM

<template>
  <ijv schema-url="https://foo.bar/schema.json"/>
</template>
 
<script>
import ijv from 'inline-jsonschema-validator'
 
export default {
  components: {
    ijv
  }
}
</script>
 
<style scoped>
@import "inline-jsonschema-validator/dist/inlineJSONSchemaValidator.css";
</style>

Via Script Tag

Readme

Keywords

Package Sidebar

Install

npm i inline-jsonschema-validator

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

9.78 MB

Total Files

12

Last publish

Collaborators

  • eljefedelrodeo