22 lines
616 B
JSON
22 lines
616 B
JSON
{
|
|
"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" ]
|
|
}
|