A dynamic JSON Schema Builder built with Next.js, React, and ShadCN UI. Create complex JSON schemas with nested structures, multiple field types, and real-time preview.
- Dynamic Field Management: Add, edit, and delete fields on the fly
- Multiple Field Types: Support for Text, Number, Boolean, Email, URL, Date, Array, and Object
- Nested Structures: Create complex nested objects with unlimited depth
- Real-time Preview: Live JSON output with copy functionality
- Node.js 18+
- npm or yarn
-
Clone the repository: ```bash git clone https://github.com/aryam643/json-schema-builder.git cd json-schema-builder ```
-
Install dependencies: ```bash npm install --legacy-peer-deps ```
-
Run the development server: ```bash npm run dev ```
-
Open http://localhost:3000 in your browser.
- Add Fields: Click "Add Field" to create new schema fields
- Edit Field Names: Click on any field name to edit it
- Choose Field Types: Select from 8 different field types
- Create Nested Objects: Use "Object" type and click "Add" to create nested fields
- Toggle Required: Click the Required/Optional badge to toggle field requirements
- Copy JSON: Use the copy button to copy the generated JSON schema
- Push your code to GitHub
- Connect your GitHub repository to Vercel
- Deploy with one click
```bash npm run build npm start ```
- Next.js - React framework
- React - UI library
- ShadCN UI - UI components
- Tailwind CSS - Styling
- Lucide React - Icons
This project is licensed under the MIT License.