(schema, value, path)
| 758 | } |
| 759 | |
| 760 | _validateV3Required (schema, value, path) { |
| 761 | if (((typeof schema.required !== 'undefined' && schema.required === true) || (typeof schema.required === 'undefined' && this.jsoneditor.options.required_by_default === true)) && (schema.type !== 'info')) { |
| 762 | return [{ |
| 763 | path, |
| 764 | property: 'required', |
| 765 | message: this.translate('error_notset', null, schema) |
| 766 | }] |
| 767 | } |
| 768 | return [] |
| 769 | } |
| 770 | |
| 771 | _validateByValueType (schema, value, path) { |
| 772 | const errors = [] |