Site

    A Site is a logical connection between one document (and the corresponding directory of content beneath it) and a web domain where the content has been published to. This can either be a Home Document or a Document.

    A Site has a peer like any other app, except that the device is a Server.

    A flat collection of named Documents.

    Belongs to an Account.

      Every account only has one Space.

    Names are arbitrary strings and must be unique within the namespace.

    Names can have separators, from which we can derive a Directory hierarchy in the UI. But it doesn’t impact the data model.

    There’s an always existing Home Document in the space which has an empty name.