2023-03-27 05:52:21 +00:00
|
|
|
{
|
2023-06-02 08:21:01 +00:00
|
|
|
"$id": "https://smatchit.io/schema/pagan",
|
|
|
|
"$comment": "To create account bin apxtrib",
|
|
|
|
"title": "Pagans identity",
|
|
|
|
"description": "A numeric id in the nationchains world",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"publickey": {
|
|
|
|
"title": "Alias's publickey",
|
|
|
|
"description": "Public key generate with openpgp.js",
|
|
|
|
"type": "string",
|
2023-11-05 11:03:25 +00:00
|
|
|
"format": "pgppublickey"
|
2023-06-02 08:21:01 +00:00
|
|
|
},
|
|
|
|
"alias": {
|
|
|
|
"title": "Alias",
|
2023-11-05 11:03:25 +00:00
|
|
|
"description": "text to remember easily a public key",
|
2023-06-02 08:21:01 +00:00
|
|
|
"type": "string",
|
2023-12-05 06:42:35 +00:00
|
|
|
"minLength": 3,
|
2023-06-02 08:21:01 +00:00
|
|
|
"pattern": "^[a-z0-9]*$"
|
2023-11-05 11:03:25 +00:00
|
|
|
},
|
|
|
|
"dt_delete": {
|
|
|
|
"title": "Date of death",
|
|
|
|
"description": "Date of alias delete request, your will will be apply",
|
|
|
|
"type": "string",
|
|
|
|
"format": "date-time"
|
|
|
|
},
|
|
|
|
"will": {
|
|
|
|
"title": "Will script after death",
|
2023-11-19 15:34:37 +00:00
|
|
|
"description": "This will script will be apply on your data 30 days after your alias death",
|
2023-11-05 11:03:25 +00:00
|
|
|
"type": "string"
|
2023-06-02 08:21:01 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["publickey", "alias"],
|
2023-11-05 11:03:25 +00:00
|
|
|
"apxid": "alias",
|
|
|
|
"apxuniquekey": ["publickey"],
|
|
|
|
"apxidx": [
|
2023-12-05 06:42:35 +00:00
|
|
|
{ "name": "lst_alias", "type":"array", "keyval": "alias" },
|
|
|
|
{ "name": "alias", "type":"view", "keyval": "alias","objkey":[],"filter":"" }
|
2023-11-05 11:03:25 +00:00
|
|
|
],
|
|
|
|
"apxaccessrights": {
|
|
|
|
"owner": { "R": [], "D": [] },
|
|
|
|
"anonymous": { "C": [], "R": ["alias"] },
|
|
|
|
"pagan": { "R": ["alias", "publickey"] }
|
|
|
|
}
|
2023-06-02 08:21:01 +00:00
|
|
|
}
|