Update 0003-ayb-config-improvement-schema.json
This commit is contained in:
parent
f1675c182c
commit
c55b974e4f
1 changed files with 17 additions and 11 deletions
|
@ -1,19 +1,25 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"$id": "https://raw.githubusercontent.com/marcua/ayb/main/docs/config/endpoints/schema.json",
|
"$id": "https://raw.githubusercontent.com/marcua/ayb/main/docs/config/endpoints/schema.json",
|
||||||
"title": "Endpoints",
|
"title": "ayb web information",
|
||||||
"description": "Endpoints provided by the ayb frontend",
|
"description": "Information used by the ayb server to interact with the UI",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"profile": {
|
"endpoints": {
|
||||||
"description": "The profile page",
|
"description": "The endpoints of the frontend",
|
||||||
"examples": ["/u/{entity}"],
|
"type": "object",
|
||||||
"type": "string"
|
"properties": {
|
||||||
},
|
"profile": {
|
||||||
"confirmation": {
|
"description": "The profile page",
|
||||||
"description": "The confirmation endpoint",
|
"examples": ["/u/{entity}"],
|
||||||
"examples": ["/auth/confirm/{entity}"],
|
"type": "string"
|
||||||
"type": "string"
|
},
|
||||||
|
"confirmation": {
|
||||||
|
"description": "The confirmation endpoint",
|
||||||
|
"examples": ["/auth/confirm/{entity}"],
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["profile", "confirmation"]
|
"required": ["profile", "confirmation"]
|
||||||
|
|
Loading…
Reference in a new issue