From fb3d8b12b391cf2cb158bb8ee8263b0ec2e612df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sof=C3=ADa=20Aritz?= Date: Tue, 19 Dec 2023 11:23:07 +0000 Subject: [PATCH] Add 0003-ayb-config-improvement-schema.json --- 0003-ayb-config-improvement-schema.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 0003-ayb-config-improvement-schema.json diff --git a/0003-ayb-config-improvement-schema.json b/0003-ayb-config-improvement-schema.json new file mode 100644 index 0000000..9b7a2ff --- /dev/null +++ b/0003-ayb-config-improvement-schema.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://github.com/marcua/ayb/tree/main/docs/config/endpoints/schema.json", + "title": "Endpoints", + "description": "Endpoints provided by the ayb frontend", + "type": "object", + "properties": { + "profile": { + "description": "The profile page", + "examples": ["/u/{entity}"], + "type": "string" + }, + "confirmation": { + "description": "The confirmation endpoint", + "examples": ["/auth/confirm/{entity}"], + "type": "string" + } + }, + "required": ["profile", "confirmation"] +} \ No newline at end of file