# dev.gitosphere.repository

> Published by [gitosphere-lex.bsky.social](https://lexicon.garden/identity/did:plc:iz47txlteeb2ojtp5ygiqet6)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository)
- [Documentation](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:iz47txlteeb2ojtp5ygiqet6/dev.gitosphere.repository/examples)

## Definitions

### `dev.gitosphere.repository`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `owner` | `ref` → `#owner` | Yes |  |
| `realmId` | `string` | Yes |  |
| `authority` | `string` (did) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `visibility` | `string` | Yes |  |
| `repositoryId` | `string` | Yes |  |

### `dev.gitosphere.repository#owner`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes |  |
| `kind` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "dev.gitosphere.repository",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "authority",
          "realmId",
          "repositoryId",
          "name",
          "owner",
          "visibility",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1
          },
          "owner": {
            "ref": "#owner",
            "type": "ref"
          },
          "realmId": {
            "type": "string",
            "maxLength": 36,
            "minLength": 36
          },
          "authority": {
            "type": "string",
            "format": "did"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "visibility": {
            "enum": [
              "public",
              "internal",
              "private"
            ],
            "type": "string"
          },
          "repositoryId": {
            "type": "string",
            "maxLength": 36,
            "minLength": 36
          }
        }
      }
    },
    "owner": {
      "type": "object",
      "required": [
        "kind",
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 256,
          "minLength": 1
        },
        "kind": {
          "enum": [
            "user",
            "organization"
          ],
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
