Update 0003-ayb-config-improvement-schema.json
This commit is contained in:
parent
5b1b47bb7f
commit
f1675c182c
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
"$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": "Endpoints",
|
||||||
"description": "Endpoints provided by the ayb frontend",
|
"description": "Endpoints provided by the ayb frontend",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"profile": {
|
"profile": {
|
||||||
"description": "The profile page",
|
"description": "The profile page",
|
||||||
"examples": ["/u/{entity}"],
|
"examples": ["/u/{entity}"],
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
|
||||||
"confirmation": {
|
|
||||||
"description": "The confirmation endpoint",
|
|
||||||
"examples": ["/auth/confirm/{entity}"],
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"required": ["profile", "confirmation"]
|
"confirmation": {
|
||||||
|
"description": "The confirmation endpoint",
|
||||||
|
"examples": ["/auth/confirm/{entity}"],
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": ["profile", "confirmation"]
|
||||||
}
|
}
|
Loading…
Reference in a new issue