1.3.0 • Published 6 years ago
inline-jsonschema-validator v1.3.0
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>