
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
fluid-json-schema
Advanced tools
JSON Schemas are JSON documents that describe how a JSON object should be structured. The JSON Schema standard includes rules about what fields are required, what type and format of data is allowed in a field, and many other complex rules that allow you to do things like limit the length of a text field, or require between one and three entries in an array.
This package provides a series of Fluid components and static functions that are intended to help with two general use cases:
Although you can reuse the above in various additional ways, this package provides components and functions to assist with the following specific use cases:
You can run the tests on a local machine using commands like the following from the root of the repository:
npm install
npm test
By default, the browser tests are run against instrumented code so that we can prepare a code coverage report at the end
of each test run. If you need to troubleshoot a problem with the browser tests, you can also run the tests against the
raw source code by hosting the content in a standalone web server and then opening the tests in a browser. For example,
if you have python installed, you can use the command python -m SimpleHTTPServer from the root of the repository, and
then open
http://localhost:8000/tests/browser-fixtures/all-tests.html
in a browser.
This package depends on AJV. AJV can be used on the client-side, but must first
be bundled using browserify. The AJV package takes care of this automatically when it's installed, the required
client-side bundle can be found in ./node_modules/ajv/dist/ajv.bundle.js once you've installed this package's
dependencies. The remaining client-side dependencies depend on which parts of this package you're using. See the HTML
browser test fixtures in ./tests/static/ for examples.
FAQs
Support validation of JSON within the Fluid ecosystem.
We found that fluid-json-schema demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.