Skip to content

Commit 8dbddcf

Browse files
Fix: update element reference in children schema and adjust color pattern regex
1 parent 39e5ecb commit 8dbddcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schema/v1/definition.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"children": {
8181
"type": "array",
8282
"items": {
83-
"$ref": "#"
83+
"$ref": "#/$defs/element"
8484
}
8585
}
8686
},
@@ -138,7 +138,7 @@
138138
"anyOf": [
139139
{
140140
"type": "string",
141-
"pattern": "^#[a-zA-Z0-9]+$"
141+
"pattern": "^#[a-zA-Z0-9-]+$"
142142
},
143143
{
144144
"type": "string",

0 commit comments

Comments
 (0)