Why Nostr? What is Njump?
2024-06-10 20:04:02

npub10s…kmfz7 on Nostr: commit aa6f5e8a9fb84cfd1d256446817f9d0876e81ac7 Author: randymcmillan ...

commit aa6f5e8a9fb84cfd1d256446817f9d0876e81ac7
Author: randymcmillan <[email protected]>
Date: Wed May 22 18:06:22 2024 -0400

docs

diff --git a/docs/10.md.css.html b/docs/10.md.css.html
index b51fc7a..ac0a14b 100644
--- a/docs/10.md.css.html
+++ b/docs/10.md.css.html
@@ -218,7 +218,7 @@ difficult, or impossible to resolve when an event references another but
is not a reply.</p>
</blockquote>
<h2 id="marked-e-tags-preferred">Marked “e” tags (PREFERRED)</h2>
-<p><code>["e", &lt;event-id&gt;, &lt;relay-url&gt;, &lt;marker&gt;]</code></p>
+<p><code>["e", &lt;event-id&gt;, &lt;relay-url&gt;, &lt;marker&gt;, &lt;pubkey&gt;]</code></p>
<p>Where:</p>
<ul>
<li><code>&lt;event-id&gt;</code> is the id of the event being
@@ -230,6 +230,8 @@ associated with the reference. Clients SHOULD add a valid
<li><code>&lt;marker&gt;</code> is optional and if present is one of
<code>"reply"</code>, <code>"root"</code>, or
<code>"mention"</code>.</li>
+<li><code>&lt;pubkey&gt;</code> is optional, SHOULD be the pubkey of the
+author of the referenced event</li>
</ul>
<p>Those marked with <code>"reply"</code> denote the id of the reply
event being responded to. Those marked with <code>"root"</code> denote
@@ -244,6 +246,10 @@ replies (those replying directly to the root event), only the
without confusing them with <code>&lt;reply-id&gt;</code> or
<code>&lt;root-id&gt;</code>.</p>
</blockquote>
+<p><code>&lt;pubkey&gt;</code> SHOULD be the pubkey of the author of the
+<code>e</code> tagged event, this is used in the outbox model to search
+for that event from the authors write relays where relay hints did not
+resolve the event.</p>
<h2 id="the-p-tag">The “p” tag</h2>
<p>Used in a text event contains a list of pubkeys used to record who is
involved in a reply thread.</p>
diff --git a/docs/10.md.html b/docs/10.md.html
index d749b0e..4317e14 100644
--- a/docs/10.md.html
+++ b/docs/10.md.html
@@ -47,7 +47,7 @@ difficult, or impossible to resolve when an event references another but
is not a reply.</p>
</blockquote>
<h2 id="marked-e-tags-preferred">Marked &#x201C;e&#x201D; tags (PREFERRED)</h2>
-<p><code>["e", &lt;event-id&gt;, &lt;relay-url&gt;, &lt;marker&gt;]</code></p>
+<p><code>["e", &lt;event-id&gt;, &lt;relay-url&gt;, &lt;marker&gt;, &lt;pubkey&gt;]</code></p>
<p>Where:</p>
<ul>
<li><code>&lt;event-id&gt;</code> is the id of the event being
@@ -59,6 +59,8 @@ associated with the reference. Clients SHOULD add a valid
<li><code>&lt;marker&gt;</code> is optional and if present is one of
<code>"reply"</code>, <code>"root"</code>, or
<code>"mention"</code>.</li>
+<li><code>&lt;pubkey&gt;</code> is optional, SHOULD be the pubkey of the
+author of the referenced event</li>
</ul>
<p>Those marked with <code>"reply"</code> denote the id of the reply
event being responded to. Those marked with <code>"root"</code> denote
@@ -73,6 +75,10 @@ replies (those replying directly to the root event), only the
without confusing them with <code>&lt;reply-id&gt;</code> or
<code>&lt;root-id&gt;</code>.</p>
</blockquote>
+<p><code>&lt;pubkey&gt;</code> SHOULD be the pubkey of the author of the
+<code>e</code> tagged event, this is used in the outbox model to search
+for that event from the authors write relays where relay hints did not
+resolve the event.</p>
<h2 id="the-p-tag">The &#x201C;p&#x201D; tag</h2>
<p>Used in a text event contains a list of pubkeys used to record who is
involved in a reply thread.</p>
diff --git a/docs/10.md.txt b/docs/10.md.txt
index 6f6bbcf..cce0c72 100644
--- a/docs/10.md.txt
+++ b/docs/10.md.txt
@@ -48,7 +48,7 @@ specific meanings as follows:

Marked &ldquo;e&rdquo; tags (PREFERRED)

-["e", <event-id>, <relay-url>, <marker>]
+["e", <event-id>, <relay-url>, <marker>, <pubkey>]

Where:

@@ -58,6 +58,8 @@ Where:
instead leave it as "".
- <marker> is optional and if present is one of "reply", "root", or
"mention".
+- <pubkey> is optional, SHOULD be the pubkey of the author of the
+ referenced event

Those marked with "reply" denote the id of the reply event being
responded to. Those marked with "root" denote the root id of the reply
@@ -71,6 +73,10 @@ A direct reply to the root of a thread should have a single marked
This scheme is preferred because it allows events to mention others
without confusing them with <reply-id> or <root-id>.

+<pubkey> SHOULD be the pubkey of the author of the e tagged event, this
+is used in the outbox model to search for that event from the authors
+write relays where relay hints did not resolve the event.
+
The &ldquo;p&rdquo; tag

