0.0.1 • Published 7 years ago

qpp-submissions-schema v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

qpp-submissions-schema

Quality Payment Program Submissions Schema

This repository hosts the submissions schema for QPP and supports functionality to import the schema as an NPM module. QPP submissions are described in more detail here.

The QPP Submissions API accepts both JSON and XML. Schemas for both data formats are available in this repository under /schemas.

Importing the qpp-submissions-schema module

The module can be used with the following pattern:

var qppSubmissionsSchema = require('qpp-submissions-schema');
var jsonSchema = qppSubmissionsSchema.getJsonSchema();
var xmlSchema = qppMeasuresData.getXmlSchema();

How to contribute to qpp-submissions-schema

Setup

Run:

npm install

Testing

When making changes to qpp-submissions-schema, include tests in the tests directory and make sure existing tests still pass using:

npm run test