環境設定ファイルを追加し、make-json.shにエラーハンドリングとJSONスキーマのバリデーションを追加。新しいスクリプトpromote-manifest.shを作成し、マニフェスト生成のプロセスを強化。README.mdを更新し、プロンプト生成の構造を明確化。シーンとスタイルの登録ルールを整理し、スキーマファイルを追加。

This commit is contained in:
president
2025-12-20 20:37:27 +09:00
parent 5636d56609
commit aaa4f7de56
12 changed files with 685 additions and 217 deletions

41
schema/prompt.schema.json Normal file
View File

@@ -0,0 +1,41 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["meta", "prompt_text"],
"additionalProperties": false,
"properties": {
"meta": {
"type": "object",
"required": [
"world_id",
"world_version",
"style_id",
"scene_id",
"task_type"
],
"additionalProperties": false,
"properties": {
"world_id": { "type": "string" },
"world_version": {
"type": "string",
"pattern": "^[0-9]+\\.[0-9]+$"
},
"style_id": { "type": "string" },
"scene_id": { "type": "string" },
"task_type": {
"type": "string",
"enum": [
"character_full_body",
"scene_composition",
"item_design",
"prop_design"
]
}
}
},
"prompt_text": {
"type": "string",
"minLength": 20
}
}
}