(Quick Reference)

inList

目的
Purpose

Validates that a value is within a range or collection of constrained values.

使用例
Examples

name inList: ["Joe", "Fred", "Bob"]

詳細
Description

Constrains a value so that it must be contained within the given list.

This constraint influences schema generation.

Error Code: className.propertyName.not.inList