Re: [Specifications] EntryPoint question

> I see. So its expected that there will only ever be one resource in that collection that `manages schema.Events`? I suppose that's the case, since things like "events created by me" and "events I've subscribed to" would be exposed as filters on that collection of events...

A collection with multiple manage blocks would be able to describe that:

```
  "collection": [
    {
      "@id": "/events/createdByMe",
      "@type": "Collection",
      "manages": [{
        "property": "rdf:type",
        "object": "schema:Event"
      }, {
        "property": "createdBy",
        "object": "/people/markus"
      }]
    }, {
      "@id": "/events/IsubscribedTo",
      "@type": "Collection",
      "manages": [{
        "property": "rdf:type",
        "object": "schema:Event"
      }, {
        "subject": "/people/markus"
        "property": "follows",
      }]
    }
```

> What does it look like if the EntryPoint links to something that's not a collection? "Invent a property", like you said?

At the moment, yes. We actually didn't discuss this much so far.


-- 
GitHub Notification of comment by lanthaler
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/155#issuecomment-357764925 using your GitHub account

Received on Monday, 15 January 2018 19:03:47 UTC