summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/release/release_for_guest.json
blob: 465e1193a643e04eb86cb3dbfaff0d5968c84ad2 (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
{
  "type": "object",
  "required": ["name", "released_at"],
  "properties": {
    "name": { "type": "string" },
    "description": { "type": "string" },
    "description_html": { "type": "string" },
    "created_at":  { "type": "string", "format": "date-time" },
    "released_at": { "type": "string", "format": "date-time" },
    "upcoming_release": { "type": "boolean" },
    "milestones": {
      "type": "array",
      "items": { "$ref": "../milestone_with_stats.json" }
    },
    "commit_path": { "type": "string" },
    "tag_path": { "type": "string" },
    "author": {
      "oneOf": [{ "type": "null" }, { "$ref": "../user/basic.json" }]
    },
    "assets": {
      "required": ["count", "links"],
      "properties": {
        "count": { "type": "integer" },
        "links": { "$ref": "../../../release/links.json" }
      },
      "additionalProperties": false
    },
    "_links": {
      "properties": {}
    }
  },
  "additionalProperties": false
}