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