Add 0003-ayb-config-improvement-schema.json
This commit is contained in:
parent
2918478402
commit
fb3d8b12b3
1 changed files with 20 additions and 0 deletions
20
0003-ayb-config-improvement-schema.json
Normal file
20
0003-ayb-config-improvement-schema.json
Normal 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"]
|
||||||
|
}
|
Loading…
Reference in a new issue