place.hud.app

Kept in the account that published it, keyed by a name it picks (1 to 64 of a-z, 0-9 and -), its address /a/<handle>/<key>. HUD reads it, and its blobs by CID, from that account's PDS (place.hud.getFrameApp), and runs its document with no network, no cookies and nothing of the page's. Republishing replaces it: entries name the version that wrote them.

Details · record, key any
Kindrecord
Record keyany
Authorityhud.place
Commit rev3n3klag2rz7ju
Indexed

Showing version bafyreiheqhsxozbsitpqiphkeqj666kvd6mte7ydjoptelcr5dflsopdby. Show the latest

Record

record · key any

Properties

createdAt

requiredstring · datetime

html

requiredblob

Its document, UTF-8, everything it loads inline: framed sandboxed, allowed scripts and nothing else.

  • maxSize: 2000000
  • accept: text/html

icon

blob

Its icon, square.

  • maxSize: 256000
  • accept: image/png, image/webp

kinds

requiredarray

The kinds of entry it saves, each checked against its def before it is written.

  • minLength: 1
  • maxLength: 16
itemsref
Reference

name

requiredstring

What the app is called.

  • maxLength: 640
  • maxGraphemes: 64

summary

string

What it is, in a sentence or two, as its page and its link's preview say.

  • maxLength: 3000
  • maxGraphemes: 300

words

blob

Its words, as a JSON object by language (en among them): each language's words by key, as the app reads them.

  • maxSize: 512000
  • accept: application/json

writers

array

Who may write its entries, when given: place.hud.createAppEntry refuses anyone else, and place.hud.listAppEntries leaves out others' entries. Anyone, where it is left out.

  • maxLength: 200
itemsref
Reference

#kind

object

A kind of entry an app saves (place.hud.app.entry).

Properties

def

requiredunknown

A lexicon object def (type object, its properties and which are required) each entry's data is checked against. A bytes field names its maxLength, and a kind's bytes fields hold at most 700000 bytes together.

name

requiredstring

Its name, a def's in the app's lexicon: 1 to 64 letters and digits in lowerCamelCase, as lap or bestLap.

  • maxLength: 64

#writer

object

An account an app lets write its entries.

Properties

did

requiredstring · did

Similar lexicons

semantic match

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