Add 0003-ayb-config-improvement-schema.json

This commit is contained in:
Sofía Aritz 2023-12-19 11:23:07 +00:00
parent 2918478402
commit fb3d8b12b3

View file

@ -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"]
}