# org.tangled.repo.manifest

> Git repository manifest record. This record is used for git repository discovery like how `org.tangled.actor.profile` is used to find users.

- Kind: record
- Record key: literal:self
- Authority: repo.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.repo.manifest)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.repo.manifest/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.repo.manifest/analytics)

## Record (`org.tangled.repo.manifest`)

Type: record · key literal:self

### Properties

- `contributionPolicy` (string): Who may open tickets and patches on this repo. anyone = any DID, members = the knot's member roll, collaborators = the owner plus repo collaborators. Absent means the knot-wide default.
  - Constraints: knownValues: anyone | members | collaborators
- `createdAt` (string · datetime, required)
- `declaration` (ref, required)
  - Reference: `#declaration`
- `description` (string)
  - Constraints: minGraphemes: 1, maxGraphemes: 140
- `source` (union): source of the repo
  - One of: `org.tangled.repo.defs#sourceTangled`, `org.tangled.repo.defs#sourceExternal`
- `spindle` (string · did)
- `topics` (array): Topics related to the repo
  - Constraints: maxLength: 50
  - `items` (string)
    - Constraints: maxLength: 50
- `website` (string · uri): Any URI related to the repo

## #declaration (`org.tangled.repo.manifest#declaration`)

Type: object

### Properties

- `name` (string · record-key, required): repository name; the slug (rkey of org.tangled.repo.declaration) is lowercase(name)
- `owner` (string · did, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "declaration": {
      "properties": {
        "name": {
          "description": "repository name; the slug (rkey of org.tangled.repo.declaration) is lowercase(name)",
          "format": "record-key",
          "type": "string"
        },
        "owner": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "owner",
        "name"
      ],
      "type": "object"
    },
    "main": {
      "description": "Git repository manifest record. This record is used for git repository discovery like how `org.tangled.actor.profile` is used to find users.",
      "key": "literal:self",
      "record": {
        "properties": {
          "contributionPolicy": {
            "description": "Who may open tickets and patches on this repo. anyone = any DID, members = the knot's member roll, collaborators = the owner plus repo collaborators. Absent means the knot-wide default.",
            "knownValues": [
              "anyone",
              "members",
              "collaborators"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "declaration": {
            "ref": "#declaration",
            "type": "ref"
          },
          "description": {
            "maxGraphemes": 140,
            "minGraphemes": 1,
            "type": "string"
          },
          "source": {
            "description": "source of the repo",
            "refs": [
              "org.tangled.repo.defs#sourceTangled",
              "org.tangled.repo.defs#sourceExternal"
            ],
            "type": "union"
          },
          "spindle": {
            "format": "did",
            "type": "string"
          },
          "topics": {
            "description": "Topics related to the repo",
            "items": {
              "maxLength": 50,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "website": {
            "description": "Any URI related to the repo",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "declaration",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.tangled.repo.manifest",
  "lexicon": 1
}
```
