Skip to content

Repository files navigation

data-standard-validator Component

<data-standard-validator-component>: a Lit web component that checks JSON and JSON-LD records against SHACL shapes in the browser, with plain-English errors that point at the line. It is built on @theodi/data-standard-validator.

See the example project and its live demo.

npm install github:theodi/data-standard-validator-component
import '@theodi/data-standard-validator-component'

document.querySelector('data-standard-validator')!.config = {
  standards: [{ name: 'Person', shapes: 'https://example.org/person.ttl' }],
}

Documentation: https://theodi.github.io/data-standard-validator-component/

Licence

Licensed under the Apache License 2.0. See the LICENSE file for details.

Releases

Packages

Contributors

Languages