Tips on how to create quality JSON schemas and prompts
enum
type if your data has limited outcomes.
If a field has a predictable set of values (e.g., “Yes” / “No” or predefined categories), use an enum
to constrain the output and improve consistency.