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-03-27 05:52:21 +00:00
|
|
|
"title": "Town",
|
2023-04-13 05:46:35 +00:00
|
|
|
"description": "A pace web available for a domaine, with accessright",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"townId": {
|
|
|
|
"description": "|Towns|townnamedesc",
|
|
|
|
"desclong": "|Townss|townnamedesclong",
|
|
|
|
"info": "|Towns|townnameinfo",
|
|
|
|
"type": "string",
|
|
|
|
"pattern":"^[a-z0-9]*$"
|
|
|
|
},
|
|
|
|
"nationId": {
|
|
|
|
"description": "|Towns|nationdesc",
|
|
|
|
"desclong": "|Townss|nationdesclong",
|
|
|
|
"type": "string",
|
|
|
|
"$apxenumkey": "socialworld/objects/nations/searchindex/nations_uuid_uuid.json"
|
|
|
|
},
|
|
|
|
"status": {
|
|
|
|
"desc": "|Towns|statusdesc",
|
|
|
|
"default": "active",
|
|
|
|
"type": "string",
|
|
|
|
"$apxenumkey": "data",
|
|
|
|
"data": {
|
|
|
|
"chain": { "desc": "|Towns|statuschain" },
|
|
|
|
"tochain": { "desc": "|Towns|statustosync" },
|
|
|
|
"unchain": { "desc": "|Towns|statusunchain" }
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"url": {
|
|
|
|
"desc": "|Towns|urldesc",
|
|
|
|
"type": "string",
|
|
|
|
"apxtype":"url"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["townId", "status", "nationId", "url"],
|
|
|
|
"apxprimarykey": "townId",
|
|
|
|
"apxsearchindex": [
|
|
|
|
{ "key": "status", "value": "townId" },
|
|
|
|
{ "key": "nationId", "value": "townId" },
|
|
|
|
{ "key": "townId", "value": [] }
|
|
|
|
]
|
|
|
|
}
|