summaryrefslogtreecommitdiffstats
path: root/schema.json
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2023-12-14 16:41:11 -0500
committeralyx <alyx@aleteoryx.me>2023-12-14 16:41:11 -0500
commit3c8205e0b9d44402b06c0033ad548e81fb8cf2d2 (patch)
treec5cd2e30d7982629f739ee2e393e80608f2cc276 /schema.json
parent95c2e6bf6700429e7bae9debff98b00315dfd838 (diff)
downloadtumblr_follower_mgr-master.tar.gz
tumblr_follower_mgr-master.tar.bz2
tumblr_follower_mgr-master.zip
Basic onboarding flowHEADmaster
Diffstat (limited to 'schema.json')
-rw-r--r--schema.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/schema.json b/schema.json
new file mode 100644
index 0000000..296d086
--- /dev/null
+++ b/schema.json
@@ -0,0 +1,28 @@
+{
+ "type": "object",
+ "properties": {
+ "system_status": {
+ "type": "string",
+ "enum": ["init", "tumblr", "indexing", "ready"],
+ "default": "init"
+ },
+ "oauth_consumer_key": { "type": "string" },
+ "oauth_secret_key": { "type": "string" },
+
+ "tumblr_access_token": { "type": "string" },
+ "tumblr_refresh_token": { "type": "string" },
+ "tumblr_expiry_date": { "type": "number" },
+
+ "follow_index": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "checked": { "type": "boolean", "default": false },
+ "tags": { "type": "array", "items": { "type": "string" }, "uniqueItems": true, "default": [] }
+ }
+ },
+ "default": {}
+ }
+ }
+}