adhara-schemas

0.0.10 • Public • Published

adhara-schemas

Define schemas and data structures that can be shared across Adhara components.

Schemas are defined using Joi and can be used to validate javascript objects against. It provides methods to easily validate common data types, such as e-mail addresses and phone numbers, or more complex data structures like REST API request and response data.

Schemas are indexed by their path, with general data structures being placed at the root.

Getting started

Prerequisites

Node.js needs to be installed.

Installing

  1. git clone git@github.com:AdharaProjects/adhara-schemas.git
  2. cd adhara-schemas
  3. npm install

Testing

  1. npm test

Readme

Keywords

none

Package Sidebar

Install

npm i adhara-schemas

Weekly Downloads

10

Version

0.0.10

License

none

Unpacked Size

84.8 kB

Total Files

23

Last publish

Collaborators

  • adharamachine
  • agmanchon
  • coenie
  • jasoons
  • marcdk
  • marelize
  • mariocorral
  • michelecullinan
  • mrwcjoughin
  • natiboston
  • petermunnings
  • rynobey