Security Vocabulary naming mis-match

As I was perusing and attempting implementation of the Security Vocabulary
draft, I ran into an issue with the "data" property of an
"EncryptedMessage" class:

https://web-payments.org/specs/source/vocabs/security.html#data

The draft document indicates "data" should be the property to hold an
EncryptedMessage's encrypted payload, while "cipherAlgorithm" holds the
name of the encryption used. However, the JSON-LD context document hosted
at https://w3id.org/security/v1 has no "data" element, though it has a
"cipherData" element that seems to fit the naming scheme alongside
"cipherAlgorithm".

One of the two should probably be updated, since putting the example cited
in the draft document under the "data" property into the JSON-LD playground
(http://tinyurl.com/p2gdacw) skips over the "data" element as unrecognized.

Brooks

Received on Thursday, 23 April 2015 07:50:55 UTC