@apigames/json-schema

API Games JSON Schema Validation Library

Usage no npm install needed!

<script type="module">
  import apigamesJsonSchema from 'https://cdn.skypack.dev/@apigames/json-schema';
</script>

README

API Games JSON Schema Validation Library

Codacy Badge Codacy Badge

JSON Schema Validation Library for the API Games Platform and SDKs.


This package includes a set of capabilities that provide the ability to validate that a JSON object validates against a JSON Schema Definition.

List of features

  • Provides a validator class that can validate an object against a nested schema definition

  • Provides core schema definitions of common element types, including:

    • ISO8601 Date Times
    • Email Addresses
    • Geo Location Points
    • IP Addresses
    • MongoDB ObjectIDs
    • URLs
    • UUIDs

Download & Installation

$ npm i @apigames/json-schema

Authors or Acknowledgments

  • API Games Limited

License

This project is licensed under the MIT License