summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/pipeline/detail.json
blob: 63e130d4055a3fa98e35b2e31fc29c2df8ef4f49 (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
{
  "type": "object",
  "allOf": [
    { "$ref": "basic.json" },
    {
      "properties": {
        "before_sha": { "type": ["string", "null"] },
        "tag": { "type": ["boolean"] },
        "yaml_errors": { "type": ["string", "null"] },
        "user": {
          "anyOf": [
            { "type": ["object", "null"] },
            { "$ref": "../user/basic.json" }
          ]
        },
        "created_at": { "type": ["date", "null"] },
        "updated_at": { "type": ["date", "null"] },
        "started_at": { "type": ["date", "null"] },
        "finished_at": { "type": ["date", "null"] },
        "committed_at": { "type": ["date", "null"] },
        "duration": { "type": ["number", "null"] },
        "coverage": { "type": ["string", "null"] },
        "detailed_status": {
          "oneOf": [
            { "type": "null" },
            { "$ref": "../../../status/ci_detailed_status.json" }
          ]
        }
      }
    }
  ]
}