aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--documentation/schemas/Article20
-rw-r--r--documentation/schemas/Feed19
2 files changed, 39 insertions, 0 deletions
diff --git a/documentation/schemas/Article b/documentation/schemas/Article
new file mode 100644
index 00000000..150f244d
--- /dev/null
+++ b/documentation/schemas/Article
@@ -0,0 +1,20 @@
+.. -*-restructuredtext-*-
+
+
+Schema for a Article object
+===========================
+
+ {
+ article_id: (str),
+ type: (str),
+ article_date: (datetime),
+ article_link: (str),
+ article_title: (str),
+ article_content: (str),
+ article_readed: (bool),
+ article_like: (bool)
+ }
+
+
+Schema description
+==================
diff --git a/documentation/schemas/Feed b/documentation/schemas/Feed
new file mode 100644
index 00000000..a67bc407
--- /dev/null
+++ b/documentation/schemas/Feed
@@ -0,0 +1,19 @@
+.. -*-restructuredtext-*-
+
+
+Schema for a Feed object
+===========================
+
+ {
+ feed_id: (str),
+ type: (int),
+ feed_image: (datetime),
+ feed_title: (str),
+ feed_link: (str),
+ site_link: (str),
+ mail: (bool),
+ }
+
+
+Schema description
+==================
bgstack15