- From: Karol Szczepański via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 May 2019 20:03:52 +0000
- To: public-hydra-logs@w3.org
Hmm. I think there is some misunderstanding of the spec. Your second snipped is exactly as the vocab says. Take a look at the raw JSON-LD vocabulary and you'll see that mentioned predicates (`required`, `readable`, and `writable`) are pointing as their domains 'SupportedProperty'. As for the 'supportedOperation' - it points to 'Class' as it's domain and while `SupportedOperation` is of type `Class` you can safely use `supportedOperation` with it. This is exactly to avoid adding unnecessary statements to the property itself. Correct syntax would be: ```json "supportedProperty": [ { "property": { "@id": "schema:events" }, "required": true, "supportedOperation": [ { "@id": "_:some_operation" } ] } ] ``` -- GitHub Notification of comment by alien-mcl Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/196#issuecomment-494537434 using your GitHub account
Received on Tuesday, 21 May 2019 20:04:26 UTC