From c55b974e4f33243202c5719fe1d35466d2f44cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sof=C3=ADa=20Aritz?= Date: Tue, 19 Dec 2023 18:00:43 +0000 Subject: [PATCH] Update 0003-ayb-config-improvement-schema.json --- 0003-ayb-config-improvement-schema.json | 28 +++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/0003-ayb-config-improvement-schema.json b/0003-ayb-config-improvement-schema.json index feabf75..67f259c 100644 --- a/0003-ayb-config-improvement-schema.json +++ b/0003-ayb-config-improvement-schema.json @@ -1,19 +1,25 @@ { "$schema": "http://json-schema.org/draft-07/schema", "$id": "https://raw.githubusercontent.com/marcua/ayb/main/docs/config/endpoints/schema.json", - "title": "Endpoints", - "description": "Endpoints provided by the ayb frontend", + "title": "ayb web information", + "description": "Information used by the ayb server to interact with the UI", "type": "object", "properties": { - "profile": { - "description": "The profile page", - "examples": ["/u/{entity}"], - "type": "string" - }, - "confirmation": { - "description": "The confirmation endpoint", - "examples": ["/auth/confirm/{entity}"], - "type": "string" + "endpoints": { + "description": "The endpoints of the 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"]