# me.byjp.atproto.deeplink.transform

> Published by [byjp.me](https://lexicon.garden/identity/did:plc:ephkzpinhaqcabtkugtbzrwu)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ephkzpinhaqcabtkugtbzrwu/me.byjp.atproto.deeplink.transform)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ephkzpinhaqcabtkugtbzrwu/me.byjp.atproto.deeplink.transform/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ephkzpinhaqcabtkugtbzrwu/me.byjp.atproto.deeplink.transform/examples)

## Definitions

### `me.byjp.atproto.deeplink.transform`

**Type**: `record`

Declares URI templates that are equivalent to at:// URIs whose collection matches this record's key (an NSID). If this record is hosted in the same repo as the NSID's com.atproto.lexicon.schema, the first suitable URI is considered the canonical alternate URI for that NSID.

**Key**: `nsid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uris` | `array` | Yes | Template URIs equivalent to at:// URIs with this NSID. Most preferred first; consumers will use the first suitable entry. The tokens {{did}}, {{rkey}} and {{collection}} will be substituted with their values, e.g. https://example.com/profiles/{{did}}/things/{{rkey}} |

## Raw Schema

```json
{
  "id": "me.byjp.atproto.deeplink.transform",
  "defs": {
    "main": {
      "key": "nsid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "uris"
        ],
        "properties": {
          "uris": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uri"
            },
            "minLength": 1,
            "description": "Template URIs equivalent to at:// URIs with this NSID. Most preferred first; consumers will use the first suitable entry. The tokens {{did}}, {{rkey}} and {{collection}} will be substituted with their values, e.g. https://example.com/profiles/{{did}}/things/{{rkey}}"
          }
        }
      },
      "description": "Declares URI templates that are equivalent to at:// URIs whose collection matches this record's key (an NSID). If this record is hosted in the same repo as the NSID's com.atproto.lexicon.schema, the first suitable URI is considered the canonical alternate URI for that NSID."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
