Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 704 Bytes

File metadata and controls

31 lines (22 loc) · 704 Bytes

alastria-identity-JSON-objects

Alastria ID Model specification JSON objects verification

In order to test the models of any vendor, follow these steps

Install libraries

$ npm install

Adding a Vendor

  1. Add a folder with the keyname of the vendor inside the vendors folder.

  2. Inside that folder, add your index.js file, following the same structure as it is on Alastria's one index.js.

  3. Update the vendors adding your own require and including it in the array.

const yourvariable = require('./yourkeyname');

const vendor_map = {
  alastria,
  yourvariable
};
  1. Run the tests
$ npm test