init the project
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"required": ["meta", "features"],
|
||||
"properties": {
|
||||
"meta": {
|
||||
"type": "object",
|
||||
"required": ["prd_title", "extraction_date", "skill_used"],
|
||||
"properties": {
|
||||
"prd_title": { "type": "string", "description": "PRD 标题" },
|
||||
"extraction_date": { "type": "string", "description": "提取日期" },
|
||||
"skill_used": { "type": "string", "description": "使用的 Skill 名称" }
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["module", "feature_name", "description", "priority"],
|
||||
"properties": {
|
||||
"module": { "type": "string", "description": "所属模块" },
|
||||
"feature_name": { "type": "string", "description": "功能名称" },
|
||||
"description": { "type": "string", "description": "功能描述" },
|
||||
"inputs": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"description": "输入参数列表"
|
||||
},
|
||||
"outputs": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"description": "预期输出列表"
|
||||
},
|
||||
"preconditions": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"description": "前置条件"
|
||||
},
|
||||
"constraints": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"description": "约束条件"
|
||||
},
|
||||
"priority": {
|
||||
"type": "string",
|
||||
"enum": ["P0", "P1", "P2"],
|
||||
"description": "功能优先级"
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"items": { "type": "string" },
|
||||
"description": "依赖的其他功能名称"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user