schema-dot-org

0.1.7 • Public • Published

schema-dot-org

A collection of schema.org compliant JSON schemas

Use

const schema = require('schema-dot-org');

let example = {};
example.url = "http://google.com";

let isValid = schema.validate(example, schema.thing);//true

Test

$ npm test

Schema support

  • Thing (incomplete)
  • Text
  • URL
  • Date

Package Sidebar

Install

npm i schema-dot-org

Weekly Downloads

1

Version

0.1.7

License

ISC

Last publish

Collaborators

  • josebarrios