diff --git a/jsonschema-hyperschema.xml b/jsonschema-hyperschema.xml index 086e7bae..3314b2d3 100644 --- a/jsonschema-hyperschema.xml +++ b/jsonschema-hyperschema.xml @@ -147,6 +147,36 @@ other link serializations or representation formats at runtime, or pre-emptively follow links to facilitate server push usage. +
+ + Here is an example hyper-schema that adds a single link, with the + IANA-registered link relation type "self", that is built from an instance + with one known object field named "id": + + + + + + If the instance is {"id": 1234}, and its base URI according to + RFC 3986 section 5.1, is + "https://api.example.com/", then "https://api.example.com/thing/1234" + is the resulting link's target URI. + +