# tech.lenooby09.didgit.ref

> Published by [lenooby09.tech](https://lexicon.garden/identity/did:plc:xocoka6dmx74ciqskczoh6ci)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xocoka6dmx74ciqskczoh6ci/tech.lenooby09.didgit.ref)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xocoka6dmx74ciqskczoh6ci/tech.lenooby09.didgit.ref/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xocoka6dmx74ciqskczoh6ci/tech.lenooby09.didgit.ref/examples)

## Definitions

### `tech.lenooby09.didgit.ref`

**Type**: `record`

A did-git ref stored in an AT Protocol repository. Each record maps a repository name and ref name (e.g. refs/heads/main) to the hex SHA-256 object ID it points to.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `repo` | `string` | Yes | The repository name (path) on this DID account. |
| `refName` | `string` | Yes | The full ref name, e.g. refs/heads/main. |
| `objectId` | `string` | Yes | The hex SHA-256 object ID this ref points to. |

## Raw Schema

```json
{
  "id": "tech.lenooby09.didgit.ref",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "repo",
          "refName",
          "objectId"
        ],
        "properties": {
          "repo": {
            "type": "string",
            "maxLength": 512,
            "description": "The repository name (path) on this DID account."
          },
          "refName": {
            "type": "string",
            "maxLength": 512,
            "description": "The full ref name, e.g. refs/heads/main."
          },
          "objectId": {
            "type": "string",
            "maxLength": 64,
            "description": "The hex SHA-256 object ID this ref points to."
          }
        }
      },
      "description": "A did-git ref stored in an AT Protocol repository. Each record maps a repository name and ref name (e.g. refs/heads/main) to the hex SHA-256 object ID it points to."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
