summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/tag.json
blob: bb0190955f07f9ff82f45014d4f01d1e2ae4c095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "type": "object",
  "required" : [
    "name",
    "message",
    "commit",
    "release"
  ],
  "properties" : {
    "name": { "type": "string" },
    "message": { "type": ["string", "null"] },
    "commit": { "$ref": "commit/basic.json" },
    "target": { "type": "string" },
    "release": {
      "oneOf": [
        { "type": "null" },
        { "$ref": "release/tag_release.json" }
      ]
    },
    "protected": { "type": "boolean" }
  },
  "additionalProperties": false
}