Socket
Socket
Sign inDemoInstall

adf-validator

Package Overview
Dependencies
188
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    adf-validator

ADF document validator


Version published
Maintainers
1
Install size
16.0 MB
Created

Readme

Source

ADF Validator

ADF document validator

Install

$ npm i -g adf-validator
$ # or
$ npm install --global adf-validator

Usage

  $ adfv <file.adf.json>

  Options
    --stage-0           Validate against the stage-0 ADF Schema  [Default: false]
    --version <x.y.z>   Specify version of @atlaskit/adf-schema  [Default: latest]
    --force             Ignore current cache and re-download the Schemas  [Default: false]
    --schema <schema>   Use a local schema for validation. Ignores all online validation flags

  Examples
    $ adfv sample-document-1.json
    $ adfv --stage-0 sample-document-2.json
    $ adfv --version 5.0.0 sample-document-3.json
    $ adfv --force --stage-0 sample-document-4.json
    $ adfv --schema local-schema.json sample-document-4.json

  Notes
    - By default it validates against the full ADF Schema.

Demo

ADF Validator

Keywords

FAQs

Last updated on 03 Jun 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc