Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

Latest commit

 

History

History
42 lines (24 loc) · 1.63 KB

dat-types.md

File metadata and controls

42 lines (24 loc) · 1.63 KB

Dat Types Spec

Last updated: Nov 6, 2018

Draft Not implemented

All dats have one or more "type" values which are specified in the dat.json file. This spec defines the core types which Beaker understands and explains how they are interpretted.

Motivation

Dat types help clients interpret a dat. These standard types let Beaker know when to expect certain files and folders.

Overview

Beaker defines the following core dat types:

Type Description
user-private-fs Contains a user's private filesystem.
user-profile Represents a user identity. Contains the user's public data.

Types

user-private-fs

The dat is a user's private filesystem. In addition to standard dat files (dat.json, favicon.ico) it contains the following standard files:

See the Beaker User Filesystem spec for more information.

user-profile

The dat is a public user identity. In addition to standard dat files (dat.json, favicon.ico) it contains the following standard files:

  • thumbnail.(png|jpg|jpeg|gif) A square image that represents the user (ideally 256x256).
  • data.objs/ A managed object-store folder.
  • user.keys/ A managed key-store folder.

See the Beaker User Filesystem spec and the Beaker Identities spec for more information.