diff --git a/jsonschema-hyperschema.xml b/jsonschema-hyperschema.xml index dbfb826f..9b4f6eba 100644 --- a/jsonschema-hyperschema.xml +++ b/jsonschema-hyperschema.xml @@ -463,6 +463,15 @@ unresolved MUST be resolved from the resource instance data. + + If a URI Template variable corresponds to both an instance value + and a schema for external data, an application MAY choose to + present the instance value to the user as a default value. + This will ensure that, if the user takes no action to change + the value, the effect of resolving from the client or instace + data will be the same. + +
When any value referenced by the URI template is null, a boolean or a number, then it should first be converted into a string as follows: @@ -576,6 +585,12 @@ }] }]]> + + Note that this example is identical to a server pre-computing + the path component of the URI (with "{id}") while the query + string component is handled by client input as with an HTML + "method"="get" form. +