{ "$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": { "tribeId": { "title": "Tribe name", "description": "A unique string as tribe", "options": { "$ref": "adminapi/objects/tribess/idx/lst_tribeId.json" } }, "website": { "description": "Folder name into a tribeId/www/", "title": "web space", "type": "string" }, "status": { "title": "Status", "description": "Status of website ", "default": "active", "type": "string", "enum": [ "chain", "tochain", "unchain" ] }, "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": { "type": "string""default": 0 } }, "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", "apxidx": [ { "name": "lst_website", "type": "array", "keyval": "website" } ], "apxaccessrights": { "owner": { "D": [], "R": [], "U": [] }, "mayor": { "C": [] }, "person": { "R": [] } } }