[Specifications] Supported Operations on properties (#196)

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

== Supported Operations on properties ==
It is proplematic to define supported operations on a `hydra:property`, when re-using vocabularies, like on http://schema.org/events below:

```json
"supportedProperty": [
    {
      "property": {
        "@id": "schema:events",
        "supportedOperation": [
          {
            "@id": "_:some_operation"
          }
        ]
      }
    }
  ]
```
This now states that `schema:events` does support `_:some_operation`, which is not true in general but only specific to this API.

It would be better to move anything API specific to the level of `supportedProperty`:

```json
  "supportedProperty": [
    {
      "property": {
        "@id": "schema:events"
      },
      "supportedOperation": [
        {
          "@id": "_:some_operation"
        }
      ]
    }
  ]
```

This is e.g. already the case for `required`, `readable` and `writable`.

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

Received on Tuesday, 21 May 2019 12:06:25 UTC