Skip to content

Commit 441fa3d

Browse files
committed
Better meta-schema, fix typo.
Properly specify the meta-schema, which for some reason was only a description. We don't put descriptions in the meta-schema anymore, but we do put type information. Not sure what happened there.
1 parent 7462c53 commit 441fa3d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

jsonschema-hyperschema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@
535535
<section title="Missing values" anchor="missingValues">
536536
<t>
537537
Sometimes, the appropriate values will not be available. In many
538-
cases, the URI Template behavior of simply removing varibles that
538+
cases, the URI Template behavior of simply removing variables that
539539
do not have a value will be appropriate. An example of this is
540540
optional query parameters, the presence or absence of which does
541541
not change the nature of the link relation type.

links.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
]
2626
},
2727
"hrefRequired": {
28-
"description": "an array of URI template variables names from \"href\" which must be filled out with some value, either from the instance or user input"
28+
"type": "array",
29+
"items": {
30+
"type": "string"
31+
}
2932
},
3033
"rel": {
3134
"type": "string"

0 commit comments

Comments
 (0)