diff --git a/SCHEMA.md b/SCHEMA.md new file mode 100644 index 0000000000000000000000000000000000000000..9d4681d574700c9f2f0b23c55ce8930465648567 --- /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": "ðŸ‘" +} +] + +```