summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/entities/merge_request_basic.json
blob: cf257ac00de7f886b24f386447290d404fe7af79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "type": "object",
  "properties" : {
    "state": { "type": "string" },
    "merge_status": { "type": "string" },
    "source_branch_exists": { "type": "boolean" },
    "time_estimate": { "type": "integer" },
    "total_time_spent": { "type": "integer" },
    "human_time_estimate": { "type": ["string", "null"] },
    "human_total_time_spent": { "type": ["string", "null"] },
    "merge_error": { "type": ["string", "null"] },
    "rebase_in_progress": { "type": "boolean" },
    "assignee_id": { "type": ["integer", "null"] },
    "subscribed": { "type": ["boolean", "null"] },
    "participants": { "type": "array" },
    "allow_collaboration": { "type": "boolean"},
    "allow_maintainer_to_push": { "type": "boolean"},
    "assignee": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "user.json" }
      ]
    },
    "milestone": {
      "type": [ "object", "null" ]
    },
    "labels": {
      "type": [ "array", "null" ]
    },
    "task_status": { "type": "string" },
    "task_status_short": { "type": "string" }
  },
  "additionalProperties": false
}