{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "required": ["pr_metadata", "files_changed", "modules_affected", "related_tests", "breaking_changes"], "properties": { "pr_metadata": { "type": "object", "required": ["number", "url", "head_branch", "base_branch"], "properties": { "number": { "type": "integer", "description": "PR number" }, "url": { "type": "string", "description": "Full PR URL" }, "head_branch": { "type": "string", "description": "Source branch name" }, "base_branch": { "type": "string", "description": "Target branch name" } } }, "files_changed": { "type": "array", "items": { "type": "object", "required": ["path", "change_type", "purpose"], "properties": { "path": { "type": "string" }, "change_type": { "type": "string", "enum": ["added", "modified", "deleted"] }, "purpose": { "type": "string" } } } }, "modules_affected": { "type": "array", "items": { "type": "string" } }, "related_tests": { "type": "array", "items": { "type": "string" } }, "breaking_changes": { "type": "array", "items": { "type": "string" } } } }