Closed bartvandenende-wm closed 3 weeks ago
bsconfig.schema.json is not (strict) type valid against jsonschema draft-07 target
npm install -g ajv-cli
comile schema with ajv compile -s 'bsconfig.schema.json'
ajv compile -s 'bsconfig.schema.json'
Expected result: no compile errors
Actual result:
schema bsconfig.schema.json is invalid error: strict mode: unknown keyword: "deprecationMessage"
strict mode: missing type "array" for keyword "items" at "bsconfig.schema.json#/properties/files" (strictTypes)
Proposal would be to:
"deprecationMessage"
"type": "array"
Summary
bsconfig.schema.json is not (strict) type valid against jsonschema draft-07 target
Repro steps
npm install -g ajv-cli
comile schema with
ajv compile -s 'bsconfig.schema.json'
Expected result: no compile errors
Actual result:
Details
Proposal would be to:
"deprecationMessage"
attribute from "ignoreErrorCodes""type": "array"
to the "files".