From 31e754b386efc043c4caba6f2116c08f91180253 Mon Sep 17 00:00:00 2001 From: Crt Ahlin Date: Tue, 20 Aug 2019 15:41:45 +0200 Subject: [PATCH 1/4] add some descriptions of functionality --- src/components/CrEditorViewer.js | 33 ++++++++++++++++++++++++-------- src/pages/Home.js | 6 ++++-- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/src/components/CrEditorViewer.js b/src/components/CrEditorViewer.js index af2f20f..f597e48 100644 --- a/src/components/CrEditorViewer.js +++ b/src/components/CrEditorViewer.js @@ -1,7 +1,7 @@ /** * Datafund Consent generator & viewer * Licensed under the MIT license - * Created by Markus Zevnik, Tadej Fius, �rt Ahlin + * Created by Markus Zevnik, Tadej Fius, Črt Ahlin */ import React, {Component} from 'react'; @@ -374,19 +374,25 @@ class CrEditorViewer extends Component { - { + { _this.setState({schemaVisible: !_this.state.schemaVisible}) }}> JSON Schema
+

+ +

JSON Schema defines the structure of the Consent Receipt. Kantara compliant consent receipts must follow a prescribed schema.

+ +

The forms below can be used to view the currently loaded JSON Schema or edit it.