diff --git a/lib/jsonschema.lua b/lib/jsonschema.lua index 1422632..9c4b71f 100644 --- a/lib/jsonschema.lua +++ b/lib/jsonschema.lua @@ -1002,7 +1002,7 @@ generate_validator = function(ctx, schema) end ctx:stmt(') then') - ctx:stmt(' return false, "object matches none of the requireds" .. ' .. requires) + ctx:stmt(' return false, "object matches none of the required" .. ' .. requires) ctx:stmt('end') end