From 456eb919b0dd5fd7e15b279dd4b8cadf1d046973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabio=20Jos=C3=A9?= Date: Sat, 2 Nov 2019 07:04:54 -0300 Subject: [PATCH] Constants for spec 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabio José --- lib/bindings/http/constants.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/bindings/http/constants.js b/lib/bindings/http/constants.js index 626889d..c4d312f 100644 --- a/lib/bindings/http/constants.js +++ b/lib/bindings/http/constants.js @@ -75,5 +75,17 @@ module.exports = { DATA_SCHEMA : "ce-dataschema", SUBJECT : "ce-subject", EXTENSIONS_PREFIX : "ce-" + }, + STRUCTURED_ATTRS_1 : { + TYPE : "type", + SPEC_VERSION : "specversion", + SOURCE : "source", + ID : "id", + TIME : "time", + DATA_SCHEMA : "dataschema", + CONTENT_TYPE : "datacontenttype", + SUBJECT : "subject", + DATA : "data", + DATA_BASE64 : "data_base64" } };