[Specifications] Documentation with wrong type in examples (#205)

phe-sto has just created a new issue for https://github.com/HydraCG/Specifications:

== Documentation with wrong type in examples ==
EXEMPLE 16 (http://www.hydra-cg.com/spec/latest/core/#example-16-a-hydra-partialcollectionview-splits-a-collection-into-multiple-views)
EXEMPLE 15 (http://www.hydra-cg.com/spec/latest/core/#example-15-referencing-related-resources-using-a-hydra-collection)

For collection count use a number as string.
But the JSON-LD vocabulary specify `totalItems` as an integer:

`    {
      "@id": "hydra:totalItems",
      "@type": "rdf:Property",
      "comment": "The total number of items referenced by a collection.",
      "domain": "hydra:Collection",
      "label": "total items",
      "range": "xsd:integer",
      "status": "testing"
    }`

That is I think an inconsistency. I suppose it should be an integer in the examples.

Best regards

Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/205 using your GitHub account

Received on Thursday, 27 February 2020 19:33:42 UTC