# dev.gitosphere.repository.issueRelation

> Published by [gitosphere-lex.bsky.social](https://lexicon.garden/identity/did:plc:iz47txlteeb2ojtp5ygiqet6)

✓ This is the authoritative definition for this NSID.

## Description

An append-only mutation of the Issue relation graph.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueRelation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueRelation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository.issueRelation/examples)

## Definitions

### `dev.gitosphere.repository.issueRelation#addBlocks`

**Type**: `token`

Make source block target.

Make source block target.

### `dev.gitosphere.repository.issueRelation#addRelated`

**Type**: `token`

Add a symmetric related relation.

Add a symmetric related relation.

### `dev.gitosphere.repository.issueRelation`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `acceptedAt` | `string` (datetime) | Yes |  |
| `acceptedBy` | `string` (did) | Yes |  |
| `actor` | `string` (did) | Yes |  |
| `baseRevision` | `string` | Yes |  |
| `intentDigest` | `string` | Yes |  |
| `keyId` | `string` | Yes |  |
| `operation` | `string` | Yes |  |
| `receipt` | `string` | Yes |  |
| `repositoryId` | `string` | Yes |  |
| `sequence` | `integer` | Yes |  |
| `source` | `string` (at-uri) | Yes |  |
| `target` | `string` (at-uri) | Yes |  |

### `dev.gitosphere.repository.issueRelation#removeBlocks`

**Type**: `token`

Remove the source-to-target blocking relation.

Remove the source-to-target blocking relation.

### `dev.gitosphere.repository.issueRelation#removeParent`

**Type**: `token`

Remove target as the source Issue parent.

Remove target as the source Issue parent.

### `dev.gitosphere.repository.issueRelation#removeRelated`

**Type**: `token`

Remove a symmetric related relation.

Remove a symmetric related relation.

### `dev.gitosphere.repository.issueRelation#setParent`

**Type**: `token`

Atomically replace the source Issue parent with target.

Atomically replace the source Issue parent with target.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "addBlocks": {
      "description": "Make source block target.",
      "type": "token"
    },
    "addRelated": {
      "description": "Add a symmetric related relation.",
      "type": "token"
    },
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "acceptedAt": {
            "format": "datetime",
            "type": "string"
          },
          "acceptedBy": {
            "format": "did",
            "type": "string"
          },
          "actor": {
            "format": "did",
            "type": "string"
          },
          "baseRevision": {
            "maxLength": 64,
            "minLength": 64,
            "type": "string"
          },
          "intentDigest": {
            "maxLength": 64,
            "minLength": 64,
            "type": "string"
          },
          "keyId": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "operation": {
            "knownValues": [
              "dev.gitosphere.repository.issueRelation#setParent",
              "dev.gitosphere.repository.issueRelation#removeParent",
              "dev.gitosphere.repository.issueRelation#addRelated",
              "dev.gitosphere.repository.issueRelation#removeRelated",
              "dev.gitosphere.repository.issueRelation#addBlocks",
              "dev.gitosphere.repository.issueRelation#removeBlocks"
            ],
            "type": "string"
          },
          "receipt": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "repositoryId": {
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "sequence": {
            "minimum": 1,
            "type": "integer"
          },
          "source": {
            "format": "at-uri",
            "type": "string"
          },
          "target": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "repositoryId",
          "source",
          "target",
          "operation",
          "baseRevision",
          "intentDigest",
          "sequence",
          "actor",
          "acceptedAt",
          "acceptedBy",
          "keyId",
          "receipt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "removeBlocks": {
      "description": "Remove the source-to-target blocking relation.",
      "type": "token"
    },
    "removeParent": {
      "description": "Remove target as the source Issue parent.",
      "type": "token"
    },
    "removeRelated": {
      "description": "Remove a symmetric related relation.",
      "type": "token"
    },
    "setParent": {
      "description": "Atomically replace the source Issue parent with target.",
      "type": "token"
    }
  },
  "description": "An append-only mutation of the Issue relation graph.",
  "id": "dev.gitosphere.repository.issueRelation",
  "lexicon": 1
}
```
