@om-mediaworks/shacl-form
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

SHACL Form

SHACL form is a frontend library that shows forms from a SHACL shape. It uses customElements, also for the widgets, this will enable a third party developer to bring their own widgets that might be made with any other technology as long as it is exported as a customElement.

Progress

This library is in development

Screenshot

Screenshot of SHACL-form

Usage

HTML attributes on the customElement:

  • subject - Useful when creating data. It will set the subject to this uri. It is possible to rename the subject when using the form.
  • shacl-url - The place where the SHACL turtle is stored, it should allow CORS.
  • shape-uri - Set this attribute if you have multiple shapes in your shape turtle file and do not want to use the first shape.
<shacl-form shacl-url="YOUR_SHACL_TTL"></shacl-form>

Readme

Keywords

none

Package Sidebar

Install

npm i @om-mediaworks/shacl-form

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

1.45 MB

Total Files

94

Last publish

Collaborators

  • northernmusiker
  • si-fab
  • danielbeeke