Description
Describe the bug
I use version 1.15.0, after upgrade to version 1.16.0 the validation does not working. Downgrade to version 1.15.0 solve the problem.
Steps to Reproduce
Workspace definition of schema file relation:
"settings": {
"json.schemas": [
{
"fileMatch": [
"**/*.loc.json"
],
"url": "./model_structure/def_location.json"
},
{
"fileMatch": [
"**/*.tab.json"
],
"url": "./model_structure/def_table.json"
},
{
"fileMatch": [
"**/*.tran.json"
],
"url": "./model_structure/def_transformaton.json"
}
],
"yaml.schemas": {
"./model_structure/def_location.json" : "**/*.loc.yaml",
"./model_structure/def_transformation.json" : "**/*.tran.yaml"
}
},
Schema definition:
{
"$schema": "https://json-schema.org/draft-07/schema#",
"$id": "def_location.json",
"$comment": "Schema for profile",
"title": "Location",
"description": "Location object in this configuration.",
"type": "object",
"properties": {
"Name": {
"type": "string",
"description": "Name of location."
},
"Type": { "$ref": "./lov/def_location_type.json" },
},
"required": ["Name", "Type" ],
"additionalProperties": false
}
Affected files - any file with name like *.loc.yaml
Environment
- Windows
- Mac
- Linux
- other (please specify)
Metadata
Metadata
Assignees
Type
Projects
Status
✅ Done