registrar

Files related to my duties as Registrar of Agora Nomic
git clone git://juanmeleiro.mat.br/registrar
Log | Files | Refs | README

registrar.log.schema.json (1324B)


      1 {
      2 	"$schema": "https://json-schema.org/draft/2020-12/vocab/validation",
      3 	"$vocabulary": {
      4 		"https://json-schema.org/draft/2020-12/vocab/validation": true
      5 	},
      6 	"$id": "http://juanmeleiro.mat.br/agora/specs/registrar.log.schema.json",
      7 	"$ref": "http://juanmeleiro.mat.br/agora/specs/log.schema.json",
      8 	"items": {
      9 		"type": "object",
     10 		"oneOf": [
     11 			{
     12 				"properties": {
     13 					"what": {
     14 						"const": "register"
     15 					}
     16 				},
     17 				"required": ["who", "whence"]
     18 			},
     19 			{
     20 				"properties": {
     21 					"what": {
     22 						"const": "weekly"
     23 					}
     24 				}
     25 			},
     26 			{
     27 				"properties": {
     28 					"what": {
     29 						"const": "monthly"
     30 					}
     31 				}
     32 			},
     33 			{
     34 				"properties": {
     35 					"what": {
     36 						"const": "activation"
     37 					}
     38 				},
     39 				"required": ["who"]
     40 			},
     41 			{
     42 				"properties": {
     43 					"what": {
     44 						"const": "deactivation"
     45 					}
     46 				},
     47 				"required": ["who"]
     48 			},
     49 			{
     50 				"properties": {
     51 					"what": {
     52 						"const": "deregister"
     53 					}
     54 				},
     55 				"required": ["who"]
     56 			},
     57 			{
     58 				"properties": {
     59 					"what": {
     60 						"const": "readdress"
     61 					}
     62 				},
     63 				"required": ["who", "whither"]
     64 			},
     65 			{
     66 				"properties": {
     67 					"what": {
     68 						"const": "rename"
     69 					}
     70 				},
     71 				"required": ["who", "whither"]
     72 			},
     73 			{
     74 				"properties": {
     75 					"what": {
     76 						"const": "writ"
     77 					}
     78 				},
     79 				"required": ["who"]
     80 			}
     81 		]
     82 	}
     83 }