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