Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@saasquatch/json-schema-editor-visual

Package Overview
Dependencies
Maintainers
11
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saasquatch/json-schema-editor-visual

A visual json schema editor

npmnpm
Version
1.0.3-4
Version published
Weekly downloads
35
-14.63%
Maintainers
11
Weekly downloads
 
Created
Source

SaaSquatch Json Schema Editor

Installing via NPM

npm install @saasquatch/json-schema-editor-visual

Getting Started

import "antd/dist/antd.css";
import "@saasquatch/json-schema-editor-visual/dist/index.css";
import createEditor from "@saasquatch/json-schema-editor-visual";

const SchemaEditor = createEditor();

const SchemaEditorView = () => {
  return (
    <>
      <SchemaEditor />
    </>
  );
};

The schema editor is designed to be compatible with JSON Schema version draft-06. Visit the JSON Schema Website to learn more.

Schema Editor Props

nametypedefaultdescription
datastringnullthe data of editor
onChangefunctionnullthe function triggered when changes to the editor's data occur

Acknowledgements

Forked from YMFE.

FAQs

Package last updated on 28 Aug 2024

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