# lol.dids.sites.site

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

✓ This is the authoritative definition for this NSID.

## Description

A static web site hosted from an AT Protocol repository. The record key is the site's hostname in lowercase IDNA A-label form. The site serves either an inline manifest or a lol.dids.sites.tile bound by strong reference and supplied with parameters.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.sites.site)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.sites.site/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.sites.site/examples)

## Definitions

### `lol.dids.sites.site`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `source` | `union` | Yes | What the site serves. A strong reference names a lol.dids.sites.tile record and pins its CID; the binding never follows later versions of the tile. An inline manifest is served directly. |
| `notFound` | `ref` → `lol.dids.sites.defs#resource` | No | Resource served for requests that match nothing in the manifest. With status 200 it is the single-page-application fallback. |
| `redirects` | `array` | No | Redirect rules evaluated before manifest lookup. |
| `wellKnown` | `ref` → `lol.dids.sites.defs#wellKnown` | No | Opt out of the well-known responses bard serves by default. Absent means every field defaults to true. |
| `parameters` | `unknown` | No | Map of parameter name to value, satisfying the bound tile's params. Permitted only when source is a strong reference. |

## Raw Schema

```json
{
  "id": "lol.dids.sites.site",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "source"
        ],
        "properties": {
          "source": {
            "refs": [
              "com.atproto.repo.strongRef",
              "lol.dids.sites.defs#manifest"
            ],
            "type": "union",
            "closed": true,
            "description": "What the site serves. A strong reference names a lol.dids.sites.tile record and pins its CID; the binding never follows later versions of the tile. An inline manifest is served directly."
          },
          "notFound": {
            "ref": "lol.dids.sites.defs#resource",
            "type": "ref",
            "description": "Resource served for requests that match nothing in the manifest. With status 200 it is the single-page-application fallback."
          },
          "redirects": {
            "type": "array",
            "items": {
              "ref": "lol.dids.sites.defs#redirect",
              "type": "ref"
            },
            "maxLength": 256,
            "description": "Redirect rules evaluated before manifest lookup."
          },
          "wellKnown": {
            "ref": "lol.dids.sites.defs#wellKnown",
            "type": "ref",
            "description": "Opt out of the well-known responses bard serves by default. Absent means every field defaults to true."
          },
          "parameters": {
            "type": "unknown",
            "description": "Map of parameter name to value, satisfying the bound tile's params. Permitted only when source is a strong reference."
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A static web site hosted from an AT Protocol repository. The record key is the site's hostname in lowercase IDNA A-label form. The site serves either an inline manifest or a lol.dids.sites.tile bound by strong reference and supplied with parameters."
}
```
