summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/commit/basic.json
blob: 9d99628a286f6345ed23719a771e5a0a0409e7ed (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
35
36
37
{
  "type": "object",
  "required" : [
    "id",
    "short_id",
    "title",
    "created_at",
    "parent_ids",
    "message",
    "author_name",
    "author_email",
    "authored_date",
    "committer_name",
    "committer_email",
    "committed_date"
  ],
  "properties" : {
    "id": { "type": ["string", "null"] },
    "short_id": { "type": ["string", "null"] },
    "title": { "type": "string" },
    "created_at": { "type": "date" },
    "parent_ids": {
      "type": ["array", "null"],
      "items": {
        "type": "string",
        "additionalProperties": false
      }
    },
    "message": { "type": "string" },
    "author_name": { "type": "string" },
    "author_email": { "type": "string" },
    "authored_date": { "type": "date" },
    "committer_name": { "type": "string" },
    "committer_email": { "type": "string" },
    "committed_date": { "type": "date" }
  }
}