json-schema-random-instance

Generates random instances from a JSON schema

JSON Schema Random Instance

This is a node library for generating random valid instances of JSON Schemas (draft 04).

var Generator = require('json-schema-random-instance');
var generator = new Generator(schema);
var instance = generator.generate();
  • uniqueItems
  • $ref
  • patternProperties
  • additionalProperties
  • dependencies
  • anyOf
  • not