The enum keyword allows only values from a fixed list.
{"enum": ["admin", "editor", "viewer"]}
Use enum for status fields, roles and other closed option sets.