SchemaEditorMessages class
Application-owned labels and explanations for the visual schema editor.
Extend this class and override getters or methods with your application's localization methods. The default messages are English; no locale selection or translation dependency is required.
Constructors
- SchemaEditorMessages()
-
Creates the default English messages.
const
Properties
- addDefinition → String
-
The definition creation action.
no setter
- additionalProperties → String
-
The additional property policy selector label.
no setter
- additionalPropertySchema → String
-
The additional property schema heading.
no setter
- addProperty → String
-
The property creation action.
no setter
- allow → String
-
The policy that accepts any additional property.
no setter
- annotations → String
-
The tab for schema metadata, default values, and examples.
no setter
- anyType → String
-
The label for unrestricted schemas.
no setter
- definitionName → String
-
The definition name input label.
no setter
- definitions → String
-
The reusable definition section heading.
no setter
- duplicateName → String
-
Explains that two entries have the same name.
no setter
- forbid → String
-
The policy that rejects additional properties.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidArray → String
-
Explains the array shape required by enum values and examples.
no setter
- invalidCount → String
-
Explains that a nonnegative integral count is required.
no setter
- invalidJson → String
-
Explains that a JSON annotation or value could not be decoded.
no setter
- invalidMultiple → String
-
Explains that a multiple must be positive.
no setter
- invalidNumber → String
-
Explains that a number is required.
no setter
- items → String
-
The array item schema heading.
no setter
- multipleTypes → String
-
The label for imported unions with multiple non-null types.
no setter
- neverType → String
-
The label for schemas that reject every instance.
no setter
- nullable → String
-
The nullable type option label.
no setter
- properties → String
-
The property section heading.
no setter
- propertyName → String
-
The property name input label.
no setter
- referenceHint → String
-
Explains the valid empty URI reference.
no setter
- referenceType → String
-
The label for references.
no setter
- required → String
-
The required property option label.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → String
-
The root section heading.
no setter
- setItems → String
-
The action for assigning an array item schema.
no setter
- settings → String
-
The less frequently used constraints and annotations section heading.
no setter
- type → String
-
The schema type selector label.
no setter
- uniqueItems → String
-
The unique array items option label.
no setter
- useDefinition → String
-
The reusable definition selector label.
no setter
- useSchema → String
-
The policy that validates additional properties against a schema.
no setter
- validation → String
-
The tab for constraints and the additional property policy.
no setter
Methods
-
inputError(
String path, String message) → String - Formats an editor input error with its JSON Pointer.
-
keywordLabel(
String keyword) → String - Labels a keyword configuration field.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String name) → String - Formats the removal tooltip for an entry.
-
schemaError(
Object error) → String - Formats a compilation error without assuming a particular locale.
-
toString(
) → String -
A string representation of this object.
inherited
-
typeLabel(
SchemaType type) → String - Labels an actual JSON Schema type.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited