summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/jira_connect/pull_request.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/jira_connect/pull_request.json')
-rw-r--r--spec/fixtures/api/schemas/jira_connect/pull_request.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/jira_connect/pull_request.json b/spec/fixtures/api/schemas/jira_connect/pull_request.json
new file mode 100644
index 00000000000..56ce6faf498
--- /dev/null
+++ b/spec/fixtures/api/schemas/jira_connect/pull_request.json
@@ -0,0 +1,26 @@
+{
+ "type": "object",
+ "properties": {
+ "id": { "type": "string" },
+ "issueKeys": { "type": "array" },
+ "displayId": { "type": "string" },
+ "title": { "type": "string" },
+ "author": {
+ "$ref": "./author.json"
+ },
+ "commentCount": { "type": "integer" },
+ "sourceBranch": { "type": "string" },
+ "destinationBranch": { "type": "string" },
+ "lastUpdate": { "type": "timestamp" },
+ "status": { "type": "string" },
+ "sourceBranchUrl": { "type": "uri" },
+ "url": { "type": "uri" },
+ "updateSequenceId": { "type": "integer" }
+ },
+ "required": [
+ "id", "issueKeys", "displayId", "title", "author", "commentCount",
+ "sourceBranch", "destinationBranch", "lastUpdate", "status",
+ "sourceBranchUrl", "url", "updateSequenceId"
+ ],
+ "additionalProperties": false
+}