22 Commits

Author SHA1 Message Date
fiatjaf cbf335a8fa schema: dangling space is not a problem in content. 2026-05-03 13:47:23 -03:00
fiatjaf ff03090610 schema: update url. 2026-04-03 08:23:04 -03:00
fiatjaf 55c5194bdf schema: fix tests. 2026-03-20 20:26:12 -03:00
fiatjaf 24f89293d9 schema: rename nextSpec to ContentSpec. 2026-01-10 00:01:17 -03:00
fiatjaf 0d2dbb13ac schema: support "multiple" tag. 2026-01-09 22:36:06 -03:00
fiatjaf eb2be4efe1 schema: fix parsing yaml as json, typo. 2025-12-03 22:35:26 -03:00
fiatjaf 2502299e9c schema: expose InUse and Description. 2025-12-03 15:49:04 -03:00
fiatjaf 427e393460 schema: fetchSchemaFromURL returns a parsed schema. 2025-12-03 11:43:16 -03:00
fiatjaf a355f27adb schema: timestamp type instead of numeric. 2025-11-30 20:50:49 -03:00
fiatjaf ff5655ac55 schema: tests passing. 2025-11-23 17:52:29 -03:00
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