adminapi/schema/wwws.json

117 lines
2.7 KiB
JSON
Raw Permalink Normal View History

2024-10-30 15:20:47 +00:00
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "nationchains/schema/www",
"title": "www",
"description": "A space web available for a domaine, with accessright",
"type": "object",
"properties": {
"website": {
"description": "Folder name into a tribeId/www/",
"title": "web space",
"type": "string"
},
"dns": {
"title": "domaine name list to access",
"description": "Add in nginx nameserver local website.tribeId LAN domaine.tld",
"type": "array",
"items": {
"type": "string"
}
},
"apxtri": {
"title": "apxtri value to use in a front end project",
"type": "object",
"properties": {
"headers": {
"type": "object",
"properties": {
"xtrkversion": {
"type": "integer",
"default": 1
},
"xalias": {
"type": "string",
"default": "anonymous"
},
"xapp": {
"type": "string",
"comment": "the website"
},
"xdays": {
"type": "integer",
"default": 0
},
"xhash": {
"type": "string",
"default": "anonymous"
},
"xlang": {
"type": "string",
"default": "en"
},
"xprofils": {
"type": "string",
"default": "anonymous"
},
"xtribe": {
"type": "string",
"comment": "the tribeid"
},
"xuuid": {
2024-11-10 23:33:30 +00:00
"type": "string",
"default": 0
2024-10-30 15:20:47 +00:00
}
},
"required": [
"xtrkversion",
"xalias",
"xapp",
"xdays",
"xhash",
"xlang",
"xprofils",
"xtribe",
"xuuid"
]
}
},
"required": [
"headers"
]
},
"pages": {
"title": "a page name of a front end",
"description": "Those obejct allow to run a request like https://dns[]/api/adminapi/localdb(anonymous|)/tribeId/website/pagesname/version to return some contexte items are collection of object items @todo explain list of possible",
"type": "object"
}
},
"required": [
"tribeId",
"website",
"status"
],
"apxid": "website",
2024-11-10 23:33:30 +00:00
"apxuniquekey": [
"website"
],
2024-10-30 15:20:47 +00:00
"apxidx": [
{
"name": "lst_website",
"type": "array",
"keyval": "website"
}
],
"apxaccessrights": {
"owner": {
"D": [],
"R": [],
"U": []
},
"mayor": {
"C": []
},
"person": {
"R": []
}
}
}