dev.knotless.site

Kept in the repository owner's account, keyed by the `key` of the dev.knotless.repo whose site it is, so a repository has one site. Each deploy replaces it, and the blobs only the old one named are freed. Deleting it takes the site down. Readers check every file against its `sha256`.

Details · record, key tid
Kindrecord
Record keytid
Authorityknotless.dev
Indexed

Record

record · key tid

Properties

check

string · at-uri

The dev.knotless.check, in its runner's account, of the run that built and deployed it. A reader trusts it only from a runner the repository names, and only once it has passed at `commit`.

commit

string

The hex object ID of the commit the files were built from.

  • minLength: 40
  • maxLength: 64

createdAt

requiredstring · datetime

When this deploy was made.

fallback

string

The path of a file in `files` served, with status 200, for a page no file has, as a single-page app routes in the browser: a request asking for `text/html`, or for a path whose last segment has no extension. Taken before `notFound`; anything else missing gets `notFound`.

  • minLength: 1
  • maxLength: 512

files

requiredarray

What the site serves, by distinct paths.

  • minLength: 1
  • maxLength: 2000
itemsref
Reference

notFound

string

The path of a file in `files` served, with status 404, for a path no file has.

  • minLength: 1
  • maxLength: 512

#file

object

One file of a site.

Properties

The `Content-Type` it is served with, such as `text/html; charset=utf-8`, or else the type its path's extension names. Its blobs are `application/octet-stream` whatever it holds.

  • minLength: 1
  • maxLength: 255

parts

requiredarray

The file, split over blobs in order, each no larger than its PDS takes. None for an empty file.

  • maxLength: 1000
itemsref
Reference

path

requiredstring

Where it is served under the site's root: `/`-separated, with no leading `/` and no `.` or `..` segment. `x/index.html` is served at `x/` too.

  • minLength: 1
  • maxLength: 512

sha256

requiredstring

The lowercase hex SHA-256 of the file.

  • minLength: 64
  • maxLength: 64

size

requiredinteger

Bytes in the file.

  • minimum: 0

#part

object

One blob of a file, in order.

Properties

blob

requiredblob
  • accept: application/octet-stream

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.