botbook/node_modules/json-schema-library/lib/config/strings.ts
Rodrigo Rodriguez 6ae15fe3e5 Updated.
2024-09-04 13:13:15 -03:00

59 lines
5.1 KiB
TypeScript

/* eslint max-len: 0 */
export default {
// validation errors
AdditionalItemsError: "Array at `{{pointer}}` may not have an additional item `{{key}}`",
AdditionalPropertiesError: "Additional property `{{property}}` on `{{pointer}}` does not match schema `{{schema}}`",
AllOfError: "Value `{{value}}` at `{{pointer}}` does not match schema of `{{allOf}}`",
AnyOfError: "Value `{{value}}` at `{{pointer}}` does not match any schema of `{{anyOf}}`",
ConstError: "Expected value at `{{pointer}}` to be `{{expected}}`, but value given is `{{value}}`",
containsAnyError: "The array at `{{pointer}}` must contain at least one item",
ContainsArrayError: "The property at `{{pointer}}` must not be an array",
ContainsError: "The array at `{{pointer}}` must contain an element that matches `{{schema}}`",
EnumError: "Expected given value `{{value}}` in `{{pointer}}` to be one of `{{values}}`",
ForbiddenPropertyError: "Property name `{{property}}` at `{{pointer}}` is not allowed",
FormatDateError: "Value `{{value}}` at `{{pointer}}` is not a valid date",
FormatDateTimeError: "Value `{{value}}` at `{{pointer}}` is not a valid date-time",
FormatEmailError: "Value `{{value}}` at `{{pointer}}` is not a valid email",
FormatHostnameError: "Value `{{value}}` at `{{pointer}}` is not a valid hostname",
FormatIPV4Error: "Value `{{value}}` at `{{pointer}}` is not a valid IPv4 address",
FormatIPV4LeadingZeroError: "IPv4 addresses starting with zero are invalid, since they are interpreted as octals",
FormatIPV6Error: "Value `{{value}}` at `{{pointer}}` is not a valid IPv6 address",
FormatIPV6LeadingZeroError: "IPv6 addresses starting with zero are invalid, since they are interpreted as octals",
FormatJsonPointerError: "Value `{{value}}` at `{{pointer}}` is not a valid json-pointer",
FormatRegExError: "Value `{{value}}` at `{{pointer}}` is not a valid regular expression",
FormatTimeError: "Value `{{value}}` at `{{pointer}}` is not a valid time",
FormatURIError: "Value `{{value}}` at `{{pointer}}` is not a valid uri",
FormatURIReferenceError: "Value `{{value}}` at `{{pointer}}` is not a valid uri-reference",
FormatURITemplateError: "Value `{{value}}` at `{{pointer}}` is not a valid uri-template",
FormatURLError: "Value `{{value}}` at `{{pointer}}` is not a valid url",
InvalidDataError: "No value may be specified in `{{pointer}}`",
InvalidPropertyNameError: "Invalid property name `{{property}}` at `{{pointer}}`",
MaximumError: "Value in `{{pointer}}` is `{{length}}`, but should be `{{maximum}}` at maximum",
MaxItemsError: "Too many items in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",
MaxLengthError: "Value `{{pointer}}` should have a maximum length of `{{maxLength}}`, but got `{{length}}`.",
MaxPropertiesError: "Too many properties in `{{pointer}}`, should be `{{maximum}}` at most, but got `{{length}}`",
MinimumError: "Value in `{{pointer}}` is `{{length}}`, but should be `{{minimum}}` at minimum",
MinItemsError: "Too few items in `{{pointer}}`, should be at least `{{minItems}}`, but got `{{length}}`",
MinItemsOneError: "At least one item is required in `{{pointer}}`",
MinLengthError: "Value `{{pointer}}` should have a minimum length of `{{minLength}}`, but got `{{length}}`.",
MinLengthOneError: "A value is required in `{{pointer}}`",
MinPropertiesError: "Too few properties in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`",
MissingDependencyError: "The required propery '{{missingProperty}}' in `{{pointer}}` is missing",
MissingOneOfPropertyError: "Value at `{{pointer}}` property: `{{property}}`",
MultipleOfError: "Expected `{{value}}` in `{{pointer}}` to be multiple of `{{multipleOf}}`",
MultipleOneOfError: "Value `{{value}}` should not match multiple schemas in oneOf `{{matches}}`",
NoAdditionalPropertiesError: "Additional property `{{property}}` in `{{pointer}}` is not allowed",
NotError: "Value `{{value}}` at pointer should not match schema `{{not}}`",
OneOfError: "Value `{{value}}` in `{{pointer}}` does not match any given oneof schema",
OneOfPropertyError: "Failed finding a matching oneOfProperty schema in `{{pointer}}` where `{{property}}` matches `{{value}}`",
PatternError: "Value in `{{pointer}}` should match `{{description}}`, but received `{{received}}`",
PatternPropertiesError: "Property `{{key}}` does not match any patterns in `{{pointer}}`. Valid patterns are: {{patterns}}",
RequiredPropertyError: "The required property `{{key}}` is missing at `{{pointer}}`",
SchemaWarning: "Failed retrieving a schema from '{{pointer}}' to key '{{key}}'",
TypeError: "Expected `{{value}}` ({{received}}) in `{{pointer}}` to be of type `{{expected}}`",
UndefinedValueError: "Value must not be undefined in `{{pointer}}`",
UniqueItemsError: "Items in array must be unique. Value `{{value}}` in `{{pointer}}` is a duplicate of {{duplicatePointer}}.",
UnknownPropertyError: "Could not find a valid schema for property `{{pointer}}` within object",
ValueNotEmptyError: "A value for `{{property}}` is required at `{{pointer}}`"
} as Record<string, string>;