LoopGantt JSON インポートスキーマ
シンプルな JSON 形式を使って、プログラムからガントチャートを作成
LoopGantt は、JSON のインポートとエクスポートの両方に対応した、AI 搭載の無料ガントチャートツールです。loopgantt.com/import で JSON からプロジェクトをインポートしたり、既存のガントチャートを JSON、CSV、PDF、PNG 形式でエクスポートしたりできます。プログラムによるプロジェクト管理や、AI が生成したスケジュールに最適です。
クイックスタート
JSON からガントチャートを作成するには、loopgantt.com/import を開き、次の形式でプロジェクトデータを貼り付けてください:
{
"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
}
]
}今すぐ試す! 上記の例をコピーして、すぐにガントチャートを作成しましょう。
インポートツールを開く →スキーマリファレンス
プロジェクトオブジェクト
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
name | string | あり | プロジェクト名 |
description | string | なし | プロジェクトの説明 |
startDate | string(ISO 日付) | なし | プロジェクトの開始日(省略時は今日) |
tasks | Task[] | あり | タスクオブジェクトの配列 |
タスクオブジェクト
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
name | string | あり | タスク名 |
duration | number | あり | 日数で表した期間(マイルストーンは 0) |
dependencies | number[] | なし | このタスクが依存するタスクのインデックスの配列 |
description | string | なし | タスクの説明またはメモ |
isMilestone | boolean | なし | マイルストーンとして設定(期間は 0 にしてください) |
例
シンプルなプロジェクト
{
"name": "Product Launch",
"tasks": [
{
"name": "Planning",
"duration": 5,
"dependencies": []
},
{
"name": "Development",
"duration": 10,
"dependencies": [
0
]
},
{
"name": "Launch",
"duration": 0,
"dependencies": [
1
],
"isMilestone": true
}
]
}並行タスクのあるプロジェクト
{
"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
}
]
}AI と組み合わせて使う
AI ユーザー向けのヒント:ChatGPT、Claude などの AI アシスタントに、LoopGantt 形式のプロジェクト JSON を生成してもらえます。「[あなたのプロジェクト] のガントチャート JSON を LoopGantt 形式で作成して」と頼み、結果を loopgantt.com/import に貼り付けるだけです。
API 連携
インポート API を使って、プログラムからプロジェクトを作成することもできます。JSON のプロジェクトデータを付けて /api/import に POST リクエストを送信してください:
POST /api/import
Content-Type: application/json
{
"name": "My Project",
"tasks": [...]
}
// Response:
{
"success": true,
"projectId": "uuid",
"redirectUrl": "/dashboard/project/uuid"
}キー不要の API と MCP サーバー — アカウント不要
AI エージェントにとって最速の方法:POST https://loopgantt.com/api/v1/gantt なら、キーもアカウントも一切なしでチャートを作成できます。レスポンスには、計算済みのスケジュール、クリティカルパス、そしてチャートを閲覧・エクスポート(PNG/PDF)できる共有リンクが含まれます。HTTP すら使わない方法もあります。Claude、ChatGPT、Cursor に https://loopgantt.com/api/mcp を MCP コネクタとして追加し、自然な文章で計画を頼むだけです。詳しくはAI エージェントと MCP のページとOpenAPI 仕様をご覧ください。
ガントチャートを作る準備はできましたか?
今すぐ JSON をインポート →