json-schema-org / json-hyperschema-spec

A *future* location for the JSON Hyper-Schema I-D sources.
14 stars 4 forks source link

9.4 Example - anchor and href to be swapped? #13

Open hrennau opened 4 years ago

hrennau commented 4 years ago

In 9.4 Example, the example code says ..

"anchor": "nodes/{thisNodeId}", "rel": "up", "href": "nodes/{childId}",

It seems to me it should be the other way around - when the relation is "up", the context (anchor) should be under the target (href) - the context should be the childIds array item, the target should be this object's id.