From dc91bc17269466b0f5e20168fe4d95f635658cbf Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Mon, 13 Jul 2015 00:24:25 -0400
Subject: [PATCH] Added a JSON file demonstrating the API call for creating new
 discoveries.

---
 dist/js/controllers/analyzer.dataModel.js | 2 +-
 dist/js/controllers/analyzer.endpoints.js | 2 +-
 dist/json/newDiscovery.json               | 5 +++++
 3 files changed, 7 insertions(+), 2 deletions(-)
 create mode 100644 dist/json/newDiscovery.json

diff --git a/dist/js/controllers/analyzer.dataModel.js b/dist/js/controllers/analyzer.dataModel.js
index 2f687a7..1de954d 100644
--- a/dist/js/controllers/analyzer.dataModel.js
+++ b/dist/js/controllers/analyzer.dataModel.js
@@ -47,7 +47,7 @@ app.controller('analyzer.dataModel', ['$scope', 'analyzerNav', function ($scope,
             "detailsVisible" : false,
             "type": "discrete",
             "required": true,
-            "states": ["Democrat", "republican", "Libertarian", "Independent", "Other"]
+            "states": ["Democrat", "Republican", "Libertarian", "Independent", "other"]
         },
         {
             "key": "birthYear",
diff --git a/dist/js/controllers/analyzer.endpoints.js b/dist/js/controllers/analyzer.endpoints.js
index ce3c94c..6a48271 100644
--- a/dist/js/controllers/analyzer.endpoints.js
+++ b/dist/js/controllers/analyzer.endpoints.js
@@ -41,7 +41,7 @@ app.controller('analyzer.endpoints', ['$scope', 'analyzerNav', function ($scope,
             "description": "Registered political party affiliation",
             "type": "discrete",
             "required": true,
-            "states": ["Democrat", "republican", "Libertarian", "Independent", "Other"]
+            "states": ["Democrat", "Republican", "Libertarian", "Independent", "other"]
         },
         {
             "key": "birthYear",
diff --git a/dist/json/newDiscovery.json b/dist/json/newDiscovery.json
new file mode 100644
index 0000000..81a1f3a
--- /dev/null
+++ b/dist/json/newDiscovery.json
@@ -0,0 +1,5 @@
+{
+    "filter": "educationMax==(Masters|PhD)&&age>=18",
+    "target": "personalIncome > 10000 && politicalParty == (Republican | Libertarian)",
+    "capacity": 100
+}
-- 
GitLab