# tech.waow.lore.registry

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

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.lore.registry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.lore.registry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:siv7zbedip4vcet4v67piibr/tech.waow.lore.registry/examples)

## Definitions

### `tech.waow.lore.registry`

**Type**: `record`

Maps a project to the lore space used for it. Lives in a private tech.waow.lore.space of the person's own (skey = sha256 of "lore-registry"), under their repo, so which spaces they use is not public. The record key is the hex sha256 of the project key. The space may belong to someone else, when they have shared it.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `key` | `string` | Yes | The project key: a normalized git remote such as tangled.org/zzstoatzz.io/pi-extensions, or an absolute directory path when there is no remote. |
| `kind` | `string` | Yes | How the key was derived. |
| `space` | `string` | Yes | The space URI: at://{authority}/space/tech.waow.lore.space/{skey}, where skey is the same hash as this record's key. |
| `title` | `string` | No | How to show the key to a person, e.g. tangled.org/zzstoatzz.io/pi-extensions for a repo-DID key. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Maps a project to the lore space used for it. Lives in a private tech.waow.lore.space of the person's own (skey = sha256 of \"lore-registry\"), under their repo, so which spaces they use is not public. The record key is the hex sha256 of the project key. The space may belong to someone else, when they have shared it.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "key": {
            "description": "The project key: a normalized git remote such as tangled.org/zzstoatzz.io/pi-extensions, or an absolute directory path when there is no remote.",
            "maxLength": 4096,
            "type": "string"
          },
          "kind": {
            "description": "How the key was derived.",
            "knownValues": [
              "remote",
              "path"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "space": {
            "description": "The space URI: at://{authority}/space/tech.waow.lore.space/{skey}, where skey is the same hash as this record's key.",
            "maxLength": 1024,
            "type": "string"
          },
          "title": {
            "description": "How to show the key to a person, e.g. tangled.org/zzstoatzz.io/pi-extensions for a repo-DID key.",
            "maxGraphemes": 256,
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "key",
          "kind",
          "space",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.waow.lore.registry",
  "lexicon": 1
}
```
