13.0.1 • Published 3 years ago

@postman-open-tech/schemaorgjsonschema v13.0.1

Weekly downloads
-
License
CC-BY-SA-4.0 AND ...
Repository
github
Last release
3 years ago

Schema.Org types in JSON Schema Draft 2020-12 format

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.

Schema.Org version

  • 13.0
  • Previous versions, from 12.0, see GitHub tags or install a specific version from npm

Usage:

const schemaOrg = require('@postman-open-tech/schemaorgjsonschema');

const bookSchema = schemaOrg.getSchema('Book');
node test.js {schema.org type}

Source of converter / scrapers

License