Used in a text event contains a list of pubkeys used to record who is
diff --git a/docs/71.md.css.html b/docs/71.md.css.html
new file mode 100644
index 0000000..cc0f2d2
--- /dev/null
+++ b/docs/71.md.css.html
@@ -0,0 +1,361 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"; lang="" xml:lang="">
+<head>
+ <meta charset="utf-8" />
+ <meta name="generator" content="pandoc" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+ <title>71</title>
+ <style>
+ html {
+ color: #1a1a1a;
+ background-color: #fdfdfd;
+ }
+ body {
+ margin: 0 auto;
+ max-width: 36em;
+ padding-left: 50px;
+ padding-right: 50px;
+ padding-top: 50px;
+ padding-bottom: 50px;
+ hyphens: auto;
+ overflow-wrap: break-word;
+ text-rendering: optimizeLegibility;
+ font-kerning: normal;
+ }
+ @media (max-width: 600px) {
+ body {
+ font-size: 0.9em;
+ padding: 12px;
+ }
+ h1 {
+ font-size: 1.8em;
+ }
+ }
+ @media print {
+ html {
+ background-color: white;
+ }
+ body {
+ background-color: transparent;
+ color: black;
+ font-size: 12pt;
+ }
+ p, h2, h3 {
+ orphans: 3;
+ widows: 3;
+ }
+ h2, h3, h4 {
+ page-break-after: avoid;
+ }
+ }
+ p {
+ margin: 1em 0;
+ }
+ a {
+ color: #1a1a1a;
+ }
+ a:visited {
+ color: #1a1a1a;
+ }
+ img {
+ max-width: 100%;
+ }
+ svg {
+ height: auto;
+ max-width: 100%;
+ }
+ h1, h2, h3, h4, h5, h6 {
+ margin-top: 1.4em;
+ }
+ h5, h6 {
+ font-size: 1em;
+ font-style: italic;
+ }
+ h6 {
+ font-weight: normal;
+ }
+ ol, ul {
+ padding-left: 1.7em;
+ margin-top: 1em;
+ }
+ li > ol, li > ul {
+ margin-top: 0;
+ }
+ blockquote {
+ margin: 1em 0 1em 1.7em;
+ padding-left: 1em;
+ border-left: 2px solid #e6e6e6;
+ color: #606060;
+ }
+ code {
+ font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
+ font-size: 85%;
+ margin: 0;
+ hyphens: manual;
+ }
+ pre {
+ margin: 1em 0;
+ overflow: auto;
+ }
+ pre code {
+ padding: 0;
+ overflow: visible;
+ overflow-wrap: normal;
+ }
+ .sourceCode {
+ background-color: transparent;
+ overflow: visible;
+ }
+ hr {
+ background-color: #1a1a1a;
+ border: none;
+ height: 1px;
+ margin: 1em 0;
+ }
+ table {
+ margin: 1em 0;
+ border-collapse: collapse;
+ width: 100%;
+ overflow-x: auto;
+ display: block;
+ font-variant-numeric: lining-nums tabular-nums;
+ }
+ table caption {
+ margin-bottom: 0.75em;
+ }
+ tbody {
+ margin-top: 0.5em;
+ border-top: 1px solid #1a1a1a;
+ border-bottom: 1px solid #1a1a1a;
+ }
+ th {
+ border-top: 1px solid #1a1a1a;
+ padding: 0.25em 0.5em 0.25em 0.5em;
+ }
+ td {
+ padding: 0.125em 0.5em 0.25em 0.5em;
+ }
+ header {
+ margin-bottom: 4em;
+ text-align: center;
+ }
+ #TOC li {
+ list-style: none;
+ }
+ #TOC ul {
+ padding-left: 1.3em;
+ }
+ #TOC > ul {
+ padding-left: 0;
+ }
+ #TOC a:not(:hover) {
+ text-decoration: none;
+ }
+ code{white-space: pre-wrap;}
+ span.smallcaps{font-variant: small-caps;}
+ div.columns{display: flex; gap: min(4vw, 1.5em);}
+ div.column{flex: auto; overflow-x: auto;}
+ div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
+ /* The extra [class] is a hack that increases specificity enough to
+ override a similar rule in reveal.js */
+ ul.task-list[class]{list-style: none;}
+ ul.task-list li input[type="checkbox"] {
+ font-size: inherit;
+ width: 0.8em;
+ margin: 0 0.8em 0.2em -1.6em;
+ vertical-align: middle;
+ }
+ .display.math{display: block; text-align: center; margin: 0.5rem auto;}
+ /* CSS for syntax highlighting */
+ pre > code.sourceCode { white-space: pre; position: relative; }
+ pre > code.sourceCode > span { line-height: 1.25; }
+ pre > code.sourceCode > span:empty { height: 1.2em; }
+ .sourceCode { overflow: visible; }
+ code.sourceCode > span { color: inherit; text-decoration: inherit; }
+ div.sourceCode { margin: 1em 0; }
+ pre.sourceCode { margin: 0; }
+ @media screen {
+ div.sourceCode { overflow: auto; }
+ }
+ @media print {
+ pre > code.sourceCode { white-space: pre-wrap; }
+ pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
+ }
+ pre.numberSource code
+ { counter-reset: source-line 0; }
+ pre.numberSource code > span
+ { position: relative; left: -4em; counter-increment: source-line; }
+ pre.numberSource code > span > a:first-child::before
+ { content: counter(source-line);
+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
+ border: none; display: inline-block;
+ -webkit-touch-callout: none; -webkit-user-select: none;
+ -khtml-user-select: none; -moz-user-select: none;
+ -ms-user-select: none; user-select: none;
+ padding: 0 4px; width: 4em;
+ color: #aaaaaa;
+ }
+ pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
+ div.sourceCode
+ { }
+ @media screen {
+ pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
+ }
+ code span.al { color: #ff0000; font-weight: bold; } /* Alert */
+ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
+ code span.at { color: #7d9029; } /* Attribute */
+ code span.bn { color: #40a070; } /* BaseN */
+ code span.bu { color: #008000; } /* BuiltIn */
+ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
+ code span.ch { color: #4070a0; } /* Char */
+ code span.cn { color: #880000; } /* Constant */
+ code span.co { color: #60a0b0; font-style: italic; } /* Comment */
+ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
+ code span.do { color: #ba2121; font-style: italic; } /* Documentation */
+ code span.dt { color: #902000; } /* DataType */
+ code span.dv { color: #40a070; } /* DecVal */
+ code span.er { color: #ff0000; font-weight: bold; } /* Error */
+ code span.ex { } /* Extension */
+ code span.fl { color: #40a070; } /* Float */
+ code span.fu { color: #06287e; } /* Function */
+ code span.im { color: #008000; font-weight: bold; } /* Import */
+ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
+ code span.kw { color: #007020; font-weight: bold; } /* Keyword */
+ code span.op { color: #666666; } /* Operator */
+ code span.ot { color: #007020; } /* Other */
+ code span.pp { color: #bc7a00; } /* Preprocessor */
+ code span.sc { color: #4070a0; } /* SpecialChar */
+ code span.ss { color: #bb6688; } /* SpecialString */
+ code span.st { color: #4070a0; } /* String */
+ code span.va { color: #19177c; } /* Variable */
+ code span.vs { color: #4070a0; } /* VerbatimString */
+ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
+ </style>
+</head>
+<body>
+<h1 id="nip-71">NIP-71</h1>
+<h2 id="video-events">Video Events</h2>
+<p><code>draft</code> <code>optional</code></p>
+<p>This specification defines video events representing a dedicated post
+of externally hosted content. These video events are <em>parameterized
+replaceable</em> and deletable per <a href="09.md.css.html">NIP-09</a>.</p>
+<p>Unlike a <code>kind 1</code> event with a video attached, Video
+Events are meant to contain all additional metadata concerning the
+subject media and to be surfaced in video-specific clients rather than
+general micro-blogging clients. The thought is for events of this kind
+to be referenced in a Netflix, YouTube, or TikTok like nostr client
+where the video itself is at the center of the experience.</p>
+<h2 id="video-events-1">Video Events</h2>
+<p>There are two types of video events represented by different kinds:
+horizontal and vertical video events. This is meant to allow clients to
+cater to each as the viewing experience for horizontal (landscape)
+videos is often different than that of vertical (portrait) videos
+(Stories, Reels, Shorts, etc).</p>
+<h4 id="format">Format</h4>
+<p>The format uses a parameterized replaceable event kind
+<code>34235</code> for horizontal videos and <code>34236</code> for
+vertical videos.</p>
+<p>The <code>.content</code> of these events is a summary or description
+on the video content.</p>
+<p>The list of tags are as follows: * <code>d</code> (required)
+universally unique identifier (UUID). Generated by the client creating
+the video event. * <code>url</code> (required) the url to the video file
+* <code>m</code> a string indicating the data type of the file. The <a
+href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME
+types</a> format must be used, and they should be lowercase. *
+<code>title</code> (required) title of the video *
+<code>"published_at"</code>, for the timestamp in unix seconds
+(stringified) of the first time the video was published *
+<code>"aes-256-gcm"</code> (optional) key and nonce for AES-GCM
+encryption with tagSize always 128bits * <code>x</code> containing the
+SHA-256 hexencoded string of the file. * <code>size</code> (optional)
+size of file in bytes * <code>dim</code> (optional) size of file in
+pixels in the form <code>&lt;width&gt;x&lt;height&gt;</code> *
+<code>duration</code> (optional) video duration in seconds *
+<code>magnet</code> (optional) URI to magnet file * <code>i</code>
+(optional) torrent infohash * <code>text-track</code> (optional,
+repeated) link to WebVTT file for video, type of supplementary
+information (captions/subtitles/chapters/metadata), optional language
+code * <code>thumb</code> (optional) url of thumbnail with same aspect
+ratio * <code>image</code> (optional) url of preview image with same
+dimensions * <code>content-warning</code> (optional) warning about
+content of NSFW video * <code>alt</code> (optional) description for
+accessibility * <code>segment</code> (optional, repeated) start
+timestamp in format <code>HH:MM:SS.sss</code>, end timestamp in format
+<code>HH:MM:SS.sss</code>, chapter/segment title, chapter thumbnail-url
+* <code>t</code> (optional, repeated) hashtag to categorize video *
+<code>p</code> (optional, repeated) 32-bytes hex pubkey of a participant
+in the video, optional recommended relay URL * <code>r</code> (optional,
+repeated) references / links to web pages</p>
+<div class="sourceCode" id="cb1"><pre
+class="sourceCode json"><code class="sourceCode json"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
+<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;id&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">SHA</span><span class="dv">-256</span> <span class="er">of</span> <span class="er">the</span> <span class="er">the</span> <span class="er">serialized</span> <span class="er">event</span> <span class="er">data&gt;</span><span class="fu">,</span></span>
+<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;pubkey&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">public</span> <span class="er">key</span> <span class="er">of</span> <span class="er">the</span> <span class="er">event</span> <span class="er">creator&gt;</span><span class="fu">,</span></span>
+<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;created_at&quot;</span><span class="fu">:</span> <span class="er">&lt;Unix</span> <span class="er">timestamp</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="fu">,</span></span>
+<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;kind&quot;</span><span class="fu">:</span> <span class="dv">34235</span> <span class="er">|</span> <span class="dv">34236</span><span class="fu">,</span></span>
+<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;content&quot;</span><span class="fu">:</span> <span class="st">&quot;&lt;summary / description of video&gt;&quot;</span><span class="fu">,</span></span>
+<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;tags&quot;</span><span class="fu">:</span> <span class="ot">[</span></span>
+<span id="cb1-8"><a href="#cb1-8" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;d&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;UUID&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-9"><a href="#cb1-9" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-10"><a href="#cb1-10" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;title&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;title of video&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-11"><a href="#cb1-11" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;thumb&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;thumbnail image for video&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-12"><a href="#cb1-12" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;published_at&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;unix timestamp&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-13"><a href="#cb1-13" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;alt&quot;</span><span class="ot">,</span> <span class="er">&lt;description&gt;</span><span class="ot">],</span></span>
+<span id="cb1-14"><a href="#cb1-14" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-15"><a href="#cb1-15" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Video</span> <span class="er">Data</span></span>
+<span id="cb1-16"><a href="#cb1-16" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;url&quot;</span><span class="ot">,</span><span class="er">&lt;string</span> <span class="er">with</span> <span class="er">URI</span> <span class="er">of</span> <span class="er">file&gt;</span><span class="ot">],</span></span>
+<span id="cb1-17"><a href="#cb1-17" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;m&quot;</span><span class="ot">,</span> <span class="er">&lt;MIME</span> <span class="er">type&gt;</span><span class="ot">],</span></span>
+<span id="cb1-18"><a href="#cb1-18" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;x&quot;</span><span class="ot">,</span><span class="er">&lt;Hash</span> <span class="er">SHA</span><span class="dv">-256</span><span class="er">&gt;</span><span class="ot">],</span></span>
+<span id="cb1-19"><a href="#cb1-19" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;aes-256-gcm&quot;</span><span class="ot">,</span><span class="er">&lt;key&gt;</span><span class="ot">,</span> <span class="er">&lt;iv&gt;</span><span class="ot">],</span></span>
+<span id="cb1-20"><a href="#cb1-20" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;size&quot;</span><span class="ot">,</span> <span class="er">&lt;size</span> <span class="er">of</span> <span class="er">file</span> <span class="er">in</span> <span class="er">bytes&gt;</span><span class="ot">],</span></span>
+<span id="cb1-21"><a href="#cb1-21" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;duration&quot;</span><span class="ot">,</span> <span class="er">&lt;duration</span> <span class="er">of</span> <span class="er">video</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="ot">],</span></span>
+<span id="cb1-22"><a href="#cb1-22" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;dim&quot;</span><span class="ot">,</span> <span class="er">&lt;size</span> <span class="er">of</span> <span class="er">file</span> <span class="er">in</span> <span class="er">pixels&gt;</span><span class="ot">],</span></span>
+<span id="cb1-23"><a href="#cb1-23" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;magnet&quot;</span><span class="ot">,</span><span class="er">&lt;magnet</span> <span class="er">URI&gt;</span> <span class="ot">],</span></span>
+<span id="cb1-24"><a href="#cb1-24" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;i&quot;</span><span class="ot">,</span><span class="er">&lt;torrent</span> <span class="er">infohash&gt;</span><span class="ot">],</span></span>
+<span id="cb1-25"><a href="#cb1-25" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;text-track&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;encoded `kind 6000` event&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;recommended relay urls&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-26"><a href="#cb1-26" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;content-warning&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;reason&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-27"><a href="#cb1-27" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;segment&quot;</span><span class="ot">,</span> <span class="er">&lt;start&gt;</span><span class="ot">,</span> <span class="er">&lt;end&gt;</span><span class="ot">,</span> <span class="st">&quot;&lt;title&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;thumbnail URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-28"><a href="#cb1-28" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-29"><a href="#cb1-29" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Participants</span></span>
+<span id="cb1-30"><a href="#cb1-30" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;p&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;32-bytes hex of a pubkey&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional recommended relay URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-31"><a href="#cb1-31" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;p&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;32-bytes hex of a pubkey&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional recommended relay URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-32"><a href="#cb1-32" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-33"><a href="#cb1-33" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Hashtags</span></span>
+<span id="cb1-34"><a href="#cb1-34" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;t&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;tag&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-35"><a href="#cb1-35" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;t&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;tag&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-36"><a href="#cb1-36" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-37"><a href="#cb1-37" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Reference</span> <span class="er">links</span></span>
+<span id="cb1-38"><a href="#cb1-38" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;r&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;url&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-39"><a href="#cb1-39" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;r&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;url&gt;&quot;</span><span class="ot">]</span></span>
+<span id="cb1-40"><a href="#cb1-40" aria-hidden="true" tabindex="-1"></a> <span class="ot">]</span></span>
+<span id="cb1-41"><a href="#cb1-41" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
+<h2 id="video-view">Video View</h2>
+<p>A video event view is a response to a video event to track a user’s
+view or progress viewing the video.</p>
+<h3 id="format-1">Format</h3>
+<p>The format uses a parameterized replaceable event kind
+<code>34237</code>.</p>
+<p>The <code>.content</code> of these events is optional and could be a
+free-form note that acts like a bookmark for the user.</p>
+<p>The list of tags are as follows: * <code>a</code> (required)
+reference tag to kind <code>34235</code> or <code>34236</code> video
+event being viewed * <code>d</code> (required) same as <code>a</code>
+reference tag value * <code>viewed</code> (optional, repeated) timestamp
+of the user’s start time in seconds, timestamp of the user’s end time in
+seconds</p>
+<div class="sourceCode" id="cb2"><pre
+class="sourceCode json"><code class="sourceCode json"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
+<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;id&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">SHA</span><span class="dv">-256</span> <span class="er">of</span> <span class="er">the</span> <span class="er">the</span> <span class="er">serialized</span> <span class="er">event</span> <span class="er">data&gt;</span><span class="fu">,</span></span>
+<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;pubkey&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">public</span> <span class="er">key</span> <span class="er">of</span> <span class="er">the</span> <span class="er">event</span> <span class="er">creator&gt;</span><span class="fu">,</span></span>
+<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;created_at&quot;</span><span class="fu">:</span> <span class="er">&lt;Unix</span> <span class="er">timestamp</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="fu">,</span></span>
+<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;kind&quot;</span><span class="fu">:</span> <span class="dv">34237</span><span class="fu">,</span></span>
+<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;content&quot;</span><span class="fu">:</span> <span class="st">&quot;&lt;note&gt;&quot;</span><span class="fu">,</span></span>
+<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;tags&quot;</span><span class="fu">:</span> <span class="ot">[</span></span>
+<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;a&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;34235 | 34236&gt;:&lt;video event author pubkey&gt;:&lt;d-identifier of video event&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional relay url&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;e&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;event-id&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;relay-url&gt;&quot;</span><span class="ot">]</span></span>
+<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;d&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;34235 | 34236&gt;:&lt;video event author pubkey&gt;:&lt;d-identifier of video event&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;viewed&quot;</span><span class="ot">,</span> <span class="er">&lt;start&gt;</span><span class="ot">,</span> <span class="er">&lt;end&gt;</span><span class="ot">],</span></span>
+<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a> <span class="ot">]</span></span>
+<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
+</body>
+</html>
diff --git a/docs/71.md.html b/docs/71.md.html
new file mode 100644
index 0000000..872c255
--- /dev/null
+++ b/docs/71.md.html
@@ -0,0 +1,124 @@
+<h1 id="nip-71">NIP-71</h1>
+<h2 id="video-events">Video Events</h2>
+<p><code>draft</code> <code>optional</code></p>
+<p>This specification defines video events representing a dedicated post
+of externally hosted content. These video events are <em>parameterized
+replaceable</em> and deletable per <a href="09.md.html">NIP-09</a>.</p>
+<p>Unlike a <code>kind 1</code> event with a video attached, Video
+Events are meant to contain all additional metadata concerning the
+subject media and to be surfaced in video-specific clients rather than
+general micro-blogging clients. The thought is for events of this kind
+to be referenced in a Netflix, YouTube, or TikTok like nostr client
+where the video itself is at the center of the experience.</p>
+<h2 id="video-events-1">Video Events</h2>
+<p>There are two types of video events represented by different kinds:
+horizontal and vertical video events. This is meant to allow clients to
+cater to each as the viewing experience for horizontal (landscape)
+videos is often different than that of vertical (portrait) videos
+(Stories, Reels, Shorts, etc).</p>
+<h4 id="format">Format</h4>
+<p>The format uses a parameterized replaceable event kind
+<code>34235</code> for horizontal videos and <code>34236</code> for
+vertical videos.</p>
+<p>The <code>.content</code> of these events is a summary or description
+on the video content.</p>
+<p>The list of tags are as follows: * <code>d</code> (required)
+universally unique identifier (UUID). Generated by the client creating
+the video event. * <code>url</code> (required) the url to the video file
+* <code>m</code> a string indicating the data type of the file. The <a
+href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME
+types</a> format must be used, and they should be lowercase. *
+<code>title</code> (required) title of the video *
+<code>"published_at"</code>, for the timestamp in unix seconds
+(stringified) of the first time the video was published *
+<code>"aes-256-gcm"</code> (optional) key and nonce for AES-GCM
+encryption with tagSize always 128bits * <code>x</code> containing the
+SHA-256 hexencoded string of the file. * <code>size</code> (optional)
+size of file in bytes * <code>dim</code> (optional) size of file in
+pixels in the form <code>&lt;width&gt;x&lt;height&gt;</code> *
+<code>duration</code> (optional) video duration in seconds *
+<code>magnet</code> (optional) URI to magnet file * <code>i</code>
+(optional) torrent infohash * <code>text-track</code> (optional,
+repeated) link to WebVTT file for video, type of supplementary
+information (captions/subtitles/chapters/metadata), optional language
+code * <code>thumb</code> (optional) url of thumbnail with same aspect
+ratio * <code>image</code> (optional) url of preview image with same
+dimensions * <code>content-warning</code> (optional) warning about
+content of NSFW video * <code>alt</code> (optional) description for
+accessibility * <code>segment</code> (optional, repeated) start
+timestamp in format <code>HH:MM:SS.sss</code>, end timestamp in format
+<code>HH:MM:SS.sss</code>, chapter/segment title, chapter thumbnail-url
+* <code>t</code> (optional, repeated) hashtag to categorize video *
+<code>p</code> (optional, repeated) 32-bytes hex pubkey of a participant
+in the video, optional recommended relay URL * <code>r</code> (optional,
+repeated) references / links to web pages</p>
+<div class="sourceCode" id="cb1"><pre
+class="sourceCode json"><code class="sourceCode json"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
+<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;id&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">SHA</span><span class="dv">-256</span> <span class="er">of</span> <span class="er">the</span> <span class="er">the</span> <span class="er">serialized</span> <span class="er">event</span> <span class="er">data&gt;</span><span class="fu">,</span></span>
+<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;pubkey&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">public</span> <span class="er">key</span> <span class="er">of</span> <span class="er">the</span> <span class="er">event</span> <span class="er">creator&gt;</span><span class="fu">,</span></span>
+<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;created_at&quot;</span><span class="fu">:</span> <span class="er">&lt;Unix</span> <span class="er">timestamp</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="fu">,</span></span>
+<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;kind&quot;</span><span class="fu">:</span> <span class="dv">34235</span> <span class="er">|</span> <span class="dv">34236</span><span class="fu">,</span></span>
+<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;content&quot;</span><span class="fu">:</span> <span class="st">&quot;&lt;summary / description of video&gt;&quot;</span><span class="fu">,</span></span>
+<span id="cb1-7"><a href="#cb1-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;tags&quot;</span><span class="fu">:</span> <span class="ot">[</span></span>
+<span id="cb1-8"><a href="#cb1-8" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;d&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;UUID&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-9"><a href="#cb1-9" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-10"><a href="#cb1-10" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;title&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;title of video&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-11"><a href="#cb1-11" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;thumb&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;thumbnail image for video&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-12"><a href="#cb1-12" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;published_at&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;unix timestamp&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-13"><a href="#cb1-13" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;alt&quot;</span><span class="ot">,</span> <span class="er">&lt;description&gt;</span><span class="ot">],</span></span>
+<span id="cb1-14"><a href="#cb1-14" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-15"><a href="#cb1-15" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Video</span> <span class="er">Data</span></span>
+<span id="cb1-16"><a href="#cb1-16" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;url&quot;</span><span class="ot">,</span><span class="er">&lt;string</span> <span class="er">with</span> <span class="er">URI</span> <span class="er">of</span> <span class="er">file&gt;</span><span class="ot">],</span></span>
+<span id="cb1-17"><a href="#cb1-17" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;m&quot;</span><span class="ot">,</span> <span class="er">&lt;MIME</span> <span class="er">type&gt;</span><span class="ot">],</span></span>
+<span id="cb1-18"><a href="#cb1-18" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;x&quot;</span><span class="ot">,</span><span class="er">&lt;Hash</span> <span class="er">SHA</span><span class="dv">-256</span><span class="er">&gt;</span><span class="ot">],</span></span>
+<span id="cb1-19"><a href="#cb1-19" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;aes-256-gcm&quot;</span><span class="ot">,</span><span class="er">&lt;key&gt;</span><span class="ot">,</span> <span class="er">&lt;iv&gt;</span><span class="ot">],</span></span>
+<span id="cb1-20"><a href="#cb1-20" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;size&quot;</span><span class="ot">,</span> <span class="er">&lt;size</span> <span class="er">of</span> <span class="er">file</span> <span class="er">in</span> <span class="er">bytes&gt;</span><span class="ot">],</span></span>
+<span id="cb1-21"><a href="#cb1-21" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;duration&quot;</span><span class="ot">,</span> <span class="er">&lt;duration</span> <span class="er">of</span> <span class="er">video</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="ot">],</span></span>
+<span id="cb1-22"><a href="#cb1-22" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;dim&quot;</span><span class="ot">,</span> <span class="er">&lt;size</span> <span class="er">of</span> <span class="er">file</span> <span class="er">in</span> <span class="er">pixels&gt;</span><span class="ot">],</span></span>
+<span id="cb1-23"><a href="#cb1-23" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;magnet&quot;</span><span class="ot">,</span><span class="er">&lt;magnet</span> <span class="er">URI&gt;</span> <span class="ot">],</span></span>
+<span id="cb1-24"><a href="#cb1-24" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;i&quot;</span><span class="ot">,</span><span class="er">&lt;torrent</span> <span class="er">infohash&gt;</span><span class="ot">],</span></span>
+<span id="cb1-25"><a href="#cb1-25" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;text-track&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;encoded `kind 6000` event&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;recommended relay urls&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-26"><a href="#cb1-26" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;content-warning&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;reason&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-27"><a href="#cb1-27" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;segment&quot;</span><span class="ot">,</span> <span class="er">&lt;start&gt;</span><span class="ot">,</span> <span class="er">&lt;end&gt;</span><span class="ot">,</span> <span class="st">&quot;&lt;title&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;thumbnail URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-28"><a href="#cb1-28" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-29"><a href="#cb1-29" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Participants</span></span>
+<span id="cb1-30"><a href="#cb1-30" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;p&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;32-bytes hex of a pubkey&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional recommended relay URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-31"><a href="#cb1-31" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;p&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;32-bytes hex of a pubkey&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional recommended relay URL&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-32"><a href="#cb1-32" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-33"><a href="#cb1-33" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Hashtags</span></span>
+<span id="cb1-34"><a href="#cb1-34" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;t&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;tag&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-35"><a href="#cb1-35" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;t&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;tag&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-36"><a href="#cb1-36" aria-hidden="true" tabindex="-1"></a></span>
+<span id="cb1-37"><a href="#cb1-37" aria-hidden="true" tabindex="-1"></a> <span class="er">//</span> <span class="er">Reference</span> <span class="er">links</span></span>
+<span id="cb1-38"><a href="#cb1-38" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;r&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;url&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb1-39"><a href="#cb1-39" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;r&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;url&gt;&quot;</span><span class="ot">]</span></span>
+<span id="cb1-40"><a href="#cb1-40" aria-hidden="true" tabindex="-1"></a> <span class="ot">]</span></span>
+<span id="cb1-41"><a href="#cb1-41" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
+<h2 id="video-view">Video View</h2>
+<p>A video event view is a response to a video event to track a user&#x2019;s
+view or progress viewing the video.</p>
+<h3 id="format-1">Format</h3>
+<p>The format uses a parameterized replaceable event kind
+<code>34237</code>.</p>
+<p>The <code>.content</code> of these events is optional and could be a
+free-form note that acts like a bookmark for the user.</p>
+<p>The list of tags are as follows: * <code>a</code> (required)
+reference tag to kind <code>34235</code> or <code>34236</code> video
+event being viewed * <code>d</code> (required) same as <code>a</code>
+reference tag value * <code>viewed</code> (optional, repeated) timestamp
+of the user&#x2019;s start time in seconds, timestamp of the user&#x2019;s end time in
+seconds</p>
+<div class="sourceCode" id="cb2"><pre
+class="sourceCode json"><code class="sourceCode json"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="fu">{</span></span>
+<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;id&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">SHA</span><span class="dv">-256</span> <span class="er">of</span> <span class="er">the</span> <span class="er">the</span> <span class="er">serialized</span> <span class="er">event</span> <span class="er">data&gt;</span><span class="fu">,</span></span>
+<span id="cb2-3"><a href="#cb2-3" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;pubkey&quot;</span><span class="fu">:</span> <span class="er">&lt;</span><span class="dv">32</span><span class="er">-bytes</span> <span class="er">lowercase</span> <span class="er">hex-encoded</span> <span class="er">public</span> <span class="er">key</span> <span class="er">of</span> <span class="er">the</span> <span class="er">event</span> <span class="er">creator&gt;</span><span class="fu">,</span></span>
+<span id="cb2-4"><a href="#cb2-4" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;created_at&quot;</span><span class="fu">:</span> <span class="er">&lt;Unix</span> <span class="er">timestamp</span> <span class="er">in</span> <span class="er">seconds&gt;</span><span class="fu">,</span></span>
+<span id="cb2-5"><a href="#cb2-5" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;kind&quot;</span><span class="fu">:</span> <span class="dv">34237</span><span class="fu">,</span></span>
+<span id="cb2-6"><a href="#cb2-6" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;content&quot;</span><span class="fu">:</span> <span class="st">&quot;&lt;note&gt;&quot;</span><span class="fu">,</span></span>
+<span id="cb2-7"><a href="#cb2-7" aria-hidden="true" tabindex="-1"></a> <span class="dt">&quot;tags&quot;</span><span class="fu">:</span> <span class="ot">[</span></span>
+<span id="cb2-8"><a href="#cb2-8" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;a&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;34235 | 34236&gt;:&lt;video event author pubkey&gt;:&lt;d-identifier of video event&gt;&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;optional relay url&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb2-9"><a href="#cb2-9" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;e&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;event-id&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;relay-url&gt;&quot;</span><span class="ot">]</span></span>
+<span id="cb2-10"><a href="#cb2-10" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;d&quot;</span><span class="ot">,</span> <span class="st">&quot;&lt;34235 | 34236&gt;:&lt;video event author pubkey&gt;:&lt;d-identifier of video event&gt;&quot;</span><span class="ot">],</span></span>
+<span id="cb2-11"><a href="#cb2-11" aria-hidden="true" tabindex="-1"></a> <span class="ot">[</span><span class="st">&quot;viewed&quot;</span><span class="ot">,</span> <span class="er">&lt;start&gt;</span><span class="ot">,</span> <span class="er">&lt;end&gt;</span><span class="ot">],</span></span>
+<span id="cb2-12"><a href="#cb2-12" aria-hidden="true" tabindex="-1"></a> <span class="ot">]</span></span>
+<span id="cb2-13"><a href="#cb2-13" aria-hidden="true" tabindex="-1"></a><span class="fu">}</span></span></code></pre></div>
diff --git a/docs/71.md.txt b/docs/71.md.txt
new file mode 100644
index 0000000..e6b42a0
--- /dev/null
+++ b/docs/71.md.txt
@@ -0,0 +1,131 @@
+NIP-71
+
+Video Events
+
+draft optional
+
+This specification defines video events representing a dedicated post of
+externally hosted content. These video events are parameterized
+replaceable and deletable per NIP-09.
+
+Unlike a kind 1 event with a video attached, Video Events are meant to
+contain all additional metadata concerning the subject media and to be
+surfaced in video-specific clients rather than general micro-blogging
+clients. The thought is for events of this kind to be referenced in a
+Netflix, YouTube, or TikTok like nostr client where the video itself is
+at the center of the experience.
+
+Video Events
+
+There are two types of video events represented by different kinds:
+horizontal and vertical video events. This is meant to allow clients to
+cater to each as the viewing experience for horizontal (landscape)
+videos is often different than that of vertical (portrait) videos
+(Stories, Reels, Shorts, etc).
+
+Format
+
+The format uses a parameterized replaceable event kind 34235 for
+horizontal videos and 34236 for vertical videos.
+
+The .content of these events is a summary or description on the video
+content.
+
+The list of tags are as follows: * d (required) universally unique
+identifier (UUID). Generated by the client creating the video event. *
+url (required) the url to the video file * m a string indicating the
+data type of the file. The MIME types format must be used, and they
+should be lowercase. * title (required) title of the video *
+"published_at", for the timestamp in unix seconds (stringified) of the
+first time the video was published * "aes-256-gcm" (optional) key and
+nonce for AES-GCM encryption with tagSize always 128bits * x containing
+the SHA-256 hexencoded string of the file. * size (optional) size of
+file in bytes * dim (optional) size of file in pixels in the form
+<width>x<height> * duration (optional) video duration in seconds *
+magnet (optional) URI to magnet file * i (optional) torrent infohash *
+text-track (optional, repeated) link to WebVTT file for video, type of
+supplementary information (captions/subtitles/chapters/metadata),
+optional language code * thumb (optional) url of thumbnail with same
+aspect ratio * image (optional) url of preview image with same
+dimensions * content-warning (optional) warning about content of NSFW
+video * alt (optional) description for accessibility * segment
+(optional, repeated) start timestamp in format HH:MM:SS.sss, end
+timestamp in format HH:MM:SS.sss, chapter/segment title, chapter
+thumbnail-url * t (optional, repeated) hashtag to categorize video * p
+(optional, repeated) 32-bytes hex pubkey of a participant in the video,
+optional recommended relay URL * r (optional, repeated) references /
+links to web pages
+
+ {
+ "id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>,
+ "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,
+ "created_at": <Unix timestamp in seconds>,
+ "kind": 34235 | 34236,
+ "content": "<summary / description of video>",
+ "tags": [
+ ["d", "<UUID>"],
+
+ ["title", "<title of video>"],
+ ["thumb", "<thumbnail image for video>"],
+ ["published_at", "<unix timestamp>"],
+ ["alt", <description>],
+
+ // Video Data
+ ["url",<string with URI of file>],
+ ["m", <MIME type>],
+ ["x",<Hash SHA-256>],
+ ["aes-256-gcm",<key>, <iv>],
+ ["size", <size of file in bytes>],
+ ["duration", <duration of video in seconds>],
+ ["dim", <size of file in pixels>],
+ ["magnet",<magnet URI> ],
+ ["i",<torrent infohash>],
+ ["text-track", "<encoded `kind 6000` event>", "<recommended relay urls>"],
+ ["content-warning", "<reason>"],
+ ["segment", <start>, <end>, "<title>", "<thumbnail URL>"],
+
+ // Participants
+ ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"],
+ ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"],
+
+ // Hashtags
+ ["t", "<tag>"],
+ ["t", "<tag>"],
+
+ // Reference links
+ ["r", "<url>"],
+ ["r", "<url>"]
+ ]
+ }
+
+Video View
+
+A video event view is a response to a video event to track a
+user&rsquo;s view or progress viewing the video.
+
+Format
+
+The format uses a parameterized replaceable event kind 34237.
+
+The .content of these events is optional and could be a free-form note
+that acts like a bookmark for the user.
+
+The list of tags are as follows: * a (required) reference tag to kind
+34235 or 34236 video event being viewed * d (required) same as a
+reference tag value * viewed (optional, repeated) timestamp of the
+user&rsquo;s start time in seconds, timestamp of the user&rsquo;s end
+time in seconds
+
+ {
+ "id": <32-bytes lowercase hex-encoded SHA-256 of the the serialized event data>,
+ "pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,
+ "created_at": <Unix timestamp in seconds>,
+ "kind": 34237,
+ "content": "<note>",
+ "tags": [
+ ["a", "<34235 | 34236>:<video event author pubkey>:<d-identifier of video event>", "<optional relay url>"],
+ ["e", "<event-id", "<relay-url>"]
+ ["d", "<34235 | 34236>:<video event author pubkey>:<d-identifier of video event>"],
+ ["viewed", <start>, <end>],
+ ]
+ }
diff --git a/docs/README.md.css.html b/docs/README.md.css.html
index 87d842b..7abd966 100644
--- a/docs/README.md.css.html
+++ b/docs/README.md.css.html
@@ -257,6 +257,7 @@ marketplaces)</a></li>
<li><a href="58.md.css.html">NIP-58: Badges</a></li>
<li><a href="59.md.css.html">NIP-59: Gift Wrap</a></li>
<li><a href="65.md.css.html">NIP-65: Relay List Metadata</a></li>
+<li><a href="71.md.css.html">NIP-71: Video Events</a></li>
<li><a href="72.md.css.html">NIP-72: Moderated Communities</a></li>
<li><a href="75.md.css.html">NIP-75: Zap Goals</a></li>
<li><a href="78.md.css.html">NIP-78: Application-specific data</a></li>
@@ -632,130 +633,150 @@ href="https://github.com/shocknet/Lightning.Pub/blob/master/proto/autogenerated/
<td><a href="51.md.css.html">51</a></td>
</tr>
<tr class="even">
+<td><code>30005</code></td>
+<td>Video sets</td>
+<td><a href="51.md.css.html">51</a></td>
+</tr>
+<tr class="odd">
<td><code>30008</code></td>
<td>Profile Badges</td>
<td><a href="58.md.css.html">58</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30009</code></td>
<td>Badge Definition</td>
<td><a href="58.md.css.html">58</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30015</code></td>
<td>Interest sets</td>
<td><a href="51.md.css.html">51</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30017</code></td>
<td>Create or update a stall</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30018</code></td>
<td>Create or update a product</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30019</code></td>
<td>Marketplace UI/UX</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30020</code></td>
<td>Product sold as an auction</td>
<td><a href="15.md.css.html">15</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30023</code></td>
<td>Long-form Content</td>
<td><a href="23.md.css.html">23</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30024</code></td>
<td>Draft Long-form Content</td>
<td><a href="23.md.css.html">23</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30030</code></td>
<td>Emoji sets</td>
<td><a href="51.md.css.html">51</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30063</code></td>
<td>Release artifact sets</td>
<td><a href="51.md.css.html">51</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30078</code></td>
<td>Application-specific Data</td>
<td><a href="78.md.css.html">78</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30311</code></td>
<td>Live Event</td>
<td><a href="53.md.css.html">53</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30315</code></td>
<td>User Statuses</td>
<td><a href="38.md.css.html">38</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30402</code></td>
<td>Classified Listing</td>
<td><a href="99.md.css.html">99</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30403</code></td>
<td>Draft Classified Listing</td>
<td><a href="99.md.css.html">99</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30617</code></td>
<td>Repository announcements</td>
<td><a href="34.md.css.html">34</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30818</code></td>
<td>Wiki article</td>
<td><a href="54.md.css.html">54</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30819</code></td>
<td>Redirects</td>
<td><a href="54.md.css.html">54</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31922</code></td>
<td>Date-Based Calendar Event</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31923</code></td>
<td>Time-Based Calendar Event</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31924</code></td>
<td>Calendar</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31925</code></td>
<td>Calendar Event RSVP</td>
<td><a href="52.md.css.html">52</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31989</code></td>
<td>Handler recommendation</td>
<td><a href="89.md.css.html">89</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31990</code></td>
<td>Handler information</td>
<td><a href="89.md.css.html">89</a></td>
</tr>
+<tr class="even">
+<td><code>34235</code></td>
+<td>Video Event</td>
+<td><a href="71.md.css.html">71</a></td>
+</tr>
+<tr class="odd">
+<td><code>34236</code></td>
+<td>Short-form Portrait Video Event</td>
+<td><a href="71.md.css.html">71</a></td>
+</tr>
+<tr class="even">
+<td><code>34237</code></td>
+<td>Video View Event</td>
+<td><a href="71.md.css.html">71</a></td>
+</tr>
<tr class="odd">
<td><code>34550</code></td>
<td>Community Definition</td>
diff --git a/docs/README.md.html b/docs/README.md.html
index eab7c0b..5b95ee5 100644
--- a/docs/README.md.html
+++ b/docs/README.md.html
@@ -86,6 +86,7 @@ marketplaces)</a></li>
<li><a href="58.md.html">NIP-58: Badges</a></li>
<li><a href="59.md.html">NIP-59: Gift Wrap</a></li>
<li><a href="65.md.html">NIP-65: Relay List Metadata</a></li>
+<li><a href="71.md.html">NIP-71: Video Events</a></li>
<li><a href="72.md.html">NIP-72: Moderated Communities</a></li>
<li><a href="75.md.html">NIP-75: Zap Goals</a></li>
<li><a href="78.md.html">NIP-78: Application-specific data</a></li>
@@ -461,130 +462,150 @@ href="https://github.com/shocknet/Lightning.Pub/blob/master/proto/autogenerated/
<td><a href="51.md.html">51</a></td>
</tr>
<tr class="even">
+<td><code>30005</code></td>
+<td>Video sets</td>
+<td><a href="51.md.html">51</a></td>
+</tr>
+<tr class="odd">
<td><code>30008</code></td>
<td>Profile Badges</td>
<td><a href="58.md.html">58</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30009</code></td>
<td>Badge Definition</td>
<td><a href="58.md.html">58</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30015</code></td>
<td>Interest sets</td>
<td><a href="51.md.html">51</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30017</code></td>
<td>Create or update a stall</td>
<td><a href="15.md.html">15</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30018</code></td>
<td>Create or update a product</td>
<td><a href="15.md.html">15</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30019</code></td>
<td>Marketplace UI/UX</td>
<td><a href="15.md.html">15</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30020</code></td>
<td>Product sold as an auction</td>
<td><a href="15.md.html">15</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30023</code></td>
<td>Long-form Content</td>
<td><a href="23.md.html">23</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30024</code></td>
<td>Draft Long-form Content</td>
<td><a href="23.md.html">23</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30030</code></td>
<td>Emoji sets</td>
<td><a href="51.md.html">51</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30063</code></td>
<td>Release artifact sets</td>
<td><a href="51.md.html">51</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30078</code></td>
<td>Application-specific Data</td>
<td><a href="78.md.html">78</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30311</code></td>
<td>Live Event</td>
<td><a href="53.md.html">53</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30315</code></td>
<td>User Statuses</td>
<td><a href="38.md.html">38</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30402</code></td>
<td>Classified Listing</td>
<td><a href="99.md.html">99</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30403</code></td>
<td>Draft Classified Listing</td>
<td><a href="99.md.html">99</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30617</code></td>
<td>Repository announcements</td>
<td><a href="34.md.html">34</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>30818</code></td>
<td>Wiki article</td>
<td><a href="54.md.html">54</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>30819</code></td>
<td>Redirects</td>
<td><a href="54.md.html">54</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31922</code></td>
<td>Date-Based Calendar Event</td>
<td><a href="52.md.html">52</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31923</code></td>
<td>Time-Based Calendar Event</td>
<td><a href="52.md.html">52</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31924</code></td>
<td>Calendar</td>
<td><a href="52.md.html">52</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31925</code></td>
<td>Calendar Event RSVP</td>
<td><a href="52.md.html">52</a></td>
</tr>
-<tr class="odd">
+<tr class="even">
<td><code>31989</code></td>
<td>Handler recommendation</td>
<td><a href="89.md.html">89</a></td>
</tr>
-<tr class="even">
+<tr class="odd">
<td><code>31990</code></td>
<td>Handler information</td>
<td><a href="89.md.html">89</a></td>
</tr>
+<tr class="even">
+<td><code>34235</code></td>
+<td>Video Event</td>
+<td><a href="71.md.html">71</a></td>
+</tr>
+<tr class="odd">
+<td><code>34236</code></td>
+<td>Short-form Portrait Video Event</td>
+<td><a href="71.md.html">71</a></td>
+</tr>
+<tr class="even">
+<td><code>34237</code></td>
+<td>Video View Event</td>
+<td><a href="71.md.html">71</a></td>
+</tr>
<tr class="odd">
<td><code>34550</code></td>
<td>Community Definition</td>
diff --git a/docs/README.md.txt b/docs/README.md.txt
index c7057a6..8763291 100644
--- a/docs/README.md.txt
+++ b/docs/README.md.txt
@@ -76,6 +76,7 @@ List
- NIP-58: Badges
- NIP-59: Gift Wrap
- NIP-65: Relay List Metadata
+- NIP-71: Video Events
- NIP-72: Moderated Communities
- NIP-75: Zap Goals
- NIP-78: Application-specific data
@@ -231,6 +232,8 @@ Event Kinds

30004 Curation sets 51

+ 30005 Video sets 51
+
30008 Profile Badges 58

30009 Badge Definition 58
@@ -281,6 +284,13 @@ Event Kinds

31990 Handler information 89

+ 34235 Video Event 71
+
+ 34236 Short-form Portrait Video 71
+ Event
+
+ 34237 Video View Event 71
+
34550 Community Definition 72

39000-9 Group metadata events 29
Author Public Key
npub10sa86vqjt7u28063mxlzs55lyjtplayvxym024gpwduv7a4m8lpskkmfz7