Skip to content

Trendyol/schema-craft

Repository files navigation

🛠️ SchemaCraft

SchemaCraft is a tool that allows you to convert a given JSON payload into a JSON schema based on the 2019-09 JSON Schema specification.

Demo.mp4

📑 Table of Contents

💡 Motivation

JSON Schema offers a standardized way to define structures, but creating schemas manually can be tedious and error-prone. SchemaCraft was built to solve this problem, providing a quick and reliable way to generate JSON schemas from any JSON payload. It's a tool designed to save time and ensure accuracy, making it easier for developers to work with structured data efficiently through a user friendly UI.

✨ Features

  • 🚀 Convert any JSON payload to a valid JSON schema with a fancy way.
  • 📜 Supports the 2019-09 JSON Schema draft specification.
  • 💻 Easy-to-use interface.

💻 Demo

You can try it out with a live demo on https://schema-craft.vercel.app

🧰 Run Locally

Prerequisites

Steps

  1. Clone the repository

  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev
  4. Open http://localhost:3000 in your browser to see the application.

🤝 Contributing

Contributions are welcome! Please do not forget to check CODE_OF_CONDUCT follow these steps:

  1. 🍴 Fork the repository.
  2. 🛠️ Create a new branch (git checkout -b feature-branch).
  3. ✏️ Make your changes.
  4. 💾 Commit your changes (git commit -m 'Add some feature').
  5. 🔄 Push to the branch (git push origin feature-branch).
  6. 📥 Open a Pull Request.

Please ensure your code follows the project's coding guidelines and passes all tests before submitting.

📜 License

This project is licensed under the MIT License.