From a355f27adb7ce121ae71d525ed4b029c047c3e58 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 30 Nov 2025 20:50:46 -0300 Subject: [PATCH] schema: timestamp type instead of numeric. --- schema/schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/schema.go b/schema/schema.go index e5ad62d..e1af956 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -149,7 +149,7 @@ func NewValidatorFromSchema(sch Schema) Validator { } return nil }, - "numeric": func(value string, spec *nextSpec) error { + "timestamp": func(value string, spec *nextSpec) error { _, err := strconv.ParseUint(value, 10, 64) return err },