Files
code-crispies/.wave/contracts/diff-analysis.schema.json
Michael Czechowski ab6dabd542
Some checks failed
CI / ci (push) Has been cancelled
Deploy / deploy (push) Has been cancelled
fix(ci): correct image digest separator
2026-04-30 12:20:26 +02:00

42 lines
1.3 KiB
JSON

{
"$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" }
}
}
}