How to Validate At Least One Enum Value in AJV Arrays
Summary AJV cannot natively enforce “at least one occurrence of a specific enum value” in an array without custom keywords or dependent schemas. The question arises when a developer has an array of objects, each with a name field that must be one of several enum values, and they want to guarantee that at least … Read more