Commit Graph

12 Commits

Author SHA1 Message Date
fiatjaf
18887727d1 schema: hardcode handle "d" tag automatically. 2025-11-23 13:41:16 -03:00
fiatjaf
e4babdd2bf schema: handle required tags. 2025-11-23 13:26:55 -03:00
fiatjaf
75e0b77d54 schema: use the same validators on content. 2025-11-23 13:20:23 -03:00
fiatjaf
0b239c9fe0 schema: support generic tags. 2025-11-23 13:03:16 -03:00
fiatjaf
b9c9528fa5 schema: pluggable validators (with defaults) and checking whether some are missing. 2025-11-23 12:51:08 -03:00
fiatjaf
b820569d93 schema: refactoring and making it usable and flexible. 2025-11-23 11:27:17 -03:00
fiatjaf
55a43e46b7 use xhex everywhere. 2025-11-23 06:57:54 -03:00
fiatjaf
4cbca27104 schema: improve errors, disallow dangling spaces. 2025-11-23 06:57:54 -03:00
fiatjaf
db835ef3c4 khatru: add policies to validate event tags by kind and replace reactions. 2025-11-11 16:34:17 -03:00
fiatjaf
f0c95d6860 more tweaks to kinds schema. 2025-08-22 18:02:19 -03:00
fiatjaf
3eaf02ff6a schema: add many more kinds. 2025-08-21 17:40:25 -03:00
fiatjaf
cd82cd7ce7 event typechecker. 2025-08-21 16:17:53 -03:00