# org.tangled.git.refs

- Kind: record
- Record key: literal:self
- Authority: git.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.git.refs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.git.refs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.git.refs/analytics)

## Record (`org.tangled.git.refs`)

Type: record · key literal:self

### Properties

- `defaultBranch` (string, required): Default branch name without refs/heads/ prefix.
  - Constraints: maxLength: 244
- `refs` (bytes, required): List of git refs in `git show-ref` format.
  - Constraints: maxLength: 1000000

## 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
}
```
