From 185b1d01566f3057236c96385d54c38946f5ae36 Mon Sep 17 00:00:00 2001
From: William Hearn <sylus1984@gmail.com>
Date: Thu, 16 Feb 2017 21:16:58 -0500
Subject: [PATCH] Issue #2850463: Error when saving either
 google_analytics_reports view

---
 config/schema/google_analytics_reports.schema.yml | 82 +++++++++++++++++++++++
 1 file changed, 82 insertions(+)

diff --git a/config/schema/google_analytics_reports.schema.yml b/config/schema/google_analytics_reports.schema.yml
index a14b491..e5f31f1 100644
--- a/config/schema/google_analytics_reports.schema.yml
+++ b/config/schema/google_analytics_reports.schema.yml
@@ -10,3 +10,85 @@ google_analytics_reports.settings:
     metadata_last_time:
       type: string
       label: 'Lat time request for Google Analytics Metadata API'
+
+views.view.google_analytics_summary:
+  type: views_display_default
+  label: 'Default display options'
+  mapping:
+    display_options:
+      type: mapping
+      label: 'Display options'
+      mapping:
+        filters:
+          type: mapping
+          label: 'Filters'
+          mapping:
+            start_date:
+              type: mapping
+              label: 'Start Date'
+              mapping:
+                value:
+                  type: mapping
+                  label: 'Context Value'
+                  mapping:
+                    type:
+                      type: string
+                      label: 'Type'
+                    value:
+                      type: string
+                      label: 'Value'
+            end_date:
+              type: mapping
+              label: 'End Date'
+              mapping:
+                value:
+                  type: mapping
+                  label: 'Context Value'
+                  mapping:
+                    type:
+                      type: string
+                      label: 'Type'
+                    value:
+                      type: string
+                      label: 'Value'
+
+views.view.google_analytics_reports_page:
+  type: views_display
+  label: 'Default display options'
+  mapping:
+    display_options:
+      type: mapping
+      label: 'Display options'
+      mapping:
+        filters:
+          type: mapping
+          label: 'Filters'
+          mapping:
+            start_date:
+              type: mapping
+              label: 'Start Date'
+              mapping:
+                value:
+                  type: mapping
+                  label: 'Context Value'
+                  mapping:
+                    type:
+                      type: string
+                      label: 'Type'
+                    value:
+                      type: string
+                      label: 'Value'
+            end_date:
+              type: mapping
+              label: 'End Date'
+              mapping:
+                value:
+                  type: mapping
+                  label: 'Context Value'
+                  mapping:
+                    type:
+                      type: string
+                      label: 'Type'
+                    value:
+                      type: string
+                      label: 'Value'
-- 
2.5.4 (Apple Git-61)

