name inList: ["Joe", "Fred", "Bob"]
inList
Purpose
Validates that a value is within a range or collection of constrained values.
Examples
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