2023-03-27 05:52:21 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
2023-04-13 05:46:35 +00:00
|
|
|
"$id": "nationchains/schema/www",
|
2023-11-05 11:03:25 +00:00
|
|
|
"title": "www",
|
|
|
|
"description": "A space web available for a domaine, with accessright",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-11-05 11:03:25 +00:00
|
|
|
"tribeId": {
|
|
|
|
"title":"Tribe name",
|
|
|
|
"description": "A unique string as tribe",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "string",
|
|
|
|
"pattern":"^[a-z0-9]*$"
|
|
|
|
},
|
2023-11-05 11:03:25 +00:00
|
|
|
"website": {
|
|
|
|
"description": "Folder name into a tribeId/www/",
|
|
|
|
"title":"web space",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "string",
|
|
|
|
},
|
|
|
|
"status": {
|
2023-11-05 11:03:25 +00:00
|
|
|
"title":"Status",
|
|
|
|
"description": "Status of website ",
|
2023-03-27 05:52:21 +00:00
|
|
|
"default": "active",
|
|
|
|
"type": "string",
|
2023-11-05 11:03:25 +00:00
|
|
|
"enum": ["chain","tochain","unchain"]
|
2023-03-27 05:52:21 +00:00
|
|
|
},
|
|
|
|
"url": {
|
2023-11-05 11:03:25 +00:00
|
|
|
"title":"url of website",
|
|
|
|
"description": "Must be set in domaine name to the apxtrib",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "string",
|
2023-11-05 11:03:25 +00:00
|
|
|
"format":"url"
|
2023-03-27 05:52:21 +00:00
|
|
|
}
|
|
|
|
},
|
2023-11-05 11:03:25 +00:00
|
|
|
"required": ["tribeId","website", "status"],
|
|
|
|
"apxid": "website",
|
|
|
|
"apxidx": [
|
|
|
|
{ "name":"lst_website","keyval": "website"}
|
|
|
|
],
|
|
|
|
"apxaccessrights":{
|
|
|
|
"owner":{"D":[],"R":[],"U":[]},
|
|
|
|
"mayor":{"C":[]},
|
|
|
|
"person":{"R":[]}
|
|
|
|
}
|
2023-03-27 05:52:21 +00:00
|
|
|
}
|