Skip to content

Commit 2bfc824

Browse files
committed
fix: Allow schema reference in mappings
Without this, VSCode warns that $schema is not allowed.
1 parent 0a9f81d commit 2bfc824

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/timeline-state-resolver-api/$schemas/mapping-schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"description": "This is a meta-schema that defines the schemas for *device*/$schemas/mappings.json",
44
"type": "object",
55
"properties": {
6+
"$schema": {
7+
"description": "The $schema property is the schema that this file adheres to",
8+
"type": "string"
9+
},
610
"default": {
711
"description": "The default mapping to use when creating a new mapping for this device",
812
"type": "string"

0 commit comments

Comments
 (0)