Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

open-contracting-archive/ocds-faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCDS Faker

A command line tool to generate fake data for OCDS release packages.

Example usage:

node ocds-faker.js -i -p ../schemas/release-package-schema.json -r ../schemas/release-schema.json

Options:

  • -i: ignore "null" type in arrays of valid types
  • -p [/path/to/schema]: Path to OCDS JSON release-package-schema
  • -r [/path/to/schema]: Path to OCDS JSON release-schema

Installation

Clone this repository and run:

npm install .