From 0d2dbb13accc1ddee412538c6c71853ba7a86e1f Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 9 Jan 2026 22:36:06 -0300 Subject: [PATCH] schema: support "multiple" tag. --- schema/schema.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/schema/schema.go b/schema/schema.go index e54f6ea..2055b56 100644 --- a/schema/schema.go +++ b/schema/schema.go @@ -57,10 +57,11 @@ type KindSchema struct { InUse bool `yaml:"in_use"` Content nextSpec `yaml:"content"` Required []string `yaml:"required"` - Tags []tagSpec `yaml:"tags"` + Multiple []string `yaml:"multiple"` + Tags []TagSpec `yaml:"tags"` } -type tagSpec struct { +type TagSpec struct { Name string `yaml:"name"` Prefix string `yaml:"prefix"` Next *nextSpec `yaml:"next"`