Files
code-crispies/.wave/contracts/gh-pr-comment-result.schema.json

30 lines
795 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GitHub PR Comment Result",
"description": "Result of posting a code review comment on a GitHub pull request",
"type": "object",
"required": ["comment_url", "pr_number"],
"properties": {
"comment_url": {
"type": "string",
"format": "uri",
"description": "URL to the posted review comment"
},
"pr_number": {
"type": "integer",
"minimum": 1,
"description": "PR number that was reviewed"
},
"repository": {
"type": "string",
"pattern": "^[^/]+/[^/]+$",
"description": "Repository full name (owner/repo)"
},
"summary": {
"type": "string",
"description": "Brief summary of the review"
}
},
"additionalProperties": true
}