validate
Here are 352 public repositories matching this topic...
-
Updated
Oct 21, 2020 - JavaScript
-
Updated
Mar 7, 2019 - JavaScript
- [ Y] Are you running the latest version?
- [ Y] Have you included sample input, output, error, and expected output?
- [ Y] Have you checked if you are using correct configuration?
- [ N] Did you try online tool?
Description
When a json includes a number, and running the code example appearing in fast-xml-parser site, causes
default
const V = require('fastest-validator');
const v = new V();
const schema = {
tuple: {
type: 'tuple',
empty: false,
items: [{ type: 'string', default: '1' }],
},
};
const data = { tuple: [] };
console.log(v.validate(data, schema));
console.log(data);[
{
type: 'tupleEmpty',
message: "The 'tuple' field must not be an empty
-
Updated
Apr 30, 2020 - JavaScript
-
Updated
Jul 16, 2020 - JavaScript
-
Updated
Oct 19, 2020 - JavaScript
-
Updated
Oct 9, 2020 - Go
-
Updated
Mar 1, 2017 - HTML
-
Updated
Jun 25, 2020 - PHP
-
Updated
Sep 12, 2020 - JavaScript
-
Updated
Sep 19, 2020 - TypeScript
-
Updated
May 4, 2020 - JavaScript
-
Updated
Mar 20, 2019 - Shell
-
Updated
Jan 7, 2020 - JavaScript
-
Updated
Feb 10, 2020 - C#
-
Updated
Jan 1, 2017 - HTML
-
Updated
Jan 19, 2020 - JavaScript
-
Updated
Oct 15, 2020 - Python
-
Updated
Oct 21, 2019 - Python
-
Updated
Jul 30, 2020 - JavaScript
-
Updated
Jul 19, 2020 - JavaScript
Add the supported locales for various validators by default reactrix support english and french languages.
you will find all locales in locales folder
Example :
{
"messages": {
"alpha" : "The {{input}} field may only contain alphabetic characters"
}
}Improve this page
Add a description, image, and links to the validate topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the validate topic, visit your repo's landing page and select "manage topics."


e.g.
isPassportNumber, etc.