A field that keeps changing type
A field that keeps changing type is a free Structured output practice rep on Get AI Reps. The AI sometimes returns "tags": "urgent" (text) and sometimes "tags": ["urgent", "billing"] (a list). You do the task on this page, and it is graded instantly against a fixed checklist. It is free and needs no signup.
Track Structured outputDifficulty Hard+25 XPFix the JSONFREE
All reps
What you practice
JSON and schemas your code can trust.
Fix AI-made JSON so a program can read it. It must pass every check on this list:
- Valid JSON
- tags is an array
- tags items are strings
- tags is required
- title is still a required string
Keep going
- Next rep: Null, do not invent
- Track: all Structured output reps
- Related track: Guardrails & security