summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-01 19:31:09 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-01 19:31:09 +0100
commita670e5dffb0db1ce416c20347cbfde2c5dc04c84 (patch)
tree1a31fd70b2dcbde81a5ef5c731a2b24f2f224785
parentcef4ac5a73e6a7ede3b0a0a177f78e096bda3763 (diff)
Add content for metadata block type chapter
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--doc/paper/main.tex43
1 files changed, 41 insertions, 2 deletions
diff --git a/doc/paper/main.tex b/doc/paper/main.tex
index 976f2fc..eeb0b15 100644
--- a/doc/paper/main.tex
+++ b/doc/paper/main.tex
@@ -165,8 +165,47 @@ could hold more than 10 Million blocks.
% - content pointer
% - references to other blocks
+A "metadata" block would hold the actual profile post data, although not the
+actual content of the post to the profile.
+As its name tells, it holds the metadata of the post, that is
-\subsection{Content}
+\begin{itemize}
+ \item A format version number
+ \item Date and Time when the block was created
+ \item A list of public keys that post to the profile
+ \item a sub-object that is either
+ \begin{itemize}
+ \item Empty
+
+ \item A "post" object, holding
+ \begin{itemize}
+ \item A pointer to the content "blob" (see \ref{sec:datatypecontent})
+ \item A mimetype for the content
+ \item An (optional) "In-Reply-To" reference
+ \item A (optional) list of references to other (metadata) blocks
+ \item possibly more (to be defined)
+ \end{itemize}
+
+ \item A "profile" object, holding for example
+ \begin{itemize}
+ \item a Profile name
+ \item a Profile picture
+ \item a Profile description/text
+ \item possibly more (to be defined)
+ \end{itemize}
+
+ \item A ref object, holding a reference to another block or metadata
+ block that is referenced (see \ref{sec:postreplies})
+
+ \item or something else (to be defined)
+ \end{itemize}
+\end{itemize}
+
+Because of its size, this object type might not be replicated as much as the
+"block" object type.
+
+
+\subsection{Content}\label{sec:datatypecontent}
% What a "content" object is (and what it is not)
\subsection{Data format}
@@ -193,7 +232,7 @@ could hold more than 10 Million blocks.
\subsection{Post types}
% What kinds of posts exist
-\subsection{Comments}
+\subsection{Replies}\label{sec:postreplies}
% How comments on posts could be implemented