# org.tangled.git.refs

> Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.git.refs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.git.refs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.git.refs/examples)

## Definitions

### `org.tangled.git.refs`

**Type**: `record`

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `defaultBranch` | `string` | Yes | Default branch name without refs/heads/ prefix. |
| `refs` | `bytes` | Yes | List of git refs in `git show-ref` format. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "defaultBranch": {
            "description": "Default branch name without refs/heads/ prefix.",
            "examples": [
              "main",
              "master"
            ],
            "maxLength": 244,
            "type": "string"
          },
          "refs": {
            "description": "List of git refs in `git show-ref` format.",
            "maxLength": 1000000,
            "type": "bytes"
          }
        },
        "required": [
          "defaultBranch",
          "refs"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.tangled.git.refs",
  "lexicon": 1
}
```
