diff --git a/Gemfile.lock b/Gemfile.lock index ce8cb47..6dc2a88 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,7 +8,7 @@ GIT PATH remote: . specs: - json_schema_form (0.15.23) + json_schema_form (0.15.24) activesupport (~> 6) dry-schema (~> 1.13) json_schemer (= 2.1.1) diff --git a/lib/jsf/forms/section.rb b/lib/jsf/forms/section.rb index 7728ba2..6212346 100644 --- a/lib/jsf/forms/section.rb +++ b/lib/jsf/forms/section.rb @@ -73,6 +73,9 @@ def dry_schema(passthru) optional(:minItems).filled(:integer) required(:items).hash required(:type) + optional(:$id).filled(:string) + optional(:title).maybe(:string) + # optional(:default) end end diff --git a/lib/jsf/version.rb b/lib/jsf/version.rb index e385eba..e454de6 100644 --- a/lib/jsf/version.rb +++ b/lib/jsf/version.rb @@ -1,3 +1,3 @@ module JSF - VERSION = "0.15.23" + VERSION = "0.15.24" end