設定オブジェクトのタイプ設定の長さを制限する方法があるか気になっています。この設定があります。
custom_header_links:
type: objects
default: []
schema:
name: "link"
identifier: text
properties:
text:
type: string
required: true
validations:
min_length: 1
max_length: 100
title:
type: string
validations:
min_length: 1
max_length: 1000
url:
type: string
required: true
validations:
min_length: 1
max_length: 2048
url: true
target:
type: enum
choices:
- blank
- self
長さを追加してリンクの数量を制限できますか?
よろしくお願いします。