mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
generic and custom per-field validation
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"minimum": "Must be at least {{limit}}",
|
||||
"maximum": "Must be at most {{limit}}",
|
||||
"exclusiveMinimum": "Must be greater than {{limit}}",
|
||||
"exclusiveMaximum": "Must be less than {{limit}}",
|
||||
"minLength": "Must be at least {{limit}} character(s)",
|
||||
"maxLength": "Must be at most {{limit}} character(s)",
|
||||
"minItems": "Must have at least {{limit}} items",
|
||||
"maxItems": "Must have at most {{limit}} items",
|
||||
"pattern": "Invalid format",
|
||||
"required": "This field is required",
|
||||
"type": "Invalid value type",
|
||||
"enum": "Must be one of the allowed values",
|
||||
"const": "Value does not match expected constant",
|
||||
"uniqueItems": "All items must be unique",
|
||||
"format": "Invalid format",
|
||||
"additionalProperties": "Unknown property is not allowed",
|
||||
"oneOf": "Must match exactly one of the allowed schemas",
|
||||
"anyOf": "Must match at least one of the allowed schemas"
|
||||
}
|
||||
Reference in New Issue
Block a user