From 21a5ecb73c4db5c4d1cc1ac020c6f07f674051d0 Mon Sep 17 00:00:00 2001
From: Adam Procter <adamprocter@researchnot.es>
Date: Tue, 10 Mar 2020 10:51:36 +0000
Subject: [PATCH] scheme v 0.0.1

---
 SCHEMA.md | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 SCHEMA.md

diff --git a/SCHEMA.md b/SCHEMA.md
new file mode 100644
index 0000000..9d4681d
--- /dev/null
+++ b/SCHEMA.md
@@ -0,0 +1,62 @@
+# Schema
+
+This is version 1 of the API documents to be created. For now this document outlines the schema for a number of the attributes within nodenogg.in
+
+## Nodes
+
+```
+ "nodes": [
+    {
+      "nodeid": "wanxtrk54ulhl0k8bd5mqd",
+      "nodetext": "#\nhello",
+      "nodeowner": "iPhoneX",
+      "content_type": "sheet",
+      "deleted": true,
+      "attachment_name": ""
+    }
+ ]
+```
+
+## Connections
+
+```
+
+"connections": [
+    {
+      "connectid": "xboi6bducmngjv0yrgdhpf",
+      "startid": "7nltu5jdotbeb6t9hgm9dd",
+      "endid": "z67hbvdxr8nrsixn5nt6b9",
+      "connected": "true"
+    }
+
+]
+
+```
+
+## Positions
+
+```
+
+"positions": [
+{
+"nodeid": "xwio4e5etcevxag3lzyj4",
+"xpos": 831,
+"ypos": 293
+}
+]
+
+```
+
+## Emojis
+
+```
+
+"emojis": [
+{
+"emojiid": "nxs9836kgelncf4bg61w7",
+"nodeid": "cejt3ul3b7awnh5gin8b2c",
+"emojitext": "👍"
+}
+]
+
+```
-- 
GitLab