From 3c8205e0b9d44402b06c0033ad548e81fb8cf2d2 Mon Sep 17 00:00:00 2001 From: alyx Date: Thu, 14 Dec 2023 16:41:11 -0500 Subject: Basic onboarding flow --- schema.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 schema.json (limited to 'schema.json') 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": {} + } + } +} -- cgit v1.2.3-54-g00ecf