{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IssueLink",
  "title": "IssueLink",
  "additionalProperties": false,
  "description": "Details of a link between issues.",
  "properties": {
    "id": {
      "description": "The ID of the issue link.",
      "readOnly": true,
      "type": "string"
    },
    "inwardIssue": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LinkedIssue"
        }
      ],
      "description": "Provides details about the linked issue. If presenting this link in a user interface, use the `inward` field of the issue link type to label the link."
    },
    "outwardIssue": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LinkedIssue"
        }
      ],
      "description": "Provides details about the linked issue. If presenting this link in a user interface, use the `outward` field of the issue link type to label the link."
    },
    "self": {
      "description": "The URL of the issue link.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IssueLinkType"
        }
      ],
      "description": "The type of link between the issues."
    }
  },
  "required": [
    "inwardIssue",
    "outwardIssue",
    "type"
  ],
  "type": "object",
  "xml": {
    "name": "issueLinks"
  }
}