New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

maas-schemas

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maas-schemas

Schemas for MaaS infrastructure

  • 3.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42
decreased by-40.85%
Maintainers
1
Weekly downloads
 
Created
Source

MaaS-schemas submodule

Build Status

This repository contains the JSON schemas used by MaaS.

Features

  • Newest JSON schemas spec + AJV
  • Out of the box validator

JavaScript API

/**
 *  Validate an object by first resolving the corresponding schema by schemaId
 *  NOTE: It is recommended to use schema $id instead of raw schema object
 *
 *  @param {Object/String} schema/schema.$id - schema from the schemas folder. If given as a whole, will extract $id from the schema. None existed schema will be re-validate. If given only $id, will use that to reference to schema
 *  @param {Object} object - input testing subject
 *  @return {Object} resolve w/validated object
 *  @throws {ValidationError}
 */
function validate(schema, object, options)

Keywords

FAQs

Package last updated on 30 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc