schimatos / shacl-form-react Goto Github PK
View Code? Open in Web Editor NEWCore logic to generate a form based on *any* SHACL constraint
License: Other
Core logic to generate a form based on *any* SHACL constraint
License: Other
This the core component of Schimatos so it should have the same license as the full application
Hi @jeswr, thanks for making this project available publicly!
I was trying to use your package to generate a web form from a SHACL shape, but I could not find how to call it and pass the SHACL shapes + data in the right format. Nor how to import the SHACLForm
The README says:
export function MyApp() {
return <SHACLForm
shacl={shacl}
data={data}
/>
}
And that the component uses rdf-object
I found some uses in the mock files, but still unsure what should be in data
and how to load a RDF string as an rdf-object
: https://github.com/schimatos/shacl-form-react/blob/main/__tests__/mocks/mock-form.tsx
For the import, it seems like we need to import Form
? https://github.com/schimatos/shacl-form-react/blob/main/lib/index.ts#L4
Do you have an example a bit more detailed? Which shows how to import SHACLForm
and how to instantiate the shacl shape
and data
main
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can resolve this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
name
property in package.json
.The package.json
's name property is required in order to publish a package to the npm registry.
Please make sure to add a valid name
for your package in your package.json
.
Good luck with your project β¨
Your semantic-release bot π¦π
main
branch failed. π¨I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. Iβm sure you can resolve this πͺ.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the main
branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:
If those donβt help, or if this issue is reporting something you think isnβt right, you can always ask the humans behind semantic-release.
The npm token configured in the NPM_TOKEN
environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/
.
If you are using Two Factor Authentication for your account, set its level to "Authorization only" in your account settings. semantic-release cannot publish with the default "
Authorization and writes" level.
Please make sure to set the NPM_TOKEN
environment variable in your CI with the exact value of the npm token.
Good luck with your project β¨
Your semantic-release bot π¦π
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.