variable representations edited for spec

Dear all,

I have turned the IriTemplate variabel discussion [1][2] into a spec proposal [3].
Your comments are welcome!

While writing this down, I came across 3 potential issues:

1. Should hydra:BasicRepresentation and hydra:ExplicitRepresentation
    have a superclass hydra:VariableRepresentation?
    This would allow to set a specific range
    on the hydra:variableRepresentation property.

2. Currently, hydra:variableRepresentation's domain is hydra:IriTemplate.
    Just to ensure that this is not an oversight, do we want to:
    - Have this only on hydra:IriTemplate?
      Then all variables of the template have the same representation type.
    - Have this only on hydra:IriTemplateMapping?
      Then variables of the template can have different representation types.
    - Allow both of the above.
      Then variables of the template can have different representation types,
      but we can also easily make them all the same.

3. Section 5.2 of the document (“Templated Links”) has now become large.
    I was tempted to subsection this, but that would not be in line
    with the rest of the document's structure.
    Given a rewrite for the entire document is pending, I did not act yet.

Best,

Ruben

[1] https://github.com/HydraCG/Specifications/issues/30
[2] http://lists.w3.org/Archives/Public/public-hydra/2014Oct/0119.html
[3] https://github.com/HydraCG/Specifications/pull/79

Received on Monday, 22 December 2014 19:47:06 UTC