summaryrefslogtreecommitdiffstats
path: root/schema.json
diff options
context:
space:
mode:
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": {}
+ }
+ }
+}