absurdor.log.schema.json (1466B)
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/absurdor.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": "devalue" 15 } 16 }, 17 "required": ["value", "who"] 18 }, 19 { 20 "properties": { 21 "what": { 22 "const": "push" 23 } 24 }, 25 "required": ["who"] 26 }, 27 { 28 "properties": { 29 "what": { 30 "const": "report" 31 } 32 }, 33 "required": ["height"], 34 "allOf": [ 35 { 36 "if": { 37 "properties": { 38 "when": { 39 "$comment": "This value does not, but SHOULD correspond to the timestamp when the rule creating the Veblen was enacted.", 40 "minimum": 1722280733 41 } 42 } 43 }, 44 "then": { 45 "required": ["cost"] 46 } 47 }, 48 { 49 "if": { 50 "properties": { 51 "when": { 52 "$comment": "This is when the proposal enacting the slope was adopted. See mid:7f5a40e0-0fa2-4bd9-89b2-0a100c3aabd3@unspecified.systems" 53 "minimum": 1739754105 54 } 55 } 56 }, 57 "then": { 58 "required": ["slope"] 59 } 60 } 61 ] 62 }, 63 { 64 "properties": { 65 "what": { 66 "const": "transfer" 67 } 68 }, 69 "required": ["payed", "who"] 70 } 71 ] 72 } 73 }