Skip to content

Instantly share code, notes, and snippets.

@trevmex
Created December 20, 2012 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trevmex/4345614 to your computer and use it in GitHub Desktop.
Save trevmex/4345614 to your computer and use it in GitHub Desktop.
A proposal for allowing multiple CURIEs in HAL for use in values as well as keys.
{
"_links": {
"self": { "href": "/" },
"curies": [{
"name": "ex",
"href": "http://www.example.com/rels/{rel}",
"templated": true
},
{
"name": "ot",
"href": "http://otherservice.serverfarm.us/blog/{action}",
"templated": true
},
{
"name": "tag",
"href": "#tag:me@example.com,2012-12-20:{tag}",
"templated": true
}],
"ex:postAway": { "href": "ot:posts" },
"ex:commentAway": { "href": "ot:comment" }
},
"ex:someOpaqueResourceIdentifier": "tag:1029384756",
"ex:anotherOpaqueResourceIdentifier": "tag:6574839201"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment