Coder Social home page Coder Social logo

CURIEs and "working links" about hyper HOT 2 OPEN

dret avatar dret commented on June 15, 2024
CURIEs and "working links"

from hyper.

Comments (2)

inadarei avatar inadarei commented on June 15, 2024

Thank you, Erik. Disclaimer: the text of the spec may indeed be misleading, always a possibility, however the intention of the spec is as follows:

  1. Object attributes and link rels (an addition to the genuinely URI fields like in h:link and h:ref, which MUST be URIs) MAY be URIs.
  2. URIs in object attributes and link rels MAY be dereferenceable, but doesn't have to be.
  3. Any URI anywhere in the document MAY be CURIEd
  4. If a URI in attribute names and link rels is dereferenceable it SHOULD point to a resource that provides information about the semantics and proper usage of the corresponding Hyper extension and/or link relation. This, howevers, is not strictly required because the URI may be just establishing the namespace and corresponding semantics and rule can be explained elsewhere, out of band e.g. in a encyclopedia :)
  5. If link is dereferenceable authors of the extensions MAY use content-negotiation to provide information in a variety of formats (e.g. human-friendly HTML and machine-friendly ALPS)
  6. Hyper parsers MUST assume default extension h: -> http://hyperjson.io/props and all items in that vocabulary are linked to by dereferenceable URIs, and those URIs do explain usage rules.

I believe this intent is compliant with your suggestion that there shouldn't be any assumption of URI being dereferenceable.... that said - having a preference of it being dereferenceable and making default extension/CURIE both dereferenceable and self-documenting is not a violation and I think is a positive thing.

from hyper.

dret avatar dret commented on June 15, 2024

from hyper.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.