Skip to content
A web interface for generating patches and extensions to OCDS
Branch: gh-pages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
record-package-schema
release-package-schema
release-schema
.gitignore
LICENSE
README.md
app.js
entry.js
index.html
jsoneditor.css
metaschema.json
package.json
webpack.config.js

README.md

OCDS Extension Creator

A tool to generate extensions to OCDS schema.

Getting Started

Choose the schema file you want to patch.

readme1

Copy the schema file to the target section and modify it.

readme2

Generate the patch with your modifications. You can download just the patch file or a zipped file with a complete OCDS extension bundle.

readme3

Ready? Open the OCDS Extension Creator!

Installation

To run the OCDS Extension Creator locally, clone the repository and run:

npm install .

This repository uses webpack. To re-compile the static files, run, from the root of the repository:

node_modules/.bin/webpack

Or, if you have webpack installed globally, run:

webpack.js

Maintenance

Replace the tags in the URLs, then run:

curl http://standard.open-contracting.org/schema/1__1__3/record-package-schema.json > record-package-schema/record-package-schema-1.1.json
curl http://standard.open-contracting.org/schema/1__1__3/release-package-schema.json > release-package-schema/release-package-schema-1.1.json
curl http://standard.open-contracting.org/schema/1__1__3/release-schema.json > release-schema/release-schema-1.1.json

curl http://standard.open-contracting.org/schema/1__0__3/record-package-schema.json > record-package-schema/record-package-schema-1.0.json
curl http://standard.open-contracting.org/schema/1__0__3/release-package-schema.json > release-package-schema/release-package-schema-1.0.json
curl http://standard.open-contracting.org/schema/1__0__3/release-schema.json > release-schema/release-schema-1.0.json

node_modules/.bin/webpack
You can’t perform that action at this time.