Collects the string enum/const values declared by any branch of a schema, ignoring branches
that declare no enum/const. Unlike getSchemaEnumValues, a schema that mixes an enum branch
with a free-form branch still yields the enum values (rather than bailing out). Non-string enum
entries are excluded.
Collects the string
enum/constvalues declared by any branch of a schema, ignoring branches that declare no enum/const. Unlike getSchemaEnumValues, a schema that mixes an enum branch with a free-form branch still yields the enum values (rather than bailing out). Non-string enum entries are excluded.