{
"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."
}