debian-mirror-gitlab/spec/fixtures/api/schemas/entities/github/pull_request.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

96 lines
1.7 KiB
JSON
Raw Permalink Normal View History

2020-11-24 15:15:51 +05:30
{
"type": "object",
"properties": {
"title": {
"type": "string"
},
"created_at": {
"type": "string"
},
"body": {
"type": [
"string",
"null"
]
},
"id": {
"type": "integer"
},
"number": {
"type": "integer"
},
"state": {
"type": "string"
},
"html_url": {
"type": "string"
},
"merged": {
"type": "boolean"
},
2021-06-08 01:23:25 +05:30
"merged_at": { "type": [ "string", "null" ], "format": "date-time" },
"closed_at": { "type": [ "string", "null" ], "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" },
2020-11-24 15:15:51 +05:30
"assignee": {
"$ref": "user.json"
},
"author": {
"$ref": "user.json"
},
"head": {
"type": "object",
"required": [
"label",
"ref",
"repo"
],
"properties": {
"label": {
"type": "string"
},
"ref": {
"type": "string"
},
"repo": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "repository.json"
}
]
}
},
"additionalProperties": false
},
"base": {
"type": "object",
"required": [
"label",
"ref",
"repo"
],
"properties": {
"label": {
"type": "string"
},
"ref": {
"type": "string"
},
"repo": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "repository.json"
}
]
}
},
"additionalProperties": false
},
"additionalProperties": false
}
}