Skip to content

[json] json.suppress_infile_$schema #254278

Closed
@loynoir

Description

@loynoir

reproduce

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Node",
  "type": "object",
  "properties": {
    "value": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "value"
  ]
}
{
  "$schema": "file:///tmp/temporary-config-reproduce.schema.json",
  "value": "42"
}

error

Property $schema is not allowed.

feat

"json.schema.inject-root-property-schema": true,

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityjsonJSON support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions