Optional Readonly allowOptional Readonly commentsThe severity of reported comments. If not set, 'DiagnosticsOptions.allowComments' defines whether comments are ignored or reported as errors.
Optional Readonly enableIf set, the schema service would load schema content on-demand with 'fetch' if available
Optional Readonly schemaThe severity of problems that occurred when resolving and loading schemas. If set to 'ignore', schema resolving problems are not reported. If not set, 'warning' is used.
Optional Readonly schemaThe severity of problems from schema validation. If set to 'ignore', schema validation will be skipped. If not set, 'warning' is used.
Optional Readonly schemasA list of known schemas and/or associations of schemas to file names.
Optional Readonly fileA list of glob patterns that describe for which file URIs the JSON schema will be used. '' and '**' wildcards are supported. Exclusion patterns start with '!'. For example '.schema.json', 'package.json', '!foo*.schema.json', 'foo/**/BADRESP.json'. A match succeeds when there is at least one pattern matching and last matching pattern does not start with '!'.
Optional Readonly schema?: anyThe schema for the given URI.
Readonly uri: stringThe URI of the schema, which is also the identifier of the schema.
Optional Readonly trailingThe severity of reported trailing commas. If not set, trailing commas will be reported as errors.
Optional Readonly validateIf set, the validator will be enabled and perform syntax and schema based validation,
unless DiagnosticsOptions.schemaValidation is set to ignore.
If set, comments are tolerated. If set to false, syntax errors will be emitted for comments.
DiagnosticsOptions.allowCommentswill override this setting.