# app.blots.work.ref

> A reference to another work, and the ways in which that work is referenced by this one.

- Kind: object
- Authority: work.blots.app
- Lexicon: 1
- Published by [lexicons.blots.app](https://lexicon.garden/identity/did:plc:uhkdxgy6obtjmpow35nfqaoy), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uhkdxgy6obtjmpow35nfqaoy/app.blots.work.ref)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uhkdxgy6obtjmpow35nfqaoy/app.blots.work.ref/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uhkdxgy6obtjmpow35nfqaoy/app.blots.work.ref/analytics)

## Object (`app.blots.work.ref`)

Type: object

### Properties

- `shapes` (array)
  - Constraints: maxLength: 50
  - `items` (ref)
    - Reference: `#shapeRef`
- `work` (ref, required): A reference to the source work.
  - Reference: `com.atproto.repo.strongRef`

## #shapeRef (`app.blots.work.ref#shapeRef`)

Type: object

A reference to a shape in another work.

### Properties

- `dest` (integer, required): The index of the "destination" shape (in this work) that references the source shape.
  - Constraints: minimum: 0, maximum: 49
- `src` (integer, required): The index of the "source" shape that is being referenced. The source shape must not reference any shape.
  - Constraints: minimum: 0, maximum: 49

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A reference to another work, and the ways in which that work is referenced by this one.",
      "properties": {
        "shapes": {
          "items": {
            "ref": "#shapeRef",
            "type": "ref"
          },
          "maxLength": 50,
          "type": "array"
        },
        "work": {
          "description": "A reference to the source work.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "work"
      ],
      "type": "object"
    },
    "shapeRef": {
      "description": "A reference to a shape in another work.",
      "properties": {
        "dest": {
          "description": "The index of the \"destination\" shape (in this work) that references the source shape.",
          "maximum": 49,
          "minimum": 0,
          "type": "integer"
        },
        "src": {
          "description": "The index of the \"source\" shape that is being referenced. The source shape must not reference any shape.",
          "maximum": 49,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "src",
        "dest"
      ],
      "type": "object"
    }
  },
  "id": "app.blots.work.ref",
  "lexicon": 1
}
```
