Schema.Org Types in JSON Schema draft 2020-12 format
CC-BY-SA-4.0 License
The schemas at https://schema.org/ are very helpful for formats like JSON-LD, but they lack a canonical JSON representation.
This repository includes a canonical plain-JSON serialisation for each of the schema.org types, as well as the scrapers and converters used in their production.
13.0
12.0
, see GitHub tags or install a specific version from npmconst schemaOrg = require('@postman-open-tech/schemaorgjsonschema');
const bookSchema = schemaOrg.getSchema('Book');
node test.js {schema.org type}