LoopGantt JSON Import Schema
Create Gantt charts programmatically using our simple JSON format
LoopGantt is a free, AI-powered Gantt chart tool that supports both JSON import and export. Import projects from JSON at loopgantt.com/import, or export your existing Gantt charts to JSON, CSV, PDF, or PNG formats. Perfect for programmatic project management and AI-generated schedules.
Quick Start
To create a Gantt chart from JSON, visit loopgantt.com/import and paste your project data in the following format:
{
"name": "Website Redesign",
"description": "Complete website redesign project with modern UI",
"tasks": [
{
"name": "Requirements Gathering",
"duration": 3,
"dependencies": []
},
{
"name": "Wireframe Design",
"duration": 5,
"dependencies": [
0
]
},
{
"name": "Visual Design",
"duration": 7,
"dependencies": [
1
]
},
{
"name": "Frontend Development",
"duration": 10,
"dependencies": [
2
]
},
{
"name": "Backend Integration",
"duration": 8,
"dependencies": [
3
]
},
{
"name": "Testing & QA",
"duration": 5,
"dependencies": [
3,
4
]
},
{
"name": "Launch",
"duration": 0,
"dependencies": [
5
],
"isMilestone": true
}
]
}Try it now! Copy the example above and create your Gantt chart instantly.
Open Import Tool →Schema Reference
Project Object
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Project name |
description | string | No | Project description |
startDate | string (ISO date) | No | Project start date (defaults to today) |
tasks | Task[] | Yes | Array of task objects |
Task Object
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Task name |
duration | number | Yes | Duration in days (use 0 for milestones) |
dependencies | number[] | No | Array of task indices this task depends on |
description | string | No | Task description or notes |
isMilestone | boolean | No | Mark as milestone (duration should be 0) |
Examples
Simple Project
{
"name": "Product Launch",
"tasks": [
{
"name": "Planning",
"duration": 5,
"dependencies": []
},
{
"name": "Development",
"duration": 10,
"dependencies": [
0
]
},
{
"name": "Launch",
"duration": 0,
"dependencies": [
1
],
"isMilestone": true
}
]
}Project with Parallel Tasks
{
"name": "Marketing Campaign",
"tasks": [
{
"name": "Strategy",
"duration": 3,
"dependencies": []
},
{
"name": "Content Creation",
"duration": 7,
"dependencies": [
0
]
},
{
"name": "Design Assets",
"duration": 5,
"dependencies": [
0
]
},
{
"name": "Review",
"duration": 2,
"dependencies": [
1,
2
]
},
{
"name": "Go Live",
"duration": 0,
"dependencies": [
3
],
"isMilestone": true
}
]
}Using with AI
Tip for AI users: You can ask ChatGPT, Claude, or other AI assistants to generate project JSON in LoopGantt format. Simply say: “Create a Gantt chart JSON for [your project] using LoopGantt format” and paste the result at loopgantt.com/import.
API Integration
You can also create projects programmatically via our import API. Send a POST request to /api/import with your JSON project data:
POST /api/import
Content-Type: application/json
{
"name": "My Project",
"tasks": [...]
}
// Response:
{
"success": true,
"projectId": "uuid",
"redirectUrl": "/dashboard/project/uuid"
}Ready to create your Gantt chart?
Import JSON Now →