Skip to content

Latest commit

 

History

History
115 lines (80 loc) · 2.69 KB

README.md

File metadata and controls

115 lines (80 loc) · 2.69 KB

JSON to JSON Schema Converter

A simple, web-based tool for converting JSON objects into their corresponding JSON Schema definitions. Built to save time and reduce effort when working with JSON data validation. Also, it supports the validation of JSON Schema against JSON objects.

image image

Live Demo


✨ Features

  • Instant Conversion: Input JSON data and instantly get the corresponding JSON Schema.
  • Copy-Paste Simplicity: Quickly copy the generated schema for your projects.
  • Minimalistic Design: Clean and distraction-free interface to focus on what matters.
  • No Install Required: Completely browser-based and lightweight.
  • Local Storage: Your data is stored directly in your browser using local storage and is not shared externally.

📦 Tech Stack

  • Framework: React, Nextjs
  • Styling: TailwindCSS, Shadcn
  • Deployment: Vercel

🚀 How to Run Locally

Prerequisites

  • Node.js (v14 or newer)
  • npm or Yarn

Steps

  1. Clone the repository:

    git clone https://github.com/isamrish/json-to-json-schema.git
    cd json-to-json-schema
  2. Install dependencies:

    npm install

    Or, if using Yarn:

    yarn install
  3. Start the development server:

    npm start

    Or, with Yarn:

    yarn start
  4. Open the app in your browser at http://localhost:3000.

Production Build

Generate a production build using:

npm run build

Or, with Yarn:

yarn build

The optimized build will be created in the build/ directory.


🌍 Live Demo

Check out the live version of the tool here: https://json-to-json-schema.vercel.app/


🤝 Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork this repository.
  2. Create a new feature branch:
    git checkout -b feature-name
  3. Make changes and commit:
    git commit -m "Description of changes"
  4. Push the branch:
    git push origin feature-name
  5. Submit a pull request for review.

Suggestions or Issues

Have an idea or found a bug? Please open an issue to let us know.


📜 License

This project is licensed under the MIT License.