{"id":19710832,"url":"https://github.com/vemonet/json-ld-editor-react","last_synced_at":"2025-04-29T17:31:24.382Z","repository":{"id":40276130,"uuid":"349497053","full_name":"vemonet/json-ld-editor-react","owner":"vemonet","description":"🧙‍♂️📝 JSON-LD web editor, with autocomplete based on the loaded ontologies concepts and properties","archived":false,"fork":false,"pushed_at":"2023-04-22T12:44:02.000Z","size":16818,"stargazers_count":14,"open_issues_count":8,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T18:51:59.722Z","etag":null,"topics":["autocomplete","form","json-ld","rdf","schema-org","web-form"],"latest_commit_sha":null,"homepage":"https://vemonet.github.io/json-ld-editor-react","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vemonet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2021-03-19T17:03:38.000Z","updated_at":"2024-11-05T22:53:46.000Z","dependencies_parsed_at":"2022-08-25T08:02:00.729Z","dependency_job_id":null,"html_url":"https://github.com/vemonet/json-ld-editor-react","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vemonet%2Fjson-ld-editor-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vemonet%2Fjson-ld-editor-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vemonet%2Fjson-ld-editor-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vemonet%2Fjson-ld-editor-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vemonet","download_url":"https://codeload.github.com/vemonet/json-ld-editor-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549224,"owners_count":21607370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocomplete","form","json-ld","rdf","schema-org","web-form"],"created_at":"2024-11-11T22:08:36.063Z","updated_at":"2025-04-29T17:31:23.824Z","avatar_url":"https://github.com/vemonet.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Deploy to GitHub Pages](https://github.com/vemonet/json-ld-editor-react/workflows/Deploy%20website%20to%20GitHub%20Pages/badge.svg)](https://github.com/vemonet/json-ld-editor-react/actions/workflows/deploy-github.yml) [![CodeQL analysis](https://github.com/vemonet/json-ld-editor-react/workflows/CodeQL%20analysis/badge.svg)](https://github.com/vemonet/json-ld-editor-react/actions/workflows/codeql-analysis.yml)\n\n# 🧙‍♂️📝 JSON-LD editor\n\n**Load and edit JSON-LD RDF metadata files** in a user-friendly web interface, **with autocomplete** based on the classes and properties from the **ontologies loaded**\n\nBuilt with [TypeScript](https://www.typescriptlang.org/), [React](https://reactjs.org/), and [Material-UI](https://material-ui.com/).\n\nDeployed as a static website on [GitHub Pages](https://pages.github.com/).\n\n## Access 👩‍💻\n\nAccess the website at **[https://vemonet.github.io/json-ld-editor-react 🔗](https://vemonet.github.io/json-ld-editor-react)**\n\nA few URL parameters can be provided to automate some actions:\n\n* **Provide the JSON-LD file to load** with `edit=https://my-jsonld`\n  * e.g. https://vemonet.github.io/json-ld-editor-react?edit=https://raw.githubusercontent.com/w3c/csvw/gh-pages/tests%2Ftest086-metadata.json\n  * It will automatically load the JSON-LD available at this URL, and the ontology provided in `@context`. \n  * It also deactivates the possibility to upload a new JSON-LD file, so that you can send the URL to anyone to faithfully fill this metadata file! 📬\n\n* **Disable adding or removing objects** in the form with `toysrus=closed`\n  * e.g. https://vemonet.github.io/json-ld-editor-react?toysrus=closed\n  * It helps to ensure the people filling the form will comply with a given structure \n\nCombined: https://vemonet.github.io/json-ld-editor-react?edit=https://raw.githubusercontent.com/w3c/csvw/gh-pages/tests%2Ftest086-metadata.json\u0026toysrus=closed\n\n## Metadata examples 📝\n\nHere are a few examples of metadata templates to load from JSON-LD files URL:\n\n* Edit Schema.org Dataset metadata (default): https://vemonet.github.io/json-ld-editor-react?edit=https://raw.githubusercontent.com/kodymoodley/fair-metadata-html-page-generator/main/testdata/inputdata/test.jsonld\n* Edit CSV on the Web metadata: https://vemonet.github.io/json-ld-editor-react?edit=https://raw.githubusercontent.com/w3c/csvw/gh-pages/tests%2Ftest086-metadata.json\n\n## Tested ontologies ✔️\n\nThe following ontologies has been tested to be properly loaded when provided in `@context`\n\n* [Schema.org](https://schema.org/) - from JSON-LD\n  * https://schema.org/\n* [CSV on the Web (CSVW)](https://w3c.github.io/csvw/primer/) - from JSON-LD\n  * http://www.w3.org/ns/csvw\n* [Semantic Science ontology (SIO)](https://github.com/MaastrichtU-IDS/semanticscience) - from RDF/XML\n  * https://raw.githubusercontent.com/MaastrichtU-IDS/semanticscience/master/ontology/sio.owl\n* [BioLink model](https://biolink.github.io/biolink-model/docs/) - from Turtle\n  * https://raw.githubusercontent.com/biolink/biolink-model/master/biolink-model.ttl\n\nOntologies are converted from RDF formats to JSON-LD using `rdflib-js`\n\n\u003e Please report if an ontology does not load properly by [creating an issue on GitHub](https://github.com/vemonet/json-ld-editor-react/issues).\n\n## Known issues ⚠️\n\n* It is **not possible to resolve HTTP URLs** from HTTPS (triggers a `mixed active content blocked` error). Deploying to github.io/maastrichtu-ids forces redirect to HTTPS\n  * I currently rewrite ontologies URL using `http://` to `https://` before downloading them to work around this issue\n  * It can be solved by redirecting GitHub Pages a custom URL, such as http://wizard.semanticscience.org, and accessing via HTTP\n\n## Run in development 🏗️\n\nRequirements:  [npm](https://www.npmjs.com/get-npm) and [yarn](https://classic.yarnpkg.com/en/docs/install/#debian-stable) installed.\n\nClone the repository, and get in the folder:\n\n```bash\ngit clone https://github.com/vemonet/json-ld-editor-react \ncd json-ld-editor-react\n```\n\nInstall dependencies :inbox_tray:\n\n```bash\nyarn\n```\n\nWeb app will run on [http://localhost:19006 🏃](http://localhost:19006)\n\n```bash\nyarn dev\n```\n\n\u003e The website should reload automatically at each changes to the code :arrows_clockwise:\n\nUpgrade the packages versions in `yarn.lock` ⏫️\n\n```bash\nyarn upgrade\n```\n\n## Run in production 🛩️\n\nThis website is automatically deployed by a [GitHub Actions worklow](https://github.com/vemonet/json-ld-editor-react/actions?query=workflow%3A%22Deploy+to+GitHub+Pages%22) to GitHub Pages at https://vemonet.github.io/json-ld-editor-react\n\nYou can build locally in the `/web-build` folder, and serve on [http://localhost:5000](http://localhost:5000)\n\n```bash\nyarn build\nyarn serve\n```\n\nOr run directly using [Docker :whale:](https://docs.docker.com/get-docker/) (requires [docker installed](https://docs.docker.com/get-docker/))\n\n```bash\ndocker-compose up\n```\n\n\u003e Checkout the [docker-compose.yml](/docker-compose.yml) file to see how we run the Docker image ⛵️\n\n## Contribute 🤝\n\nContributions are welcome! See the [guidelines to contribute](/CONTRIBUTING.md).\n\n## See also 👀\n\nResources to help improving the wizard design:\n\n* [Generating RDF from Tabular Data on the Web](https://www.w3.org/TR/2015/REC-csv2rdf-20151217) - W3C recommendation  (2015)\n* [Comparing web forms approaches](https://medium.com/patternfly/comparing-web-forms-a-progressive-form-vs-a-wizard-110eefc584e7) - unformal article\n  * Users seems to prefers having everything in the same page, than having multiple pages with Next / Previous (2020)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvemonet%2Fjson-ld-editor-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvemonet%2Fjson-ld-editor-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvemonet%2Fjson-ld-editor-react/lists"}