mikekelly / hal_specification

HAL Specification
http://stateless.co/hal_specification.html
618 stars 58 forks source link

CURIE syntax issue #34

Open dret opened 7 years ago

dret commented 7 years ago

the CURIE spec https://www.w3.org/TR/curie/ says that CURIEs work by concatenating the prefix value and the value from the CURIE. the example from the draft http://docs.acme.com/relations/{rel} (using a URI template-ish syntax) makes it look as if i could embed the value somewhere, potentially not just using concatenation. if the intent is to use CURIEs as defined, i suggest to remove the {ref} part and treat CURIE as specified as a prefix-only mechanism. if the intent is to support something more powerful, then CURIEs are not the right tool for the job.