Re: [poe] use of @value for action constraints

> i think all we need to do is updated:
`"@value": "print",`
`"@value": { "@id": "print" },`

I'm no JSON-LD expert myself, but according to

> A value object MUST be a JSON object containing the @value key. It MAY also contain an @type, an @language, an @index, or an @context key but MUST NOT contain both an @type and an @language key at the same time. **A value object MUST NOT contain any other keys that expand to an absolute IRI or keyword.**
> **The value associated with the @value key MUST be either a string, a number, true, false or null.**

as such, `rdf:value` can't be mapped to `@value`

=> `"rdf:value": { "@id": "print" },` should work though

GitHub Notification of comment by simonstey
Please view or discuss this issue at using your GitHub account

Received on Tuesday, 5 September 2017 05:28:59 UTC