summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/issue_link.json
blob: 33184be07c39971ce10128148d9a6c8bbad2d0f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "type": "object",
  "properties" : {
     "source_issue": {
       "allOf": [
          { "$ref": "../../../../../../spec/fixtures/api/schemas/public_api/v4/issue.json" }
        ]
     },
     "target_issue": {
       "allOf": [
          { "$ref": "../../../../../../spec/fixtures/api/schemas/public_api/v4/issue.json" }
        ]
     },
     "link_type": {
       "type": "string",
       "enum": ["relates_to", "blocks", "is_blocked_by"]
     },
     "link_created_at": { "type": "string" },
     "link_updated_at": { "type": "string" }
  },
  "required" : [ "source_issue", "target_issue", "link_type" ]
}