Add support for json schema enum.