2023-03-27 05:52:21 +00:00
|
|
|
{
|
|
|
|
"$schema":"http://json-schema.org/schema#",
|
2023-11-19 15:34:37 +00:00
|
|
|
"$id":"adminapi/schema/nations",
|
2023-03-27 05:52:21 +00:00
|
|
|
"title": "Nation definition",
|
|
|
|
"description": "A nation from apXtrib world",
|
|
|
|
"$comment":"see ./lg/nations_lg.json for description in your languange lg",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"nationId": {
|
2023-06-02 08:21:01 +00:00
|
|
|
"title":"Unique nation name",
|
|
|
|
"description":"A unique string that define a nation a-z and 0-9 onlyin a social world",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "string",
|
|
|
|
"pattern":"^[a-z0-9]*$"
|
|
|
|
},
|
|
|
|
"dtcreate": {
|
2023-06-02 08:21:01 +00:00
|
|
|
"title":"Creation date",
|
|
|
|
"description":"Nation date of creation",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "string",
|
2023-06-28 13:23:17 +00:00
|
|
|
"format":"date-time"
|
2023-03-27 05:52:21 +00:00
|
|
|
},
|
|
|
|
"contracts":{
|
2023-06-02 08:21:01 +00:00
|
|
|
"title":"Social contract of the nation",
|
|
|
|
"description":"A uri of the signed js contract that rules this nation",
|
2023-03-27 05:52:21 +00:00
|
|
|
"type": "string",
|
|
|
|
"format":"uri"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["nationId", "dtcreate","contracts"],
|
|
|
|
"additionalProperties":false,
|
2023-11-05 11:03:25 +00:00
|
|
|
"apxid":"nationId",
|
|
|
|
"apxuniquekey":["nationId"],
|
2023-03-27 05:52:21 +00:00
|
|
|
"apxsearchindex": [
|
2023-11-05 11:03:25 +00:00
|
|
|
{ "name":"lst_nationId", "keyval": "nationId"}
|
|
|
|
],
|
|
|
|
"apxaccessrights":{
|
|
|
|
"pagan":{"C":[],"R":[]}
|
|
|
|
}
|
2023-03-27 05:52:21 +00:00
|
|
|
}
|