
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
schema-org-ceramic
Advanced tools
A small project that converts Schema.org schemas to JSON schemas suitable for use in Ceramic.
import { createModel } from "schema-org-ceramic";
await createModel(ceramic, manager, "Thing");
A schema will be created for the object Thing and added to the manager instance.
The Geo Web is currently using this repo as one of the sources for schemas. See an example here.
schema-org-json-schemas converts Schema.org models to JSON schemas. However, the schemas are not quite ready for use in Ceramic due to two things:
allOf to refer to other schema IDs, which is not supported in js-ceramicrefSubclasses are handled by including super classes under the definitions of the schemas and replacing the allOf reference with a definition.
This will result in large schemas, as Thing, for example, will be redefined in every schema.
Primitive types are defined inline, which is not an issue.
Properties that are more complicated types use ref to refer to another schema. These are replaced with CIP-82 references.
This results in every ref turning into a reference to another Ceramic stream with a different schema. This will limit the size of streams, while keeping primitive types inline.
Value can definitely be added by publishing a single registry of Schema.org Ceramic schemas. This would allow others to reuse and reference the same schemas, without needing to publish them all themselves.
Once published, the @datamodels repo could contain a package containing all Schema.org schemas.
FAQs
Generate Ceramic schemas and data models from Schema.org classes
We found that schema-org-ceramic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.