Skip to content

Commit 9e1cde2

Browse files
committed
Use relative-json-pointer in links meta-schema
This is more clear than the regular expression, and more accurate.
1 parent 6382a71 commit 9e1cde2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

links.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "string",
1616
"anyOf": [
1717
{ "format": "json-pointer" },
18-
{ "pattern": "^[0-9]" }
18+
{ "format": "relative-json-pointer" }
1919
]
2020
}
2121
},
@@ -35,7 +35,7 @@
3535
"type": "string",
3636
"anyOf": [
3737
{ "format": "json-pointer" },
38-
{ "pattern": "^[0-9]" }
38+
{ "format": "relative-json-pointer" }
3939
]
4040
},
4141
"title": {

0 commit comments

Comments
 (0)