79 lines
1.9 KiB
JSON
79 lines
1.9 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Epic Scope Verification Report",
|
|
"description": "Schema for verification of created sub-issues",
|
|
"type": "object",
|
|
"required": ["parent_issue", "verified_issues", "summary"],
|
|
"properties": {
|
|
"parent_issue": {
|
|
"type": "object",
|
|
"required": ["number", "url"],
|
|
"properties": {
|
|
"number": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
}
|
|
}
|
|
},
|
|
"verified_issues": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["number", "title", "exists"],
|
|
"properties": {
|
|
"number": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"format": "uri"
|
|
},
|
|
"exists": {
|
|
"type": "boolean"
|
|
},
|
|
"has_acceptance_criteria": {
|
|
"type": "boolean"
|
|
},
|
|
"references_parent": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"summary": {
|
|
"type": "object",
|
|
"required": ["total_verified", "total_valid", "total_issues_created"],
|
|
"properties": {
|
|
"total_verified": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"total_valid": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"total_issues_created": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"comment_posted": {
|
|
"type": "boolean",
|
|
"description": "Whether a summary comment was posted on the epic"
|
|
},
|
|
"comment_url": {
|
|
"type": "string",
|
|
"description": "URL of the summary comment if posted"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|