Skip to content

Commit 54d22c2

Browse files
committed
Better meta-schema for hrefPointers
Specify the actual object and property types, and drop the description as we no longer keep those in the meta-schema.
1 parent 36ed6a1 commit 54d22c2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

links.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
"format": "uri-template"
1111
},
1212
"hrefPointers": {
13-
"description": "a map of variable names to relative instance JSON Pointers, which adjust the instance location from which template variable resolution begins"
13+
"type": "object",
14+
"additionalProperties": {
15+
"type": "string",
16+
"anyOf": [
17+
{ "format": "json-pointer" },
18+
{ "pattern": "^[0-9]" }
19+
]
20+
}
1421
},
1522
"hrefSchema": {
1623
"allOf": [

0 commit comments

Comments
 (0)